Making Grok Bot skills cheaper and more reliable: eight measured tricks, plus what native support could do

Hi all,

I run a dozen bots and spent this week cutting the skill text each task loads. “Words loaded” below means the words of skill text a bot reads for one task, counted from the real files. Effects on weekly usage are my estimates, because the limit isn’t published.

  1. Router and leaves. Keep only rules every task needs in SKILL.md. Add one-line branches (“if X, open leaves/x.md”). Measured: 18–49% fewer words loaded (image fix 49%, video planning 28%, support-style skill 30%, new asset 18%). One drill skill saved 40% on one path and cost 2% more on another. Certainty: high.
  2. Examples out of rules. Move past cases to an EXAMPLES file nobody loads by default. Certainty: high; included in the figures above.
  3. Short descriptions. Descriptions load for every task. Merging four overlapping skills into one router cut always-loaded description words from 131 to 39. Measured.
  4. Efficient, lossless phrasing. One rule per line, condition first (“If X, do Y”), direct command, exact values, one term per concept, each rule once. Keep a reason only when it settles cases the rule doesn’t name. Certainty: medium; applied together with trick 1.
  5. Plain words, not symbols. Shorthand often tokenizes worse and gets misread. Certainty: low to medium; reasoning, not measured.
  6. Scripts for mechanical steps. If a step needs no judgment (lookups, crops, pixel-diff checks, lint), write a script and make the rule one line that runs it. Estimate: 2–20 fewer tool calls per task, up to 1,800 fewer words. Certainty: medium; audit estimate, scripts not built yet.
  7. Dedupe and resolve conflicts. Search before adding a rule. I found two rules that contradicted each other and removed one. Certainty: medium.
  8. Memory merged by topic. 201 notes became 68, each fact once. Keep each fact under 500 characters, because memory search truncates longer ones and you can’t remove what you can’t match. Certainty: low; not measured.

Principles: load only what’s needed; measure instead of assuming; fewer round trips beat fewer words; compression is lossy, so test it.

My overall guess is 7–10% of weekly usage saved (plausible range 5–20%). Certainty: low.

For the Cursor and xAI team: native support would make all this easy for everyone:

  • branching skills that load helper files only when a step needs them (the skill editor currently ignores helper files, so I copy them in by shell);
  • a skill checker that reports words loaded and flags duplicate or conflicting rules;
  • a per-skill usage breakdown, and visible, shareable, versioned skill modules.

I’m happy to share files and measurements. What tricks have worked for you?

1 Like