Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By orbanv1.2.0MITIn 3 marketplaces
Sets up hierarchical AGENTS.md and CLAUDE.md files so agents can navigate a codebase and avoid known pitfalls. Hooks run on their own: they inject pitfalls before edits and queue learnings from sessions and tool failures for your review.
Trending plugins
7-day copy clicks
Claude hands work to one, or you mention it with @.
2 cautions to review before installing
A hook runs when Claude uses the Bash tool
A hook runs when Claude writes or edits files
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
3 marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
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 Edit/Write/NotebookEdit |
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/NotebookEdit/file-modifying Bash failures |
| Stop prompt | Stop | LLM evaluates session for learnings to capture |
Canonical hook-slot taxonomy lives in hooks/hooks.json for config and hooks/AGENTS.md for payload contracts. matcher values are tool names within a slot, not extra hook events.
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
7-day copy clicks
Plugins from other owners that cover similar ground
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub orban/intent-layer --plugin intent-layer