Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Compress a Rosetta KB prompt artifact (skill · workflow · phase · rule · agent · template · generic) by stripping structural tautology and ineffective scaffolding while preserving every importance-bearing token. Use when the user asks to compress, shorten, tighten, densify, or reduce a prompt / skill / workflow / phase / rule file.
.claude/skills/griddynamics-compress-prompt/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-09 | ✗→✓ | ▲ Improved | 32% | 0% |
| case-06 | ✗→✓ | ▲ Improved | 127% | 0% |
| case-07 | ✗→✓ | ▲ Improved | 115% | 0% |
| case-10 | ✗→✓ | ▲ Improved | 147% | 0% |
| case-17 | ✗→✓ | ▲ Improved | 59% | 0% |
Read ONLY: the target artifact + its type schema + the grammar below. Nothing else. Stay focused.
Schemas (learn which XML scopes are MANDATORY vs optional, and each scope's role):
docs/schemas/skill.mddocs/schemas/workflow.mddocs/schemas/phase.mddocs/schemas/rule.mddocs/schemas/agent.mddocs/schemas/template.mddocs/schemas/generic.mdGrammar — directive commands the system ACTS ON; protect verbatim + their args:
| Command | Semantics | |---|---| | USE SKILL <name> / READ SKILL <name> | activate skill (load SKILL.md + act) / load content only | | READ SKILL FILE <subpath> / APPLY SKILL FILE <subpath> | load / load+execute a file of the CURRENT skill; never names a skill (isolation is grammar-enforced) | | USE FLOW <name>.md / READ FLOW <name>.md | invoke a whole workflow / load without executing | | APPLY PHASE <file>.md | load + fully execute the next phase body of a running workflow | | INVOKE SUBAGENT <name> / READ SUBAGENT <name> | spawn subagent / load its definition only | | READ RULE <file>.md / APPLY RULE <file>.md | load / load+execute a rule | | READ TEMPLATE <file>.md | load a template | | READ CONFIGURE <tool>.md | load an IDE/agent configure spec | | LIST <path> | enumerate immediate children of a KB folder | | ACQUIRE <path> FROM KB | MCP-only, generated shells: query_instructions(tags="<path>") |
## scope · file · skill) → NEVER re-assert or re-summarize it inline. Invariants → hoist to ONE always-on block; other echoes → cut. The pointer IS the content.OUT/ = <long/path>), reuse everywhere.e.g. "ONE PHASE AT A TIME: read file, execute, update state, advance" → "ONE PHASE AT A TIME. READ JIT."
ARCHITECTURE.md file.file path." in each phase => compress to 4. Update stateINVARIANTS (always-on, declared once): ## KEEP verbatim + ## NEVER. Run passes IN ORDER; skip none.
## CUT.## COMPRESS.↺ Repeat from pass 1 until a full loop changes nothing — each pass exposes new cuts/merges.
## Transform to fixpoint. Do not overwrite yet.INVOKE SUBAGENT (Sonnet-5 class, low reasoning (!), e.g. claude-sonnet-5) with a fresh read of OLD vs NEW, asking only:| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-15 | pass→fail | 22,325 | 18,915 | -15% | 1 | 1 | 0% | 3,908 | 5,122 | +31% | 0 | 0 | — |
case-01 | fail→fail | 14,548 | 7,474 | -49% | 1 | 1 | 0% | 2,334 | 3,172 | +36% | 0 | 0 | — |
case-02 | pass→pass | 9,279 | 7,410 | -20% | 1 | 1 | 0% | 1,495 | 3,339 | +123% | 0 | 0 | — |
case-03 | pass→fail | 9,274 | 2,081 | -78% | 1 | 1 | 0% | 1,482 | 2,239 | +51% | 0 | 0 | — |
case-04 | fail→fail | 10,558 | 2,460 | -77% | 1 | 1 | 0% | 1,619 | 2,421 | +50% | 0 | 0 | — |
case-09 | fail→pass | 13,173 | 4,261 | -68% | 1 | 1 | 0% | 2,077 | 2,750 | +32% | 0 | 0 | — |
case-05 | pass→pass | 7,009 | 3,350 | -52% | 1 | 1 | 0% | 1,141 | 2,508 | +120% | 0 | 0 | — |
case-06 | fail→pass | 8,536 | 3,495 | -59% | 1 | 1 | 0% | 1,153 | 2,622 | +127% | 0 | 0 | — |
case-07 | fail→pass | 7,155 | 1,851 | -74% | 1 | 1 | 0% | 1,070 | 2,304 | +115% | 0 | 0 | — |
case-08 | pass→pass | 8,601 | 3,272 | -62% | 1 | 1 | 0% | 1,287 | 2,472 | +92% | 0 | 0 | — |
case-10 | fail→pass | 24,032 | 2,922 | -88% | 1 | 1 | 0% | 1,053 | 2,603 | +147% | 0 | 0 | — |
case-11 | pass→fail | 8,705 | 2,587 | -70% | 1 | 1 | 0% | 1,410 | 2,429 | +72% | 0 | 0 | — |
case-12 | pass→pass | 4,000 | 2,603 | -35% | 1 | 1 | 0% | 562 | 2,462 | +338% | 0 | 0 | — |
case-13 | pass→pass | 8,051 | 3,455 | -57% | 1 | 1 | 0% | 1,218 | 2,580 | +112% | 0 | 0 | — |
case-14 | pass→pass | 18,594 | 15,440 | -17% | 1 | 1 | 0% | 3,427 | 4,982 | +45% | 0 | 0 | — |
case-16 | pass→pass | 19,290 | 18,626 | -3% | 1 | 1 | 0% | 3,081 | 5,155 | +67% | 0 | 0 | — |
case-17 | fail→pass | 10,066 | 3,068 | -70% | 1 | 1 | 0% | 1,585 | 2,514 | +59% | 0 | 0 | — |
case-18 | fail→pass | 14,136 | 5,623 | -60% | 1 | 1 | 0% | 2,119 | 2,821 | +33% | 0 | 0 | — |
case-19 | fail→pass | 11,082 | 2,088 | -81% | 1 | 1 | 0% | 1,573 | 2,347 | +49% | 0 | 0 | — |
case-20 | pass→pass | 8,558 | 3,010 | -65% | 1 | 1 | 0% | 1,296 | 2,536 | +96% | 0 | 0 | — |
case-21 | pass→pass | 5,856 | 4,995 | -15% | 1 | 1 | 0% | 1,031 | 2,872 | +179% | 0 | 0 | — |
case-22 | fail→pass | 11,207 | 2,317 | -79% | 1 | 1 | 0% | 1,589 | 2,325 | +46% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 22 cases were attempted, and 21 counted toward the lift figure. The other 1 produced results that are not comparable between the two arms, so they are excluded from the headline rather than averaged into it. The headline lift of +23 percentage points is the difference between those two pass rates over the 21 comparable cases. 4 cases got worse with the skill loaded, and they are included in that figure.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.