catalyst
AGENTS.md0 starsChanged 3 months agoMITView on GitHub
Catalyst gives a long-running coding session a typed handoff brief that survives compaction and session boundaries, plus two lifecycle hooks that write and re-render it. This file is the host-agnostic summary; the skills carry the detail. Hosts without these events (or without hooks) still get the skills; invoke handoff by name. Python 3 for the handoff scripts (scripts/handoff-*.py, standard library only). jq for the hooks. Source and per-host install: https://github.com/adrijshikhar/catalyst
The file
Files
Catalyst — agent instructions
Catalyst gives a long-running coding session a typed handoff brief that survives compaction and session boundaries, plus two lifecycle hooks that write and re-render it. This file is the host-agnostic summary; the skills carry the detail.
Skills
handoff— WRITE a schema-validated checkpoint (.catalyst/handoffs/<branch>.jsonin the main worktree), READ it back, REGROUND mid-session, RECOVER a degraded brief, or BRIEF a native subagent/external agent. External tasks default to.catalyst/tasks/files with short launch/return prompts; inline requires an explicit request. Initialize storage withscripts/handoff_paths.py --init(--tasksfor tasks), which ensures.catalyst/is in the working repository's.gitignorebefore writing. Legacy.claude/handoffs/remains readable. Invoke when ending a session, before compaction, switching context, or delegating a task.hooks— status and authoring for the two hooks below.
Hooks (where the host runs them)
PreCompact→ prompt a handoff WRITE before context is summarized.SessionStart→ render the brief back onclear/compact; announce it onstartup/resume.
Hosts without these events (or without hooks) still get the skills; invoke handoff by name.
Requirements
Python 3 for the handoff scripts (scripts/handoff-*.py, standard library only). jq for the hooks.
Source and per-host install: https://github.com/adrijshikhar/catalyst
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

