{"id":114170,"plugin_id":"plugin_asdk_app_6ace7d8976cc8191a26cfc05c6427a57","kind":"skill","collection_source":"plugin_package","comparison_source":null,"observed_at":"2026-11-25T00:20:30.073Z","digest":"6ebc1fb00d40d8027645d3a15a5cb63892627c8a4ebcfbf11f68b07218d5075b","against":null,"payload":{"description":"This skill should be used when the user says \"save this\", \"save to <team>\", \"save it to SageOx\", \"keep this decision\", or when a conversation settles a decision worth keeping. Saves a distilled Session (or a single kept decision) into the team's SageOx context.","included_files":[],"name":"save-session","skill_md_contents":"---\nname: save-session\ndescription: This skill should be used when the user says \"save this\", \"save to <team>\", \"save it to SageOx\", \"keep this decision\", or when a conversation settles a decision worth keeping. Saves a distilled Session (or a single kept decision) into the team's SageOx context.\nargument-hint: \"[team] [what to keep]\"\n---\n\n# Save Session to SageOx\n\n## Decide the mode\n\n- **A single decision just reached** in a conversation that `CaptureTurns` is saving → call `SaveSessionSummary` with `mode=keep`, `decision` (≤280 chars, in the user's words), optional `because`, and the `conversation_id`. Do this right away without asking; the card offers Undo.\n- **Anything else** → summary mode (below). Confirm the content with the user before saving — do not auto-summarize.\n\n## Summary mode\n\n1. Confirm the team. If not already confirmed in this conversation, call `ListTeams` and ask. Show team names verbatim; never rank or caption them.\n2. Confirm what to keep: a distilled summary, specific outputs verbatim (a document, code, a diagram), or both.\n3. Write `content` so a teammate can skim it in 30 seconds:\n   - **Key moments** — 4–8 bullets: pivots, realizations, turning points\n   - **Decisions** — what was concluded\n   - **Open Questions** — what's unresolved\n   - **Action Items** — owner + date\n   - Any outputs the user asked to keep, verbatim — not a description of them.\n4. Call `SaveSessionSummary` with `team_slug`, `title`, a two-level `path` derived from the work itself (e.g. `marketing/web`), up to three `tags`, a fresh `idempotency_key`, and `conversation_id` if `CaptureTurns` minted one.\n5. Return the session link to the user in one line.\n\n## Rules\n\n- Never split a long transcript across multiple calls. If the user wants the full raw transcript, use `detail=full` or `detail=both` and let them attach it through the returned upload flow.\n- When re-saving changed content, pass the earlier `ses_` id as `supersedes` instead of leaving a stale duplicate.\n- To reverse a kept decision, call `SaveSessionSummary` with `mode=undo` and the session id.\n- After a conversation settles something, offer to save it — users rarely think to ask.\n"},"changes":[],"summary":"First saved snapshot. No earlier version is available for comparison.","summary_kind":"deterministic","summary_metadata":{}}