CW

claude-world/skills-optimizer

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

12 stars 품질 61 트렌드 23MIT

Compress Claude Code agents & skills with semantic verification — 6:1 compression, 100% semantic preservation

개요

A fail-closed Claude Code skill for reducing skill and agent Markdown without silently changing behavior. v2.1.0 aligns discovery and frontmatter checks with Claude Code 2.1.305 and fixes several v2.0.0 bugs. Backups made by v2.0.0 remain restorable. If you are upgrading from v1, review CHANGELOG.md first. - Scan covers what Claude Code loads today: custom commands in .claude/commands/, plugin skills, commands, and agents (including plugins kept in .claude/skills/ /), and only those agent files Claude Code loads as agents. - Scan skips, with a reason, names Claude Code refuses, agent files it ignores, frontmatter outside the supported YAML subset, and non-UTF-8 files. - Validation fails a skill or command candidate whose description and when_to_use grow past Claude Code's 1,536-character listing cap, and warns when a candidate is still over the cap or a SKILL.md has 500 or more lines.

README

원문 README의 일부입니다. 원문 보기.

Semantic Compressor

A fail-closed Claude Code skill for reducing skill and agent Markdown without silently changing behavior.

English | 繁體中文

[!IMPORTANT] v2.1.0 aligns discovery and frontmatter checks with Claude Code 2.1.305 and fixes several v2.0.0 bugs. Backups made by v2.0.0 remain restorable. If you are upgrading from v1, review CHANGELOG.md first.

What’s new in v2.1.0

  • Scan covers what Claude Code loads today: custom commands in .claude/commands/, plugin skills, commands, and agents (including plugins kept in .claude/skills//), and only those agent files Claude Code loads as agents.
  • Scan skips, with a reason, names Claude Code refuses, agent files it ignores, frontmatter outside the supported YAML subset, and non-UTF-8 files.
  • Validation fails a skill or command candidate whose description and when_to_use grow past Claude Code’s 1,536-character listing cap, and warns when a candidate is still over the cap or a SKILL.md has 500 or more lines.
  • Fixed: apply no longer puts the marker where Claude Code reads the listing text of a skill or command without a description.
  • Fixed: agents are no longer dropped when the project path contains a folder named like build or dist, and Claude Code worktrees in .claude/worktrees/ no longer list every entrypoint twice.
  • Fixed: restore accepts backups written by any v2 release, so upgrading does not strand v2.0.0 backups.

What v2 changes

Semantic Compressor now separates drafting from mutation:

  • scan, compress, verify, benchmark, and restore preview are read-only for source files.
  • Only explicit apply and restore ... --apply can replace a source file.
  • A dependency-free Python control script validates paths, frontmatter, preservation inventories, ratios, hashes, backups, manifests, and rollback state.
  • A fresh read-only reviewer judges conceptual equivalence after deterministic checks pass.
  • Semantic review is reported as model judgment with evidence, never as an absolute guarantee.
GitHub에서 전체 README 보기

추천 도구

다른 키워드를 입력하거나 필터를 제거해 보세요.

설치

npx skillfish add claude-world/skills-optimizer
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →