streamline-guidance

Proposes, applies, and records graduated cuts that reduce bloat in agent guidance files.

1|1|Updated Feb 25, 2026
One-click install
npx skills add https://github.com/williamthorsen/codeassembly --skill streamline-guidance-williamthorsen
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: streamline-guidance
Source: https://github.com/williamthorsen/codeassembly/tree/main/packages/agents/content/skills/streamline-guidance
Command: npx skills add https://github.com/williamthorsen/codeassembly --skill streamline-guidance-williamthorsen

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Guidance files such as skills, subagents, rulebooks, partials, and AGENTS.md accumulate filler, redundant rules, and stale rationale over time, inflating the context every agent session loads. Manually trimming them risks deleting load-bearing instructions, and there is no record of which cuts were already considered and rejected. ## Core Features & Use Cases - Graduated cut levels: Choose cautious, conservative, moderate, or aggressive trimming, where each level demands a different amount of evidence before a cut is allowed. - Evidence-based candidate checking: A bundled helper resolves target and transitive files, checks candidates against test assertions and git history, and tracks deployed byte sizes so savings are measured against what agents actually load. - Decline tracking and review markers: Declined cuts are recorded in .agents/streamline-guidance.yaml so they are never re-proposed, and every reviewed file is marked to baseline future growth reports. - Use Case: Point the skill at a bloated SKILL.md and a shared partial, review a numbered table of proposed cuts with safety rationale, apply the approved ones, bump affected rulebook versions, run the quality gate, and commit with a summary of deployed bytes saved. ## Quick Start Use the streamline-guidance skill on my AGENTS.md file at the moderate level and show me the proposed cuts before changing anything.

Frequently Asked Questions about streamline-guidance

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I reduce the size of an AGENTS.md or SKILL.md file safely?

Run the skill on the file with a chosen level from cautious to aggressive. It proposes each cut in a numbered table with evidence of safety, and nothing changes until you name which rows to apply.

What is the difference between cautious, conservative, moderate, and aggressive cut levels?

Cautious applies at most two of the safest cuts per run. Conservative removes text that directs nothing, moderate removes redundancy while keeping every instruction stated once, and aggressive removes anything not shown to be load-bearing.

Can the skill delete instructions that tests or past fixes depend on?

No. The helper checks each candidate against test string literals and git history, and candidates asserted by tests or added to correct a failure are dropped. Output shapes, generated regions, and invocation descriptions are never cut.

What happens when I decline a proposed cut?

Declined cuts are recorded with their file, phrase, and class in .agents/streamline-guidance.yaml. Future runs read this record and never propose the same cut again while that text remains in the file.

Does streamline-guidance edit files outside the paths I name?

It edits only the named targets and files they include or link to, plus rulebook version bumps or pins required by the quality gate. Transitive files are restricted to conservative-class cuts regardless of the run level.