drmahdikazempour
UserOne command to make any repo token-efficient for Claude Code & Cursor. Built-in code map, output compression, skills & hooks, savings measured with ccusage.
Categories
Indexed Skills (5)
stack-bootstrap
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. Runs `agent-stack init` under the hood — detect, install adapters, generate files, wire hooks, verify, and capture a token baseline — then reports exactly what changed.
stack-doctor
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, before committing config changes, or to confirm a healthy setup. Wraps `agent-stack doctor`; exit code 1 means there are issues to fix.
stack-graph-profile
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 poor context. Wraps `agent-stack profile use` and `agent-stack graph use`, which regenerate affected files and re-verify the setup.
stack-handoff
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. Wraps `agent-stack handoff write|resume`, which stores a single `.agent-stack/handoff.md` you can edit freely.
stack-measure
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 `agent-stack measure`, which reads ccusage's local JSONL — never vendor self-reported numbers.
Bio shown is the top-scored skill's repo description as a fallback — real GitHub bios land in a future update.