Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By TheColliery Verified Orgv2.8.16Apache-2.0In 1 marketplace
CoalHearth — session warm-resume + handover journal. Journals session state continuously so a limit-hit or crash can resume from a handoff prompt instead of a manual rebuild. Honest frame: reduces limit-hit damage, does not prevent or guarantee against it. Zero-dependency, offline by default, no API keys.
You run one by typing its /name in Claude Code.
— files in this plugin's directory are added to the Bash tool's PATH while the plugin is enabled.
2 cautions to review before installing
A hook runs when Claude uses the Bash tool
A hook runs when Claude writes or edits files
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
session-memory, warm-resume, handoff-journal, handoff, recovery, skills, hooks
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
bin/CoalHearth is a session warm-resume and handover journal for Claude Code. It records the state of your session as you work, so that when a session is cut off by a usage limit or a crash, the next session can start from a recovery block instead of a manual rebuild. It reduces the damage of a limit-hit. It does not prevent a limit-hit, and it does not guarantee recovery: the recovery block always tells the next session to verify its contents against git, because the journal can be stale or half-applied. It adds to what Claude Code already keeps (the session transcript and --resume) for two narrow cases: state captured before a compaction overwrites it, and the status of a subagent call that resolved. A subagent that died without resolving leaves no record. It is zero-dependency, makes no network calls, and needs no API key.
claude plugin marketplace add TheColliery/CoalHearth
claude plugin install coalhearth@coalhearth
A folder without a .git directory needs a project marker before the journal is written: run git init, or create a file .coalhearth.json containing {} at the project root. The journal is written only in a folder with that marker. The {} file is the deprecated root config, so the session start prints a legacy-path notice for it.
hooks/hooks.json wires three events. Each runs one node script in the exec form, with the script path in args. None of the three sets a matcher or a timeout, so each fires on every occurrence of its event. Every hook is fail-silent: it swallows its own errors and exits 0.
| Event | Script | What it does |
|---|---|---|
| SessionStart | bin/session-start.js | Reads the journal. If the previous session was left in progress, it prints the recovery block on the session-start context channel and marks the journal resumed, so the same block is not repeated on every start. It also prints a one-line update nudge when a check is due, and removes an older update stamp left by an earlier version. |
| PostToolUse | bin/post-tool-use.js | Adds the step it observes to the journal: the goal and checklist when it can read them, the names of files touched by Write, Edit, MultiEdit and NotebookEdit, and the spawn and status of a subagent call (Agent, Task, Workflow). It writes the journal and prints nothing. |
| UserPromptSubmit | bin/user-prompt-submit.js | Reads the journal. When a subagent's call has resolved since the last prompt and that status has not been shown, it prints one note with the subagent's description, its self-reported status and a 300-character outcome snippet, then marks it shown. Most prompts print nothing. |
The Antigravity adapters ship in the same folder, wired by the root hooks.json: bin/ag-pre-invocation.js runs the resume on the first PreInvocation, and bin/ag-post-tool-use.js journals each PostToolUse.
What the hooks read. The project's journal, the CoalHearth config, and the project's task.md and AGENTS.md (size-bounded).
What the hooks write. The journal and the temporary file it is written through, the lock file that serialises writes, a .gitignore in the journal folder, a session_handoff.corrupt.json copy of a journal that cannot be read, and the update stamp under ~/.claude/coal/coalhearth/. On Antigravity, the adapter also writes a once-per-session marker file in the OS temporary folder. The first call of a new Antigravity conversation removes this folder's own marker files older than seven days; a younger marker stays, and so does one on a machine where no new conversation starts. The config-only ports write no marker. The journal folder is <project>/.claude/coalhearth/ by default. The global journal.outputDirectory setting can move it, and the .gitignore is written in the default folder.
What the hooks delete. Files the hooks own, in these cases:
~/.claude/.coalhearth-update-check, once the new stamp is written;session_handoff.corrupt.json copy is written;ag-resume-<hash>.marker files of that folder, never a link, a folder, a file of another name, or the marker just written;error.log and *.tmp leftovers in the journal folder, when the disk is full;.claude/coalhearth folder inside the working directory when a hook starts from a subdirectory of the project: its .gitignore and session_handoff* files are removed, then the folder itself if it is empty.npx claudepluginhub thecolliery/coalhearth --plugin coalhearthBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground