yanfeid

9 mods across 1 repository, 2 stars between them.

claude-amber

01

yanfeid/claude-amber

Plugin Claude Code

Amber — zero-dependency context survival kit for Claude Code.

2 2mo ago A tokens not measured original MIT

amber

02

yanfeid/claude-amber

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.

2 2mo ago A tokens not measured original MIT

PreCompact

03

yanfeid/claude-amber

Hook

Runs before the context is compacted, executing checkpoint.js via node. From yanfeid/claude-amber.

2 2mo ago A tokens not measured original MIT

SessionEnd

04

yanfeid/claude-amber

Hook

Runs when a session ends, executing checkpoint.js via node. From yanfeid/claude-amber.

2 2mo ago A tokens not measured original MIT

SessionStart

05

yanfeid/claude-amber

Hook

Runs when a session starts on compact and resume, executing restore.js via node. From yanfeid/claude-amber.

2 2mo ago A tokens not measured original MIT

checkpoint

06

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.

2 2mo ago A 62 tokens original MIT

diet

07

yanfeid/claude-amber

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.

2 2mo ago A 61 tokens original MIT

focus

08

yanfeid/claude-amber

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.

2 2mo ago A 66 tokens original MIT

resume

09

yanfeid/claude-amber

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.

2 2mo ago A 55 tokens original MIT