session-flow
v0.49.1Session lifecycle: workflow (next stage), handoff (save-point, resume prompt), continue-in-background, keep-going (resume after interruption or stall), find-handoff (recover a lost handoff), clean-stop (durable stopping point), retro and running-retro (retrospectives), audit-sessions, orient (where the session stands), orchestrate (delegation imperatives), reanchor (verify assumptions), reconcile (retire finished work), show-options (ranked skill menu), tidy-work (.work tiers), check, setup.
By Melodic SoftwareLicense: MIT21 GitHub starsUpdated 2 months ago
Directory evidence
- Runtimes
- Claude Code
- Parsed components
- 17 skill or MCP entries
- Source updated
- Oct 4, 2026
- Manifest status
- Canonical path parsed
The directory validates manifest shape and source location. It does not execute the plugin or provide a security endorsement. Review the indexing methodology →
Install session-flow for Claude Code
claude plugin marketplace add IchenDEV/agent-plugin-mkt
claude plugin marketplace update agent-plugin-marketplace
claude plugin install session-flow@agent-plugin-marketplacePaste and run these commands in a terminal with Claude Code. They add and refresh the PluginsMP catalog, then install this plugin.
The installer fetches third-party code from the source repository shown on this page. This directory validates manifest structure and source location, but does not perform a security audit; review the manifest, components, and source before installing.
Get the source manually
git clone https://github.com/melodic-software/claude-code-pluginsClone the source repository, then follow its setup instructions to add the plugin to a compatible client. The plugin root is plugins/session-flow/.
Plugin files
├── .claude-plugin/plugin.json├── skills/audit-sessions/SKILL.md├── skills/check/SKILL.md├── skills/clean-stop/SKILL.md├── skills/continue-in-background/SKILL.md├── skills/find-handoff/SKILL.md├── skills/handoff/SKILL.md├── skills/keep-going/SKILL.md├── skills/orchestrate/SKILL.md├── skills/orient/SKILL.md├── skills/reanchor/SKILL.md├── skills/reconcile/SKILL.md├── skills/retro/SKILL.md├── skills/running-retro/SKILL.md├── skills/setup/SKILL.md├── skills/show-options/SKILL.md├── skills/tidy-work/SKILL.md└── skills/workflow/SKILL.md
Included Skills17
Audit your own Claude Code sessions for wasted time, tokens and corrections: collect every transcript on this machine into a durable local store, then sweep it for sessions over this machine's own thresholds, with each finding routed to the skill that fixes it. Use when: 'audit my sessions', 'where is my time going', 'which sessions burned the most tokens', 'why am I correcting Claude so often', 'session efficiency', 'sweep my transcripts', 'am I getting faster'. Skip: one session's retrospective is /session-flow:retro; ranked improvements across code and config are /improvement:find; which skill to run next is /session-flow:show-options.
Read-only check that node and jq resolve for the session-flow observer hook. Use when the observer does not arm at session start, or before assuming it did. Does not install.
Reach a clean stopping point before the machine may go away: sweep every repo and worktree touched for uncommitted, unpushed, or PR-less work, push it, record follow-ups in PR and issue bodies, prune only the provably safe, and give a free-and-clear verdict. Use when: 'clean stop', 'get to a clean stopping point', 'safe to shut down', 'wrap up before I lose this machine', 'make everything durable', 'stopping for the day', 'is anything stranded', 'leave it clean'. Gates destructive cleanup.
Delegate the task to a fresh background agent that continues it NOW. Produce a save-point, then launch a detached claude --bg session seeded with the resume prompt. Use when: 'continue in the background', 'continue this in the background', 'keep working in the background', 'delegate to a background agent', or the user is going AFK and explicitly wants the work to keep moving. Launches only on the user's explicit request, never self-elected.
Recover a lost handoff after `/clear`: find the save-point file or resume prompt. Read-only: checks `MEMORY_DIR/handoffs/`, then a bounded scan of recent transcripts, then confirms before resuming. Use when: 'find my handoff', 'recover the handoff', 'I lost the resume prompt', 'forgot to copy the resume prompt', 'I cleared without saving the prompt', 'where's my handoff', 'recover after /clear', 'get back the handoff'. A session that ended mid-work goes to /session-flow:keep-going.
Write a mid-session save-point for /clear-and-resume: a durable handoff file (default) or a copy-paste resume prompt. Use when: 'handoff', 'save state', 'checkpoint this', 'pause', 'come back later', the session is heavy, a context-measuring mechanism says to fork, or responses are visibly drifting or looping. Never on an estimate of the remaining window. To delegate the continuation to a background agent, use /session-flow:continue-in-background.
Recover and continue after an interruption, rate limit, crash, or gap, or check on off-thread work that looks stalled: inspect its real output, act on evidence (resume, rerun, kill-and-restart), then continue the main task. Use when: asked to keep going, continue, or resume; 'what were you doing'; 'check the monitor', 'is it stuck', 'stop staring at it'. Gates killing or re-firing side-effectful work. To retire finished work and reconcile the ledger instead, use /session-flow:reconcile.
Arm the current session for an orchestration-heavy task with seven standing imperatives (delegate and fan out, spec every spawn, fresh-context verify, run workers well, nested subagents, surface drift, calibrate to conditions); optionally export them as a brief for a worker. Use when: 'orchestrate', 'orchestration brief', 'prime this session', 'arm for orchestration', 'about to do heavy delegation', 'worker spawn prompt', 'delegation preamble'.
Read-only orientation from durable state: where the session stands and why, from ledgers, handoff save-points, workflow checklists, running-retro ledgers, open PRs and work items, and git, which the built-in /recap never sees. Use when: 'where were we', 'catch me up', 'orient me', 'get my bearings', 'what's the state', 'brief me', 'situation report', 'where do we stand', 'lay of the land'. Writes nothing; freshness checks, recovery, and the next stage belong to sibling skills.
Verify a session's working assumptions still hold: PRs, issues and branches a handoff or plan cites, base-branch drift, renamed or drifted skills and plugins, memory files whose subjects landed. Reports drift on facts, not rules; does not resume. Use when: 'reanchor', 're-anchor', 'is this still current', 'verify my assumptions', 'has main moved since', 'are these premises still valid', 'is the handoff stale', 'resuming an old plan', 'check freshness'. To resume, use /session-flow:keep-going.
Retire finished off-thread work and reconcile the task ledger: inspect each spawned item's real state, close items proven done, report siblings read-only. Gates killing running work. Use when: 'reconcile the session', 'retire finished work', 'square up the task ledger', 'is anything still running that should be retired', 'close out finished tasks', 'prune done work', 'reconcile the ledger'. Stuck is /session-flow:keep-going; status is /session-flow:orient; shutdown is /session-flow:clean-stop.
Run a structured session retrospective: extract transcript metrics, assess quality across five dimensions, check feedback-memory regressions, and codify learnings durably. Use when: 'retro', 'retrospective', 'what did we learn', 'how did I do', 'codify learnings', 'show trends', or at end of session; modes: session (default), codify, trends, quick.
Take a mid-session retro checkpoint: a subagent files findings from the transcript so far into a running ledger, routed, never applied; `arm` runs it after the session ends. Use when: 'running retro', 'live retro', 'in-flight retro', 'checkpoint this session', 'how is this session going', 'observe the session so far', 'arm the observer', 'watch this session in the background', 'observe this session after it ends', or on a /loop interval. Scoring and codifying are /session-flow:retro.
Verify the session-flow observer's runtime prerequisites and configuration for this machine. Use when: 'set up session-flow', 'configure the observer', 'is the observer working', the SessionStart observer isn't arming, or the observer hook reported a missing prerequisite. Check-only: verifies, reports, and offers each remediation; installs nothing and there is nothing setup may write here. Re-runnable and safe; only the observer substrate has prerequisites, the other skills are zero-config.
Lay out which skills fit this moment as a ranked menu that hides nothing: Now, Next, Skipped upstream, Later, and a rotating Spotlight, drawn from the full installed catalog, not the truncated in-context listing. Use when: 'what should I run next', 'what are my options', 'what am I forgetting', 'which skill fits here', 'what else could I run', 'show me my options', 'what skills apply now'. Not the one-next-stage router (/session-flow:workflow) or a situation report (/session-flow:orient).
Inventory and tidy the gitignored `.work` memory tiers (the repo's memory root and `~/.work`): report what is stale and what is in flight, normalize misplaced handoffs and retros, and remove stale known items behind one confirmation. Opt-in only; nothing runs unless invoked. Use when: 'tidy .work', 'clean up .work', 'what is piling up in .work', 'prune old handoffs', 'clear stale save-points', 'normalize my memory folder'. Handing off is /session-flow:handoff; making work durable before shutdown is /session-flow:clean-stop.
Navigate a staged workflow (explore, research, design, plan, implement, test, review, verify, retro): suggest the next stage and route the end-of-phase continuation (continue, clear, handoff, background, clean-stop, compact). Use when: 'workflow', 'what step am I on', 'what comes next', 'pre-pr sequence', 'wrap up', 'how should I continue', 'clear or compact', at session start or a phase boundary, or when the next step is unclear. For a ranked menu of every fitting skill, use /session-flow:show-options.
Plugin manifests1
{
"name": "session-flow",
"version": "0.49.1",
"description": "Session lifecycle: workflow (next stage), handoff (save-point, resume prompt), continue-in-background, keep-going (resume after interruption or stall), find-handoff (recover a lost handoff), clean-stop (durable stopping point), retro and running-retro (retrospectives), audit-sessions, orient (where the session stands), orchestrate (delegation imperatives), reanchor (verify assumptions), reconcile (retire finished work), show-options (ranked skill menu), tidy-work (.work tiers), check, setup.",
"author": {
"name": "Melodic Software",
"email": "[email protected]"
},
"license": "MIT",
"keywords": [
"workflow",
"handoff",
"background",
"delegation",
"keep-going",
"find-handoff",
"clean-stop",
"resume",
"recover",
"durable",
"retrospective",
"session",
"checkpoint",
"orchestration",
"reanchor",
"freshness",
"orient",
"orientation",
"reconcile",
"retire",
"observer",
"hook",
"skill"
],
"userConfig": {
"observer_enabled": {
"type": "boolean",
"title": "Observer auto-arm at session start",
"description": "Arms the detached running-retro observer at SessionStart for every real interactive session. Off by default, so installing session-flow changes nothing until you turn it on. The manual /session-flow:running-retro arm action works either way.",
"default": false
},
"observer_analysis_enabled": {
"type": "boolean",
"title": "Observer post-session analysis",
"description": "When the armed observer sees the session end (transcript idle), runs a headless running-retro checkpoint and writes its findings to the running-retro ledger. On by default. Off, the observer only distills observations and keeps them under its plugin work dir for manual inspection.",
"default": true
},
"observer_analysis_model": {
"type": "string",
"title": "Observer analysis model",
"description": "Model ID for the headless post-session analysis run, the dominant cost lever. The default, claude-haiku-4-5, is the cheapest active tier; pin a different ID to trade cost for depth.",
"default": "claude-haiku-4-5"
},
"observer_analysis_bare": {
"type": "boolean",
"title": "Bare mode for the analysis run",
"description": "Passes --bare to the analysis run, dropping auto-discovery as a further cost lever. Off by default because --bare fails on OAuth-login installs (the run reports Not logged in); turn it on only where auth is an env-var API key. See reference/observer.md.",
"default": false
},
"observer_idle_seconds": {
"type": "number",
"title": "Observer idle end threshold (seconds)",
"description": "How long the transcript must stop growing before the observer treats the session as ended; default 900. Keep it above the longest single turn (large fan-outs, long builds), or a mid-turn pause is misread as the end and analysis runs on a partial transcript.",
"default": 900
},
"observer_poll_seconds": {
"type": "number",
"title": "Observer poll interval (seconds)",
"description": "How often the observer re-reads the transcript to distill new observations and re-check the idle threshold; default 5, minimum 1. Lower detects the end sooner at the cost of more wakeups; raise it on a busy machine. The idle threshold, not this, decides when the session is over.",
"default": 5,
"min": 1
},
"observer_max_seconds": {
"type": "number",
"title": "Observer lifetime cap (seconds)",
"description": "Absolute cap on observer lifetime; default 86400 (24 hours). Reaching it exits without running analysis: it is a safety valve, not an end signal. The idle threshold is the intended terminator.",
"default": 86400
},
"audit_sessions_retention_days": {
"type": "number",
"title": "Session store retention (days)",
"description": "How long audit-sessions keeps a session's record in its local store after the session ended; default 180. 0 keeps every record. Collect drops older records and never ingests a session already past the window.",
"default": 180,
"min": 0
},
"audit_sessions_excerpt_chars": {
"type": "number",
"title": "Turn excerpt length (characters)",
"description": "Longest redacted excerpt of a short typed turn that audit-sessions stores; default 240, maximum 600. 0 stores no excerpt text at all. Redaction always runs first and cannot be turned off.",
"default": 240,
"min": 0,
"max": 600
},
"audit_sessions_excerpt_words": {
"type": "number",
"title": "Short turn limit (words)",
"description": "A typed turn of this many words or fewer, right after a Claude reply, is flagged and excerpted by audit-sessions; default 60. These are the turns most likely to be corrections.",
"default": 60,
"min": 1,
"max": 200
},
"audit_sessions_drift_min_count": {
"type": "number",
"title": "Drift key minimum count",
"description": "How often a transcript key must appear in a Claude Code version before audit-sessions' drift check reports it as new or vanished; default 20. Raise it if rare keys clutter the drift section.",
"default": 20,
"min": 1
},
"audit_sessions_drift_versions": {
"type": "number",
"title": "Drift vanish window (versions)",
"description": "How many of the newest Claude Code versions a key must be absent from before audit-sessions' drift check reports it vanished; default 3, maximum 20.",
"default": 3,
"min": 1,
"max": 20
}
}
}For maintainers
If you maintain this plugin, link to this source-backed listing from your README so users can review its manifest and indexed components.
[session-flow on Agent Plugins Marketplace](https://pluginsmp.com/plugins/session-flow)