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.
68
82%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
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.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.## 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:
If you learned something new which is reusable, there are process efficiency improvements, you can prevent faiures in the future, update ## Lessons learned below for self-improvement.
044d86c
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.