condense
Skill448 starsChanged 4 days agoMITView on GitHub
Maximize information density: preserve all instructions, remove prose filler.
- Deletes or force-pushes
6 other projects use a version of this.
Adopted by
Most recently taken up by
- sadpig70/HELIXtheir own version, first seen Oct 13, 2026
- notque/claude-code-toolkitword for word, first seen Oct 8, 2026
- trebaud/skillstheir own version, first seen Aug 18, 2026
- kborovik/spec-driven-devtheir own version, first seen Aug 4, 2026
- gregpa/claude-skillstheir own version, first seen Jul 29, 2026
- kborovik/grok-skillstheir own version, first seen Jul 19, 2026
Other versions6 projects use a version of this.
Word for word · 1
- notque/claude-code-toolkit★ 448100% same
Edited · 0
None found.
Wrote their own version · 5
- kborovik/grok-skills★ 2same name
- kborovik/spec-driven-dev★ 2same name
- trebaud/skills★ 1same name
- gregpa/claude-skills★ 0same name
- sadpig70/HELIX★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository64 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- assessmentSkill
- dataSkill
- business-opsSkill
- code-qualitySkill
- comment-qualitySkill
- joy-checkSkill
- content-engineSkill
- contentSkill
- headlinesSkill
- image-genSkill
- image-to-videoSkill
- series-plannerSkill
- topic-brainstormerSkill
- video-editingSkill
- writingSkill
- domainSkill
- cli-designSkill
- frontendSkill
- frontend-slidesSkill
- jev-designSkill
- webgl-card-effectsSkill
- game-asset-generatorSkill
- game-devSkill
- game-trailerSkill
- motion-pipelineSkill
- browser-jev-automationSkill
- cve-source-checkSkill
- deploySkill
- endpoint-validatorSkill
- headless-cron-creatorSkill
- kubernetesSkill
- githubSkill
- accountsSkill
- auto-dreamSkill
- building-with-jevSkill
- codexSkill
- docs-sync-checkerSkill
- doSkill
- dSkill
- grill-jevSkill
- toolkitSkill
- workflow-helpSkill
- debuggingSkill
- plant-seedSkill
- processSkill
- pr-workflowSkill
- quickSkill
- testingSkill
- with-anti-rationalizationSkill
- workflowSkill
- worktree-agentSkill
- programmingSkill
- architecture-deepeningSkill
- codebase-analyzerSkill
- markdown-converterSkill
- news-collectionSkill
- researchSkill
- roastSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 4 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 48
Run on the scoped targets (defaults to agents//*.md and skills//*.md when no path given).
- Distinctive: line 58
Read the full file. Record word count.
- Distinctive: line 65
Every instruction, rule, gate, phase, step
- Distinctive: line 86
Before cutting any sentence: "If I remove this, does the reader lose an instruction, rule, or decision?" No = cut.
- Distinctive: line 90
Do not reorganize sections, change meaning, add ideas, alter paths/commands, drop tables or code blocks, or modify YAML frontmatter values.
“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Condense
Strip prose filler from .md files. Preserve every instruction. This skill practices what it preaches.
Phase 1: SCOPE
Identify targets.
- Single file: User names a path. Read it.
- Glob: User gives a pattern (
agents/*.md). Expand, list matches, confirm with user. - Batch (10+ files): Dispatch parallel agents, one per file.
Mechanical pre-pass (deterministic, run before LLM condensing): strip trailing whitespace and consecutive blank lines that inflate Opus token counts. The script handles the mechanical reduction so the LLM phase focuses on prose density.
python3 scripts/check-whitespace.py --fix <target-file-or-dir> # 0=clean, 1=violations fixedRun on the scoped targets (defaults to agents/**/*.md and skills/**/*.md when no path given). Then proceed to the LLM pass on the same files.
Gate: At least one target file identified and readable; mechanical pre-pass run.
Phase 2: CONDENSE
For each file:
- Read the full file. Record word count.
- Rewrite in place applying the rules below.
- Record new word count.
Rules
KEEP (never cut):
- Every instruction, rule, gate, phase, step
- Tables, code blocks, commands, paths
- YAML frontmatter (do not alter)
- Structure: headers, numbered lists, phase ordering
- Technical terms naming specific things
- Reference loading tables
- Error handling sections
- Non-obvious "because X" reasoning
CUT:
- Redundant restatements of the same rule
- "Because X" on obvious rules
- Motivational framing ("this will help you", "it is important to note")
- Filler phrases: "in order to", "it should be noted that", "it is worth mentioning"
- Examples that repeat what the phase already says
- Paragraphs saying the same thing from different angles -- merge to one
STYLE: Short sentences. Active voice. Concrete words. If you can cut a word without losing an instruction, cut it.
DELETE TEST
Before cutting any sentence: "If I remove this, does the reader lose an instruction, rule, or decision?" No = cut. Yes = keep.
Boundaries
Do not reorganize sections, change meaning, add ideas, alter paths/commands, drop tables or code blocks, or modify YAML frontmatter values.
Phase 3: VERIFY
For each condensed file:
- YAML check: Confirm frontmatter parses.
python3 -c "import yaml; yaml.safe_load(open('<file>').read().split('---')[1])" - Report: Show
| File | Before | After | Reduction |table with word counts. - Instruction check: Grep original for key terms (phase names, gate names, commands). Confirm each appears in condensed version. If any missing, restore from original.
Gate: YAML parses. No instructions lost. Reduction reported.
Error Handling
No prose to cut: Report 0% reduction, move to next file.
Instruction removed: Re-read original, restore missing instruction, re-verify.
YAML broken: Restore original frontmatter verbatim, re-condense body only.
Non-.md file: Skip with warning.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

