Plugin marketplace for Intent Layer - hierarchical AGENTS.md infrastructure for AI-navigable codebases
npx claudepluginhub orban/intent-layerHierarchical AGENTS.md infrastructure for AI-navigable codebases. Create CLAUDE.md/AGENTS.md files that help AI agents navigate your codebase like senior engineers.
No description available.
Production-ready workflow orchestration with 79 focused plugins, 184 specialized agents, and 150 skills - optimized for granular installation and minimal token usage
Curated collection of 141 specialized Claude Code subagents organized into 10 focused categories
Claude Code plugin for creating and maintaining Intent Layer infrastructure.
Intent Layers solve a fundamental problem: AI agents reading raw code lack the tribal knowledge that experienced engineers have.
Senior engineers know:
Intent Layers compress this knowledge into high-signal AGENTS.md/CLAUDE.md files that give agents the same intuition—without reading thousands of lines of code.
# Add the marketplace
/plugin marketplace add orban/intent-layer
# Install the plugin
/plugin install intent-layer@orban
Or using the CLI:
claude plugin marketplace add orban/intent-layer
claude plugin install intent-layer@orban
# Clone the repository
git clone https://github.com/orban/intent-layer.git
# Install from local path
claude plugin install ./intent-layer
Interactive workflows invoked via slash commands:
| Skill | Purpose | Command |
|---|---|---|
intent-layer | Set up new Intent Layer infrastructure | /intent-layer |
intent-layer-maintenance | Maintain existing Intent Layers | /intent-layer-maintenance |
intent-layer-onboarding | Orient new developers using Intent Layer | /intent-layer-onboarding |
intent-layer-query | Query Intent Layer for answers | /intent-layer-query |
review-mistakes | Interactive review of pending mistake reports | /review-mistakes |
Specialized subagents that Claude invokes automatically when appropriate:
| Agent | Purpose |
|---|---|
explorer | Analyze directories and propose AGENTS.md content |
validator | Deep validation that nodes accurately reflect codebase |
auditor | Find drift between nodes and current code state |
Automatic event handlers that keep the Intent Layer active during development:
| Hook | Event | Purpose |
|---|---|---|
post-edit-check | PostToolUse | Remind about Intent Layer coverage after edits |
pre-edit-check | PreToolUse | Inject pitfalls before edits, warn about uncovered dirs |
inject-learnings | SessionStart | Inject recent learnings, suggest setup if no Intent Layer |
capture-tool-failure | PostToolUseFailure | Auto-create skeleton mistake reports on Edit/Write failures |
| Stop prompt | Stop | LLM evaluates session for learnings to capture |
The plugin implements a continuous, mostly-automated learning loop:
Agent makes mistake → PostToolUseFailure auto-creates skeleton
↓
Skeleton in .intent-layer/mistakes/pending/
↓
Stop hook evaluates: enrich or discard?
↓
Next session: Agent offers interactive review
or user runs /review-mistakes
↓
User decides: Accept / Reject / Discard
↓ (on accept)
Auto-integrated via lib/integrate_pitfall.sh
Pitfall added to covering AGENTS.md
↓
Next session: SessionStart injects learnings
↓
PreToolUse injects relevant pitfalls before edits
Interactive review: When pending reports exist, the agent offers to walk you through them conversationally. You can also explicitly run /review-mistakes to start a review session.
Supporting scripts:
| Script | Purpose |
|---|---|
lib/integrate_pitfall.sh | Auto-add pitfalls to covering AGENTS.md |
scripts/capture_mistake.sh | Manual capture (if auto-capture missed something) |
scripts/review_mistakes.sh | Terminal-based review (alternative to agent) |
# Check if Intent Layer exists
./scripts/detect_state.sh /path/to/project
# Analyze token distribution
./scripts/estimate_all_candidates.sh /path/to/project
# Create nodes using the skill
# Then in Claude Code: /intent-layer /path/to/project
# Detect which nodes need review after changes
./scripts/detect_changes.sh main HEAD
# Generate pain point capture template
./scripts/capture_pain_points.sh pain_points.md
# Run maintenance workflow
# In Claude Code: /intent-layer-maintenance /path/to/project