compress-skills
Compress one or more SKILL.md files so they consume less context on load while preserving 100% of their value — same triggers, capabilities, guardrails…
Skill by therapys
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/therapys-compress-skills
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/compress-skills
What's inside
- Skill name
compress-skills- Description
- Compress one or more SKILL.md files so they consume less context on load while preserving 100% of their value — same triggers, capabilities, guardrails, thresholds, and output. Use when the user says 'compress this skill', 'optimize skills for context', 'make skills use less context', 'slim down the skills', 'reduce skill token usage', 'shrink SKILL.md', or wants a skill or whole skill suite trimmed without losing behavior.
- License
- MIT
- Instructions
- 52 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Compress Skills Shrink the tokens a skill costs when loaded, with zero loss of value: every trigger, step, guardrail, tool name, threshold, and output spec survives. This is **compression, not redesign** — never add features or change behavior. ## How skills spend context (optimize the right layer) - **Frontmatter `description`** — loads into *every* session; drives auto-invocation. Keep all trigger phrases/keywords/scenarios. You may tighten wording, never drop a trigger. Editing it is high-risk; touch it last and least. - **SKILL.md body** — loads on every invocation. **Primary target.** - **Reference files** (`references/*.md`, `REFERENCE.md`, recipes) — load only when opened. Move occasionally-needed detail here to shrink the mandatory body. ## Process 1. **Scope.** List the target skills. `wc -c` each file for a baseline. Skip files gitignored as private unless the user names them. Skip already-minimal files (< ~1 KB with no redundancy) — report "already minimal" rather than risk value. 2. **Optimize.** One skill → do it inline with the rulebook below. Many → fan out one subagent per skill (or small group), run in parallel. 3. **Verify** every result (checklist below) — centrally, don't trust a subagent's self-report. 4. **Report** before/after bytes and % per file and total, what was cut, and any risk. ### Optimization rulebook (also the subagent brief) 1. Cut redundancy, repetition, restatement, filler. Same instruction/guardrail twice → keep once. 2. Collapse near-duplicate examples to the single most instructive one. Long worked examples are the biggest waste — trim hard, keep one. 3. Prose → tight imperative bullets/steps. Drop hedging and obvious explanation. 4. PRESERVE EVERY actionable step, guardrail, tool/function name, exact command/flag/syntax, code/CSS/design-token value, ordering constraint, output-format spec, edge case, and threshold/number. When in doubt, keep it. 5. Move genuinely-optional detail from the body into a reference file the skill points to — never fragment tightly-coupled instructions. 6. Keep all frontmatter keys valid (`---` delimited) and every trigger phrase in `description`. Keep markdown well-formed. Match the author's voice. 7. No new features, no behavior change, no restyling beyond compression. ### Fan-out for a suite Give each subagent: the rulebook above, the "how skills spend context" note, its assigned absolute file paths, and the report format. Run them in parallel. Then aggregate and verify centrally. ## Verify (every skill, deterministically) - Frontmatter still opens/closes with `---` and has `name` + `description`. - `git diff` the `description:` lines — expect byte-identical except intentional, trigger-preserving rewordings. - `grep` the load-bearing tokens (tool names, enums, thresholds, output-section headers, commands) — all still present. - Re-`wc -c`; confirm a real drop. - Read through any file cut > ~30% to confirm no capability was dropped. ## Guardrails - **Triggers are sacred.** A dropped trigger phrase silently breaks discovery. Diff descriptions to prove they're intact. - **Don't touch protected literals** — code, HogQL/SQL, CSS/color/radius/shader values, exact commands/flags/paths stay byte-for-byte. - **Leave already-tight files alone.** Trimming a 500 B skill risks value for no real saving. - **Respect `.gitignore`.** Private, local-only skills stay untouched unless the user names them. - **Report honestly.** Give per-file numbers, flag anything uncertain, and don't inflate the reduction. ## Report format Per file: `<path>: <before>B → <after>B (−XX%)`, a TOTAL line, 3–6 bullets on what was cut/moved and why value survives, and a RISK line. A shareable summary (e.g. display.dev) is optional — only when asked.
From therapys/dotagents, MIT.
More from therapys/dotagents
- 0.631score
frontend
therapys
Build and polish production-ready frontend interfaces using Emil Kowalski's design-engineering approach.
SkillAFreshness: A★ 8Claude Code +9 - 0.626score
hairline-create
therapys
Use when someone asks for a new Hairline figure, or runs /hairline-create with an idea.
SkillAFreshness: A★ 8Claude Code +9 - 0.626score
image-generation
therapys
Generate and download images through ChatGPT in the user's signed-in browser, using their ChatGPT subscription rather than API keys or API billing.
SkillAFreshness: A★ 8Claude Code +9 - 0.592score
flesch-kincaid-proofreader
therapys
Measure and improve the readability of English copy with the Flesch–Kincaid grade-level test.
SkillBFreshness: B★ 8Claude Code +9 - 0.592score
signoz-investigating-alerts
therapys
Diagnose why a SigNoz alert fired by correlating the alert's own signal with neighbor signals (error rate, latency, throughput, CPU/memory), traces, and logs…
SkillBFreshness: B★ 8Claude Code +9 - 0.592score
posthog
therapys
Drive PostHog through the claude.ai `exec` connector — query analytics and entities (HogQL, insights, funnels, retention, web analytics), investigate LLM…
SkillBFreshness: B★ 8Claude Code +9 - 0.587score
autonomous-maintainer
therapys
Run the agent as an autonomous maintainer of a product — set it up once, then loop on small, verified, logged improvements while keeping the product…
SkillBFreshness: B★ 8Claude Code +9 - 0.587score
extract-design-system
therapys
Reverse-engineer a project's real, shipped design language into a reusable design skill, so any agent can build or restyle pages that match it.
SkillBFreshness: B★ 8Claude Code +9 - 0.587score
ship
therapys
Take the current changes from a dirty tree to an open pull request — branch, commit, push, and open the PR.
SkillBFreshness: B★ 8Claude Code +9 - 0.587score
update-agents-md
therapys
Generate or refresh a repo's AGENTS.md (the source-of-truth agent context file) and its one-line CLAUDE.md pointer.
SkillBFreshness: B★ 8Claude Code +9 - 0.584score
gog
therapys
Use the gog CLI for safe Google Workspace automation: Gmail and email, Calendar and events, Drive files, Docs, Sheets, Contacts, Tasks, Chat, and other Google…
SkillBFreshness: B★ 8Claude Code +9 - 0.584score
teach
therapys
Teach the user anything so it actually locks in and is understood, not just memorized.
SkillBFreshness: B★ 8Claude Code +9
Signals
- Stars
- 8
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Aug 28, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/therapys/dotagents
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from therapys
- 0.631score
frontend
therapys
Build and polish production-ready frontend interfaces using Emil Kowalski's design-engineering approach.
SkillAFreshness: A★ 8Claude Code +9 - 0.626score
hairline-create
therapys
Use when someone asks for a new Hairline figure, or runs /hairline-create with an idea.
SkillAFreshness: A★ 8Claude Code +9 - 0.626score
image-generation
therapys
Generate and download images through ChatGPT in the user's signed-in browser, using their ChatGPT subscription rather than API keys or API billing.
SkillAFreshness: A★ 8Claude Code +9 - 0.592score
flesch-kincaid-proofreader
therapys
Measure and improve the readability of English copy with the Flesch–Kincaid grade-level test.
SkillBFreshness: B★ 8Claude Code +9 - 0.592score
signoz-investigating-alerts
therapys
Diagnose why a SigNoz alert fired by correlating the alert's own signal with neighbor signals (error rate, latency, throughput, CPU/memory), traces, and logs…
SkillBFreshness: B★ 8Claude Code +9 - 0.592score
posthog
therapys
Drive PostHog through the claude.ai `exec` connector — query analytics and entities (HogQL, insights, funnels, retention, web analytics), investigate LLM…
SkillBFreshness: B★ 8Claude Code +9
Cite this page
compress-skills. Agent Mart. https://agentmart.dev/skills/therapys-compress-skills (last updated 2026-10-24)