A tiny open-source plugin for Claude Code. When a session or subagent ends, it writes a few hundred tokens of will.md: what's done, what's unfinished, what to watch for. The next agent in that folder inherits it.
/plugin marketplace add VedSoni-dev/agent-wills/plugin install agent-wills@agent-willsType these in Claude Code, then restart it. Needs Node 18+.
npm install -g github:VedSoni-dev/agent-willswills installAdds three hooks to ~/.claude/settings.json (with a backup) and the wills command. Needs Node 18+.
First, the will a real session left when it ended. Then the session that started in the same folder a minute later.
.claude/wills/2026-11-12-fix-applycoupon-negative-total-afd03a06e4.will.md · 594 bytes
The heir also checked the will against the code before answering.
One file per death in .claude/wills/, git-ignored by default. No database, no background service, no dependencies.
A plain will is written in milliseconds. The model rewrites it in the agent's voice in a detached process, after Claude Code has closed.
Every subagent leaves a short will in .claude/wills/subagents/. Ask for one in the agent's own words with /will.
Secrets are redacted before anything is written or sent. If a model fails, the plain will stays.
| Engine | What it uses | Picked when |
|---|---|---|
| publik | The publik API (publik-fast). New accounts get free credit. | You have a publik key |
| claude | Your own Claude Code: claude -p with Haiku, no tools, nothing saved. | claude is on your PATH |
| plain | No model. Files touched, last ask, last words, errors. Nothing leaves your machine. | Nothing else is set up |