claude-amber
01Plugin Claude Code
Amber — zero-dependency context survival kit for Claude Code.
Plugin Claude Code
Amber — zero-dependency context survival kit for Claude Code.
Plugin Claude Code
Zero-dependency context survival kit for Claude Code. Auto-checkpoints your session state to plain Markdown before compaction, restores it after — plus focus skills that keep Claude lean and on-task. No database, no background process, no AI compression. Just files you can read.
Hook
Runs before the context is compacted, executing checkpoint.js via node. From yanfeid/claude-amber.
Hook
Runs when a session ends, executing checkpoint.js via node. From yanfeid/claude-amber.
Hook
Runs when a session starts on compact and resume, executing restore.js via node. From yanfeid/claude-amber.
Skill Claude CodeCodex
Write the current working state (task, decisions, files touched, open problems, next steps) to .amber/STATE.md so it survives compaction and session restarts. Use when the user asks to checkpoint/save state, before risky long operations, when context feels heavy, or before ending a work session.
Skill Claude CodeCodex
Audit what is eating the context window in this project (CLAUDE.md size, MCP servers, rules that should be skills) and produce a concrete slimming plan with estimated token savings. Use when the user complains about context filling up fast, frequent compaction, or asks to optimize/reduce context usage.
Skill Claude CodeCodex
Declare a focus contract for the current task to keep context lean — scopes which files/dirs are in play, bans out-of-scope exploration, and routes broad searches to subagents. Use when starting a task, when the user says "focus on X", or when the session is drifting across unrelated parts of the codebase.
Skill Claude CodeCodex
Reload saved working state from .amber/ (STATE.md, FOCUS.md, checkpoint.md) and continue the previous task. Use when the user says resume/continue where we left off, or at the start of a session in a project that has an .amber directory.