semantic-compressor SKILL.md skillA

semantic-compressor from claude-world/skills-optimizer is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add claude-world/skills-optimizer/semantic-compressor@v2.1.0

Pins v2.1.0 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
claude-world/skills-optimizer
Path
.claude/skills/semantic-compressor/SKILL.md
Versions recorded
4
Latest version
v2.1.0, committed Oct 21, 2026
First version recorded
Jan 20, 2026
Size
13,111 bytes
Repository stars
11
License
MIT

Safely reduce Claude Code skill, command, and agent Markdown while preserving behavior, frontmatter, commands, tools, triggers, security rules, errors, paths, and numerical constraints. Use only when the user explicitly invokes /semantic-compressor to scan, draft, verify, apply, benchmark, or restore a compression run.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Semantic Compressor

Compress instruction files without silently changing what they can do. Treat semantic retention as the primary requirement and size reduction as a secondary optimization.

Invocation arguments: `$ARGUMENTS`

Skill directory: `${CLAUDE_SKILL_DIR}`

Project directory: `${CLAUDE_PROJECT_DIR}`

## Command contract

Interpret the arguments exactly once before taking action:

| Invocation | Behavior | Writes source files? |
|---|---|---:|
| `/semantic-compressor` or `scan` | Discover eligible files and report the exact list | No |
| `compress <path>` | Create and validate a candidate in the run workspace | No |
| `<path>` | Backward-compatible alias for `compress <path>` | No |
| `apply <path>` | Create, validate, independently review, back up, then atomically replace one file | Yes |
| `verify <original> <candidate> --inventory <inventory.json>` | Run deterministic and semantic comparison | No |
| `benchmark` | Measure bundled sample pairs from the installed skill directory | No |
| `restore <manifest>` | Verify a rollback and show exact operations | No |
| `restore <manifest> --apply` | Restore only if current and backup hashes match the manifest | Yes |
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add claude-world/skills-optimizer/semantic-compressor@sha256:3feebca4248ef68c

The line at the top of this page pins the label v2.1.0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_26lmpkuudb7wmjby.svg)](https://markdownregistry.com/a/art_26lmpkuudb7wmjby)

1 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 4 versions of this file, between Jan 20, 2026 and Oct 21, 2026, about one every 91 days.

versioncommittedcommitsizeaudit
v2.1.0 latest2026-10-21 b6df9cf 13,111 BA view · diff
v2.0.02026-07-18 f8082b5 11,685 BA view · diff
git:20260120.a71898c2026-01-20 a71898c 6,722 BA view · diff
git:20260120.94cdfe42026-01-20 94cdfe4 6,774 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (13111 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

claude-world/skills-optimizer · 11 stars · license MIT · pushed 2026-10-21 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_26lmpkuudb7wmjby
GET https://markdownregistry.com/api/v1/resolve?ref=claude-world/skills-optimizer/semantic-compressor
GET https://markdownregistry.com/api/v1/blob/3feebca4248ef68cbb40e48ef468cd59b92d706f434a32ae8e192c159351a85a

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from claude-world/skills-optimizer

alpha SKILL.md skill
claude-world/skills-optimizer · .claude/skills/semantic-compressor/evals/fixtures/scan-project/.claude/skills/alpha/SKILL.md · A normal uncompressed skill entrypoint.
git:20260718.f8082b5 · audit B · 11 stars
done SKILL.md skill
claude-world/skills-optimizer · .claude/skills/semantic-compressor/evals/fixtures/scan-project/.claude/skills/done/SKILL.md · A previously compressed fixture.
git:20260718.f8082b5 · audit A · 11 stars
release-helper SKILL.md skill
claude-world/skills-optimizer · .claude/skills/semantic-compressor/evals/fixtures/single-file/.claude/skills/release-helper/SKILL.md · A deliberately verbose release workflow used as a safe compression fixture.
git:20260718.f8082b5 · audit A · 11 stars

Every file in claude-world/skills-optimizer

Browse by kind, by grade A, or by owner.