← ClaudeAtlas

intelligence-compact-contextlisted

Reduce rules, agents, and skills without changing behavior or teaching terse output
ainova-systems/intelligence · ★ 1 · AI & Automation · score 70
Install: claude install-skill ainova-systems/intelligence
# Compact intelligence context Reduce persistent and on-demand prompt cost by changing structure before wording. The result must preserve the layer's behavioral contract and ordinary, complete language; a smaller file is not a success if agents become terse, vague, or less reliable. ## Analyze 1. Resolve `<manifest>`, `<content-dir>`, and `<module>`. Enumerate the source directories declared under `sources.rules`, `sources.agents`, and `sources.skills`; skip installed package sources and generated adapter output. 2. Read `<module>/references/conventions.md`, the `intelligence-authoring` rule, and [references/principles.md](references/principles.md). The reference explains which forms of indirection save context and which merely move text. 3. Run `<sync-cmd> --compact` and save the `CONTEXT:` line as the baseline, including its rendered `agents-md` byte count. Record individual source-file byte and line counts for the requested target. 4. Invoke `intelligence-review-skills` for the same target. Reuse its findings for duplication, misplaced content, scope, stale artifacts, pressure markers, history narrative, and description budget; do not reproduce its audit. 5. Build a semantic ledger before drafting edits. For every candidate passage, record: - the behavior, constraint, procedure, or expertise it carries; - its one authoritative owner; - when it must load; - the reason or example needed to apply it correctly; - the repository