One command to make any repo token-efficient for Claude Code & Cursor. Built-in code map, output compression, skills & hooks, savings measured with ccusage.
Set up or re-sync the agent-stack optimization layer (CLAUDE.md, skills, hooks, code graph, shell compression, Cursor mirror) for a repo. Use when onboarding a repo, right after cloning, or when the agent context feels bloated/unoptimized.…
Lint the agent-stack setup — CLAUDE.md token budget (≤800), each SKILL.md description (≤1024 chars) and body (≤500 lines), hook conflicts in settings.json, frontmatter validity, and adapter availability. Use when something feels off, befor…
Inspect or switch the code-graph backend and profile for a repo (code / review / multimodal / spec). Use when the repo's focus changes — heavy PR review, newly added PDFs or video, spec-driven work — or when graph queries are returning poo…
Write or resume a continuity handoff so work survives across sessions or teammates — current task, decisions made, open threads, git state, and next steps. Use when ending a session, switching context, or picking up someone else's work. Wr…
Measure token usage and savings via ccusage — establish a baseline and compare before/after. Use right after init (to record the baseline) and again after about a week to quantify the input-token reduction against the ≥40% target. Wraps `a…