npx claudepluginhub defiect/docs-optimizer-pluginOptimizes documentation directories for AI agent navigation efficiency using parallel subagent reviews and iterative improvement cycles
A Claude Code plugin that optimizes documentation directories for AI agent navigation efficiency.
This plugin helps you restructure documentation so that AI agents can find relevant information quickly. It measures success by tool calls (how many Read/Grep/Glob operations), not by whether the docs "help users."
Key insight: If an agent finds "we don't support X" in 2 tool calls, that's a success - even if the user wanted X.
Copy this plugin directory to your Claude Code plugins location:
cp -r docs-optimizer-plugin ~/.claude/plugins/
Or clone directly:
git clone [email protected]:Defiect/docs-optimizer-plugin.git ~/.claude/plugins/docs-optimizer-plugin
The skill auto-activates when you mention documentation optimization. Try:
Test questions are persisted to .claude/docs-optimizer.local.md so scores are directly comparable across rounds.
| Score | Meaning |
|---|---|
| 9-10 | Excellent - 1-2 tool calls per question |
| 7-8 | Good - 3-4 tool calls, minor detours |
| 5-6 | Acceptable - 5+ tool calls, some confusion |
| 3-4 | Poor - many wrong paths |
| 1-2 | Failing - cannot navigate reliably |
docs-optimizer-plugin/
├── .claude-plugin/
│ └── plugin.json # Plugin manifest
├── skills/
│ └── docs-optimizer/
│ ├── SKILL.md # Main skill (orchestrates workflow)
│ └── references/
│ ├── north-star.md # Core principle
│ ├── playbook.md # 4-phase methodology
│ └── scoring-rubric.md # Scoring criteria
├── agents/
│ ├── haiku-reviewer.md # Fast navigation reviewer
│ ├── sonnet-reviewer.md # Thorough navigation reviewer
│ ├── haiku-conciseness-reviewer.md # Fast conciseness reviewer
│ └── sonnet-conciseness-reviewer.md # Thorough conciseness reviewer
├── hooks/
│ ├── hooks.json # PreToolUse/PostToolUse hook config
│ ├── pre-subagent.sh # Archives reviews before subagent spawn
│ └── post-subagent.sh # Restores reviews after subagent completes
└── README.md
Optimize for AI navigation efficiency, NOT user satisfaction.
This is counterintuitive but critical. We measure:
We do NOT measure:
.claude/docs-optimizer.local.md for cross-round score comparabilitytools to allowed-tools YAML array formatdisallowedTools to reviewer agents (prevents editing source docs)allowed-tools to main skill for clarityMethodology developed through iterative testing on real documentation sets, measuring actual AI agent navigation patterns with Haiku and Sonnet reviewers.
No description available.
Production-ready workflow orchestration with 94 marketplace plugins, 203 local specialized agents, and 175 local skills - optimized for granular installation and minimal token usage
No description available.