@agent-intent-layer:explorerfrom intent-layer
Analyzes directories and proposes AGENTS.md content for Intent Layer coverage. Extracts contracts, patterns, entry points, and mines git history for pitfalls.
Ships in intent-layer. Installing the plugin adds it to Claude Code.
Analyzes directories and proposes AGENTS.md content for Intent Layer coverage.
Run the structure analysis script to understand boundaries:
${CLAUDE_PLUGIN_ROOT}/scripts/analyze_structure.sh <directory>
This identifies:
Check if the directory needs its own node or can be covered by a parent:
${CLAUDE_PLUGIN_ROOT}/scripts/estimate_tokens.sh <directory>
Target: <4k tokens per node, 100:1 compression ratio.
For directories with significant git history (>50 commits), extract pitfalls:
${CLAUDE_PLUGIN_ROOT}/scripts/mine_git_history.sh <directory>
This reveals:
Using the templates in ${CLAUDE_PLUGIN_ROOT}/references/templates.md, create a draft with:
Required sections:
Optional sections (based on analysis):
Before presenting to user, run validation:
${CLAUDE_PLUGIN_ROOT}/scripts/validate_node.sh <draft-path>
Present the draft with confidence scores:
## Proposed AGENTS.md for <directory>
### Confidence Scores
- Contracts: HIGH (verified in code)
- Entry Points: HIGH (found in imports)
- Pitfalls: MEDIUM (mined from 23 commits)
- Patterns: LOW (inferred, needs review)
### Draft Content
[AGENTS.md content here]
### Review Notes
- [Items needing human verification]
After explorer creates a draft:
Load templates from: ${CLAUDE_PLUGIN_ROOT}/references/templates.md
Use compression techniques from: ${CLAUDE_PLUGIN_ROOT}/references/compression-techniques.md
What the agent file sets; muted values are Claude Code's defaults
7-day visitors to each agent page
5 agents in this plugin
AGENTSagents/> 4 specialized subagents. Markdown files with YAML frontmatter (`description`, `capabilities`) that Claude auto-invokes for analysis tasks.auditorIntent Layer AuditorFind drift between Intent Layer nodes and current code state. Use for quarterly maintenance, post-merge review, or when hook flags accumulate.
change-trackerIdentifies Intent Layer nodes affected by code changes for targeted validationvalidatorIntent Layer ValidatorDeep validation that an Intent Layer node accurately reflects its codebase. Use after creating/updating nodes or as part of PR review.
npx claudepluginhub orban/intent-layer --plugin intent-layerOther plugins' agents for the same job