You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
skill size: design-review's SKILL.md is ~34k tokens; 33 of 65 skills over 10k, re-billed on every invocation #3505
I ran a lint pass over the 65 SKILL.md files at HEAD (737ba3a). The biggest finding by volume is sheer size. Rough token estimates (chars/4):
skill
~tokens
design-review
34,125
office-hours
23,511
plan-design-review
21,082
ship
20,555
review
20,127
plan-ceo-review
20,098
devex-review
19,984
land-and-deploy
18,357
33 of the 65 are over 10k tokens. The whole SKILL.md enters context on every invocation, so a /design-review session pays ~34k tokens before doing any work, and pays it again on the next invocation.
Where a file is one linear workflow that's probably the price of doing business. But the heaviest ones look like they carry reference material — checklists, rule tables, worked examples — that could live in references/*.md and be read on demand, keeping the always-loaded part to the workflow skeleton.
Measured with a linter I wrote, reproducible with npx @yogiadhik/skillcheck lint . from the repo root (ignore the test/ fixture hits). Estimates are chars/4, so treat them as rough. If the sizes are a deliberate trade, fine to close.
Useful audit. One data point from restructuring our own skills the same way, plus a caveat about the references/*.md approach.
Our largest monolithic SKILL.md is ~42.6K chars (~10.6k tokens by the same chars/4), loaded whole on every invocation. Our autonomous-pipeline skill has more total content (~27K chars across files) but splits it:
layer
size
when it loads
SKILL.md (frontmatter + pointer)
2.4K chars
on invocation
INSTRUCTIONS.md (workflow skeleton, invariants)
10K chars
right after
stages/*.md × 8 (per-stage card)
0.6–2K chars each
only on entering that stage
So the upfront cost is ~3k tokens instead of ~7k, and each stage adds a few hundred.
The caveat is that "read on demand" is only as reliable as the model choosing to read. A reference that's merely linked from the top of SKILL.md ("see references/checklist.md") will sometimes be skipped, and you won't notice, because the run still looks plausible without it. We moved away from "the model decides when to open the reference" to having the tool push it: every CLI response returns next.card_text when a call enters a new stage, so the right section arrives at the right step whether or not the model remembers it exists.
Most gstack skills don't have a CLI engine behind them, so the lighter version of the same idea would be:
keep must-follow rules and gates in the always-loaded skeleton (anything that changes behaviour if missed shouldn't be optional to read)
move lookup material (rule tables, worked examples, long checklists) to references
put the read instruction at the step that needs it ("Step 4: read references/design-checklist.md now, then…"), not as a table of contents at the top
For something like design-review, a sensible split is probably the workflow + pass/fail criteria inline and the per-category checklists as per-step references. But the size alone doesn't say which parts are load-bearing, so treating it as a per-skill decision seems right.
This is a huge issue and it's tearing through token usage.
design-review skill is a total of 137 KB. Reading the markdown file, you can actually see how much waste there is!
>a /design-review session pays ~34k tokens before doing any work, and pays it again on the next invocation.
Read that again
gstack is not following Anthropics best practices when it comes to writing skills. It's a big deal because Y Combinator is impactful yet releases token wasting skills
Thanks for the detailed measurements, @YogiAdhik, and to everyone who added data here. We agree skill size matters, and it's already being worked on: large sections are being split out of skill files, and a lighter skill set is open in #3700. We're closing this issue so that work has one home, not because the problem isn't real.
Activity
xg-gh-25 commentedon Oct 27, 2026
Useful audit. One data point from restructuring our own skills the same way, plus a caveat about the
references/*.mdapproach.Our largest monolithic SKILL.md is ~42.6K chars (~10.6k tokens by the same chars/4), loaded whole on every invocation. Our autonomous-pipeline skill has more total content (~27K chars across files) but splits it:
SKILL.md(frontmatter + pointer)INSTRUCTIONS.md(workflow skeleton, invariants)stages/*.md× 8 (per-stage card)So the upfront cost is ~3k tokens instead of ~7k, and each stage adds a few hundred.
The caveat is that "read on demand" is only as reliable as the model choosing to read. A reference that's merely linked from the top of SKILL.md ("see references/checklist.md") will sometimes be skipped, and you won't notice, because the run still looks plausible without it. We moved away from "the model decides when to open the reference" to having the tool push it: every CLI response returns
next.card_textwhen a call enters a new stage, so the right section arrives at the right step whether or not the model remembers it exists.Most gstack skills don't have a CLI engine behind them, so the lighter version of the same idea would be:
references/design-checklist.mdnow, then…"), not as a table of contents at the topFor something like design-review, a sensible split is probably the workflow + pass/fail criteria inline and the per-category checklists as per-step references. But the size alone doesn't say which parts are load-bearing, so treating it as a per-skill decision seems right.
Stage-card loading as used in SwarmAI's pipeline skill. Discussion: Autonomous Pipeline — the whole thing on one page
boomboxbacardi commentedon Oct 28, 2026
This is a huge issue and it's tearing through token usage.
design-review skill is a total of 137 KB. Reading the markdown file, you can actually see how much waste there is!
>a /design-review session pays ~34k tokens before doing any work, and pays it again on the next invocation.
Read that again
gstack is not following Anthropics best practices when it comes to writing skills. It's a big deal because Y Combinator is impactful yet releases token wasting skills
capy-ai commentedon Oct 31, 2026
Thanks for the detailed measurements, @YogiAdhik, and to everyone who added data here. We agree skill size matters, and it's already being worked on: large sections are being split out of skill files, and a lighter skill set is open in #3700. We're closing this issue so that work has one home, not because the problem isn't real.