Change Capsules — AI skill for Claude Code
Keep the why, the tests and the evidence of every AI agent change in your repo.
How to install Change Capsules
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open ognaranjo/change-capsules and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Change Capsules does
Keep the why, the tests and the evidence of every AI agent change in your repo. One Markdown change capsule per finished task, with rules for Codex and Claude Code. Local files, no account, zero dependencies.
Alternatives in AI
- Awareness Local — Local-first AI agent memory — one command, works offline, no account needed 199 ★
- Nomore — Finds the corrections you keep repeating to Claude Code and turns them into evidence-backed CLAUDE.md rules 45 ★
- AgentEd — A visual Markdown editor for AI instructions and knowledge files, with YAML frontmatter, links between files 17 ★
README
Change capsules
**Keep the why, the tests and the evidence of every AI agent change, in your repo.**
Coding agents change a lot of code, fast. The diff survives in Git. What doesn't survive is everything around it: why the change was made, which tests actually ran and what they returned, what the agent didn't verify, and what it left for later. That lives in a chat window that scrolls away. A week later nobody can say whether "all tests pass" meant the full suite, one file, or nothing at all.
A **change capsule** is one small Markdown file per finished task, written by the agent itself into `.capsules/`, committed with the work:
- why the change was made,
- what changed (files and commits),
- which tests ran, with the exact command and the real result (including the ones that didn't run),
- evidence: logs, screenshots, CI runs,
- risks and follow-ups that are still open.
This kit gives your agents the rules to write capsules and to read the open ones before starting new work, plus a tiny checker. One repo, one agent at a time, plain files. No account, no service, no network, no dependencies.
Install (2 minutes)
You need Node 18 or later for the installer and checker. The capsules themselves are plain Markdown; any agent can write them without Node.
cd your-repo
npx change-capsules init
Not on npm yet, or prefer not to use it? Clone this repository and run the script directly:
git clone https://github.com/ognaranjo/change-capsules.git ~/change-capsules
cd your-repo
node ~/change-capsules/bin/change-capsules.mjs init
`init` adds:
| File | What it is |
|---|---|
AGENTS.md |
Rules for Codex (and other agents that read AGENTS.md), between change-capsules markers |
CLAUDE.md |
The same rules for Claude Code, between the same markers |
.capsules/kit.json |
Manifest: kit name, kit version, format version |
.capsules/capsule.schema.json |
JSON Schema of the capsule front matter |
| `.cap |
Related Skills
Agentic Senior Core
Keep AI coding agents from writing slop, leaking secrets, or skipping tests. Hooks + rules for Claude Code, An
JevGuard
Semantic policy engine for AI coding agents. Reviews every agent change against your repo's plain-Markdown rul
Sbx Capsule
Disposable multi-repo workspaces for AI coding agents. One make command clones the repos a task needs onto fre
Claude Code Flash
Cut Claude Code token usage: hooks, Sonnet/Opus subagents, orchestration rules and /review + /task commands th
Bearing
An intel layer for AI coding agents that assumes its own rules might be wrong — and keeps the evidence. Author
Trackline
An alignment layer for AI agents. Watches whether an agent's actions still match the task, rules and evidence
Related Agents
Preship Reviewer
Use when a diff is about to ship and needs one last checklist pass for the failures that tests and reviews ten
Token Shield Guardian
AST code skeletonization, RLE terminal log deduplication, and SHA-256 context capsule handoffs cutting Claude
Arbiter Agent
Compliance sub-agent — checks generated content against brand capsule rules, auto-heals deterministic violatio