Skip to content

About

Session lifecycle for Claude Code — 10 plugins covering handoff, pickup, absorb, explore, close, maintain, grab, todo, share-prompt, meet. Make multi-session work resumable; make context survive context-clear; make new sessions start where the last one ended.

Topics

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

LibreSessionFlow Claude Code

LibreSessionFlow Claude Code

Session lifecycle for Claude Code — 10 plugins making multi-session work resumable, context survive context-clear, new sessions start where the last one ended

Stars License Session Lifecycle Claude Code


Skills, agents, commands, and workflows for session lifecycle in Claude Code.

Sessions end. Context clears. You switch machines. You sleep. The next session starts fresh, and unless you've captured state somewhere, the model has no memory of yesterday's decisions, false leads, half-finished work.

LibreSessionFlow packages the discipline of session continuity into 10 plugins. Make multi-session work resumable. Make context survive context-clear. Make new sessions start where the last one ended.


The session lifecycle

START → /pickup → work → /handoff → END
   ↑                                  ↓
   └──── HANDOFF.md persists state ───┘

Five-stage cycle, instrumented:

Stage Plugin Purpose
Entry /pickup Read HANDOFF.md, restore context, verify "done" is still done
Work /explore, /grab, /todo, /share-prompt, /meet Tools used during the session
Mid-session /maintain Environment hygiene, MCP health
Exit /handoff, /close Capture state, write the handoff, end the ritual
Post-session /absorb Distill what was learned into persistent memory

The 10 plugins

Cycle entry + exit (the core)

Plugin Command What it does
handoff ⭐ /handoff Write HANDOFF.md at session end. Captures what's done, what's not, key context not visible in the diff, verify commands. The discipline behind making work resumable.
pickup /pickup Read HANDOFF.md at session start. Verify "done" is still done. Restore context before doing anything else. The companion ritual to handoff.
close /close End-of-session ritual: update memory, write summary, notify next-self via WhatsApp/Slack/email, exit cleanly.

Mid-session tools

Plugin Command What it does
explore /explore Token-optimized AST-based code search. Map a codebase structure without burning context on full-file reads. 4-8× cheaper than naive grep+read.
grab /grab Pull the latest shell command, URL, or AI-generated text into the system clipboard. Cuts the copy-from-terminal-to-elsewhere step.
todo /todo Quick-capture a TODO into the current project's TODO.md without breaking the active flow.
share-prompt /share-prompt Send a prompt to a coworker in real-time, wrapped for paste-and-go into their own Claude Code session.
meet /meet Ingest a new collaborator, client, or unknown name into persistent context. Web research + GitHub recon + memory file write.

Post-session integration

Plugin Command What it does
absorb /absorb Distill what the session taught into persistent memory. Promotes ephemeral session learning to durable cross-session knowledge.
maintain /maintain Environment hygiene: MCP health checks, sync-conflict detection, tool-usage analysis, periodic skill audit.

⭐ = the flagship plugin. Since 1.0.0 every plugin ships a working slash command and skill (10 commands, 10 skills, 1 agent, 3 helper scripts); before that, nine of them were README-only.


Quick start

Install from Claude Code

/plugin marketplace add HermeticOrmus/LibreSessionFlow-Claude-Code
/plugin install handoff@libre-sessionflow
/plugin install pickup@libre-sessionflow

Install any of the ten the same way (absorb, close, explore, grab, handoff, maintain, meet, pickup, share-prompt, todo). From a terminal, the equivalent is:

claude plugin marketplace add HermeticOrmus/LibreSessionFlow-Claude-Code
claude plugin install handoff@libre-sessionflow

Or clone the repo and let setup.sh register the marketplace and install every plugin (./setup.sh --list shows them, ./setup.sh --only handoff,pickup installs a subset, ./setup.sh --uninstall removes them). This pack has no hooks plugin: nothing runs unless you invoke it.

Install in Grok Build

Grok Build reads the same plugin folders. Add the marketplace, then install any of the ten by name:

grok plugin marketplace add HermeticOrmus/LibreSessionFlow-Claude-Code
grok plugin install handoff@LibreSessionFlow-Claude-Code --trust
grok plugin install pickup@LibreSessionFlow-Claude-Code --trust

Grok asks you to trust a plugin before it installs it; --trust is that answer. To install one plugin straight from its folder, without the marketplace:

grok plugin install HermeticOrmus/LibreSessionFlow-Claude-Code#plugins/handoff --trust

From a clone, ./setup.sh --grok installs all ten into Grok Build, with the same --only, --list, and --uninstall options. Two limits are known and tracked in LEDGER.md: nine of the ten commands read their skill through ${CLAUDE_PLUGIN_ROOT}, which Grok Build documents for hooks only, so those commands have not been verified in a live Grok session yet; and grab and maintain read Claude Code's own transcripts and settings, so under Grok Build they see Claude Code's sessions, not Grok's.

From a clone

git clone https://github.com/HermeticOrmus/LibreSessionFlow-Claude-Code.git ~/projects/LibreSessionFlow-Claude-Code
cd ~/projects/LibreSessionFlow-Claude-Code
./setup.sh

Restart Claude Code. Then at the end of your next session:

/handoff

That writes HANDOFF.md. Open a new session tomorrow:

/pickup

It reads HANDOFF.md and restores context. See QUICK_START.md for the full first-week walkthrough.

Settings (optional)

Everything works with no setup. To change where memory, handoff indexes, and session summaries go, where /close sends its summary, or who /share-prompt can reach, copy sessionflow.example.json to ~/.claude/sessionflow.json and keep only the keys you need. Environment variables (SESSIONFLOW_HOME, SESSIONFLOW_MEMORY_DIR, SESSIONFLOW_NOTIFY_CMD, SESSIONFLOW_CONFIG) override the file. The file stays on your machine.


Learning paths

  • Beginner — your first handoff + pickup cycle
  • Intermediate — multi-machine, multi-day sessions; absorb learning patterns
  • Advanced — team handoffs, async collaboration, multi-project session juggling

Why this exists

I started instrumenting my Claude Code sessions because I kept hitting the same wall: a great session ends, I open a new one a day later, the new model has no idea what we did or why. I'd waste 20 minutes re-establishing context, sometimes re-discovering things I'd already learned.

The fix wasn't a tool. It was a discipline:

  • At session end, write what's done, what's not, what's tricky.
  • At session start, read that, verify, then continue.
  • Periodically, promote session learnings to persistent memory.

This repo packages that discipline as Claude Code skills + the auxiliary tools (clipboard grabbing, AST exploration, meet-a-new-person) that make the discipline feel natural rather than overhead.

It supersedes a small family of single-purpose ormus-* repos that had this functionality scattered across multiple zero-star projects.


Companion: session-handoff-skills (mini-repo)

The discipline as a single CLAUDE.md drop-in: session-handoff-skills. Use that if you want the rules without the full plugin bundle. Use LibreSessionFlow if you want the working tools.


Compatibility

  • Claude Code: 2.1 or later (plugin marketplaces; tested on 2.1.285)
  • Cursor: skill subset works via .cursor/rules/
  • OS: Linux + macOS (Windows via WSL2 should work but untested)

Feedback

Starred this? Tell us what worked and what is missing: open a feedback issue. Every piece of feedback gets an answer, and changes that come from it are credited in the release notes.

Contribute

Contributing

PRs welcome — especially: more handoff templates for specific scenarios, examples of pickup flows for multi-machine work, integration with team chat tools beyond what's covered.

See CONTRIBUTING.md.

License

MIT © 2026 Diego Bodart — see LICENSE. Built under the Gold Hat principle.


Part of the Libre Open-Source Stack for Claude Code

This repository is part of a growing family of open-source toolkits for Claude Code.

Libre suite — comprehensive plugin bundles

Skills mini-repos — single CLAUDE.md drop-ins

Template source

Star the family, not just one — that's how the suite stays coherent.

About

Session lifecycle for Claude Code — 10 plugins covering handoff, pickup, absorb, explore, close, maintain, grab, todo, share-prompt, meet. Make multi-session work resumable; make context survive context-clear; make new sessions start where the last one ended.

Topics

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages