skills/agent-optimize/SKILL.md
Optimize a document for AI agent consumption. Restructures prose into formats that agents parse efficiently while preserving meaning.
npx skillsauth add nakane1chome/claude-skills agent-optimizeInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Optimize the target document(s) at $ARGUMENTS for agent consumption.
Stop after each stage and have changes reviewed with user.
Note: The goal is agent efficiency, not stripping all prose. Some content is genuinely better as narrative — context-setting introductions, nuanced trade-offs, philosophy notes. Optimize the structure agents need to parse; preserve the prose humans need to understand intent.
Read and assess the document (developer confirms)
Replace verbose prose with structured formats (agent leads with approval)
Compress token usage (agent leads with approval)
Make relationships explicit (agent leads with approval)
This skill sits at the end of the composition pipeline: flesh-out -> review-steps -> strong-edit -> agent-optimize. Run it after the content is complete and reviewed — it restructures for consumption, not correctness.
| Goal | Use | |------|-----| | Raw notes need structure and expansion | flesh-out | | Draft needs polish and consistency | review-steps | | Complete draft needs critical evaluation | strong-edit | | Finalized document needs agent-friendly restructuring | agent-optimize |
tools
Helps with things
data-ai
Critical editorial analysis of articles. Examines structure, argument strength, relevance, and readability. Use for substantive editing - challenging what's said and how, not just polish.
testing
Review a document against its SDLC lifecycle context — assess completeness and check consistency with parent documents in the document hierarchy.
testing
Structured review for polishing documents. Fixes language, improves clarity, checks structural consistency, and compares against best practice. Use when a draft has structure but needs a thorough review pass.