drmahdikazempour/agent-stack

One command to make any repo token-efficient for Claude Code & Cursor. Built-in code map, output compression, skills & hooks, savings measured with ccusage.

2Stars on the repository
5Mods indexed here, across every type
3mo agoLast push, which is what freshness is scored on
MITLicence, which decides whether bodies are shown

stack-bootstrap

01

drmahdikazempour/agent-stack

Skill Claude CodeCodex

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…

2 3mo ago A 92 tokens original MIT

stack-doctor

02

drmahdikazempour/agent-stack

Skill Claude CodeCodex

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…

2 3mo ago A 88 tokens original MIT

stack-graph-profile

03

drmahdikazempour/agent-stack

Skill Claude CodeCodex

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…

2 3mo ago A 85 tokens original MIT

stack-handoff

04

drmahdikazempour/agent-stack

Skill Claude CodeCodex

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…

2 3mo ago A 78 tokens original MIT

stack-measure

05

drmahdikazempour/agent-stack

Skill Claude CodeCodex

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…

2 3mo ago A 74 tokens original MIT