← ClaudeAtlas

condenselisted

Condense .md files from .agent-src.uncondensed/ into telegraph format and write to dist/agent-src/
event4u-app/agent-config · ★ 7 · AI & Automation · score 84
Install: claude install-skill event4u-app/agent-config
# condense Condense agent config `.md` files from `.agent-src.uncondensed/` into token-efficient telegraph format and write the condensed output to `dist/agent-src/`. Uses SHA-256 hashes to track which source files changed since last condensation. Only changed files need recondensation — saving tokens and time. ## Step 1: Sync non-.md files ```bash bash scripts/condense.sh --sync ``` This copies non-`.md` files (`.php`, etc.), deletes stale files, and shows the count of changed `.md` files that need condensation. ## Step 2: Get changed files ```bash bash scripts/condense.sh --changed ``` This lists only `.md` files whose source has changed since the last condensation (based on stored SHA-256 hashes). If no files changed → you're done. If you need to see ALL files regardless of change status: `bash scripts/condense.sh --list`. ## Step 3: Condense each changed .md file **Core principle:** Condensation must improve execution quality, not just reduce length. A condensed file should be easier to scan, easier to trigger, and easier to execute than the original. For each changed `.md` file: 1. Read the source from `.agent-src.uncondensed/{path}` 2. Condense the prose using these rules: - **Remove:** articles (a, an, the), filler (just, really, basically, actually, simply, essentially), pleasantries, hedging, connective fluff (however, furthermore, additionally), redundant wording, obvious framework knowledge, repeated explanations, decorative prose - **S