kw-optimize-agents-project
Installation
SKILL.md
Optimize Agents Project
Refactor the project's AGENTS.md (or CLAUDE.md) to minimize context window usage while preserving all information. Verbose sections move to reference docs loaded on demand. Missing reference infrastructure gets scaffolded with templates.
When to Use
Manual-only. Invoke with /kw-optimize-agents-project. Useful when:
- AGENTS.md exceeds ~150 lines
- Auto-generated sections (GSD map-codebase, etc.) bloat the file
- Starting a new project and wanting a clean structure from the start
- After a major refactor that changed project architecture
Workflow
1. Analyze current state
Read the project's AGENTS.md (or CLAUDE.md if AGENTS.md doesn't exist). Measure:
- Total lines and estimated tokens
- Identify each section and classify as:
Related skills
More from kwazema/claude-skills
kw-gsd-fortify
>
11kw-cubic
>
10kw-stack-audit
>
10kw-update-skills
>
10kw-vite-checker-setup
>
10kw-find-docs
Retrieves up-to-date documentation and code examples from Context7 for any library or framework. Use when writing code that depends on external packages, verifying API signatures, looking up usage patterns, or when training data may be outdated. Covers setup, migration, and version-specific docs.
9