Stack graph profile
Skill drmahdikazempour/agent-stack/skills/stack-graph-profile
One command to make any repo token-efficient for Claude Code & Cursor. Built-in code map, output compression, skills & hooks, savings measured with ccusage.
npx -y skills add drmahdikazempour/agent-stack --skill stack-graph-profileAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
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.
SKILL.md
1.5 KB, as published. Nobody here has run it
stack-graph-profile
Manage the graph backend and profile bundle.
Profiles
| Profile | Graph | Best for |
|---|---|---|
code | codegraph | normal code repos (default) |
review | code-review-graph | PR/review-heavy repos |
multimodal | graphify | repos with PDFs, video, many images |
spec | codegraph | spec-kit / cc-spex driven work |
research | none (context-mode) | large-output sandbox (opt-in, --allow-noncommercial) |
When to use
- Repo focus shifted (more PR review, media added, spec work started).
- Graph queries are returning irrelevant or incomplete context.
What to do
- Show current: read
.agent-stack/installed.json(ornpx @drmahdikazempour/agent-stack profile show). - Switch profile:
npx @drmahdikazempour/agent-stack profile use <name>— swaps the graph + compression + skills and regenerates. - Switch only the graph:
npx @drmahdikazempour/agent-stack graph use <codegraph|code-review-graph|graphify>.
Both operations back up first, regenerate the affected files, and re-run activation verification.