-
Notifications
You must be signed in to change notification settings - Fork 11
Agent Brain Plugin Quickstart
Rick Hightower edited this page Feb 1, 2026
·
1 revision
Feature: 114-agent-brain-plugin Date: 2025-01-31
This feature converts the existing Agent Brain skill into a full Claude Code plugin with commands, agents, and skills for document search and setup assistance.
Before working on this feature:
-
Understand the plugin structure:
- Read
data-model.mdfor entity definitions - Read
contracts/command-schema.mdfor command format - Read
contracts/agent-schema.mdfor agent format - Read
contracts/skill-schema.mdfor skill format
- Read
-
Understand the source material:
- Existing skill:
agent-brain-skill/using-agent-brain/ - CLI commands:
agent-brain-cli/ - Plugin template:
~/.claude/skills/creating-plugin-from-skill/
- Existing skill:
-
Required skills to reference:
-
creating-plugin-from-skill- Plugin creation workflow -
skill-creator- Skill best practices -
improving-skills- Quality grading rubric
-
agent-brain-plugin/
├── .claude-plugin/
│ └── marketplace.json # Plugin manifest
├── commands/ # 15 slash commands
│ ├── agent-brain-search.md
│ ├── agent-brain-semantic.md
│ ├── agent-brain-keyword.md
│ ├── agent-brain-install.md
│ ├── agent-brain-setup.md
│ ├── agent-brain-config.md
│ ├── agent-brain-init.md
│ ├── agent-brain-verify.md
│ ├── agent-brain-start.md
│ ├── agent-brain-stop.md
│ ├── agent-brain-status.md
│ ├── agent-brain-list.md
│ ├── agent-brain-index.md
│ ├── agent-brain-reset.md
│ └── agent-brain-help.md
├── agents/ # 2 proactive agents
│ ├── search-assistant.md
│ └── setup-assistant.md
├── skills/ # 2 skills with references
│ ├── using-agent-brain/
│ │ ├── SKILL.md
│ │ └── references/
│ │ ├── hybrid-search-guide.md
│ │ ├── bm25-search-guide.md
│ │ ├── vector-search-guide.md
│ │ └── api_reference.md
│ └── agent-brain-setup/
│ ├── SKILL.md
│ └── references/
│ ├── installation-guide.md
│ ├── configuration-guide.md
│ └── troubleshooting-guide.md
├── README.md
└── .gitignore
| Category | Commands | Purpose |
|---|---|---|
| Search |
/agent-brain-search, /agent-brain-semantic, /agent-brain-keyword
|
Document search |
| Setup |
/agent-brain-install, /agent-brain-setup, /agent-brain-config, /agent-brain-init, /agent-brain-verify
|
Installation & config |
| Server |
/agent-brain-start, /agent-brain-stop, /agent-brain-status, /agent-brain-list
|
Server management |
| Indexing |
/agent-brain-index, /agent-brain-reset
|
Document indexing |
| Help | /agent-brain-help |
Usage help |
| Plugin Command | CLI Command |
|---|---|
/agent-brain-search "query" |
agent-brain query "query" --mode hybrid |
/agent-brain-semantic "query" |
agent-brain query "query" --mode vector |
/agent-brain-keyword "query" |
agent-brain query "query" --mode bm25 |
/agent-brain-start |
agent-brain start --daemon |
/agent-brain-status |
agent-brain status |
/agent-brain-index /path |
agent-brain index /path |
- Create output directory:
agent-brain-plugin/ - Create marketplace.json with all references
- Create README.md and .gitignore
- Create each command file in
commands/ - Use contract schemas from
contracts/command-schema.md - Include CLI mapping, output formatting, error handling
- Create agent files in
agents/ - Use contract schemas from
contracts/agent-schema.md - Test trigger patterns match intended use cases
- Create skill directories in
skills/ - Migrate content from existing
agent-brain-skill/ - Create reference files with detailed documentation
- Grade skills using
improving-skillsrubric - Target 95% score for both skills
- Iterate until quality threshold met
- Create GitHub repository
- Push plugin to
SpillwaveSolutions/agent-brain-plugin - Document installation instructions
Before completing each phase:
- Files follow contract schemas exactly
- YAML frontmatter validates correctly
- Markdown body includes all required sections
- Links between files are correct
- No duplicate or conflicting definitions
- Use lowercase, hyphenated parameter names
- Mark required parameters explicitly
- Provide sensible defaults for optional parameters
- Test regex patterns for false positives
- Ensure patterns cover common phrasings
- Avoid overly broad patterns that trigger too often
- Keep SKILL.md under 500 lines
- Put details in references/ folder
- Use descriptive file names for references
After implementation:
- Install plugin:
cd ~/.claude/plugins && git clone <url> - Restart Claude Code
- Test each command works correctly
- Verify agents trigger on appropriate messages
- Confirm skills load when referenced
- Design-Architecture-Overview
- Design-Query-Architecture
- Design-Storage-Architecture
- Design-Class-Diagrams
- GraphRAG-Guide
- Agent-Skill-Hybrid-Search-Guide
- Agent-Skill-Graph-Search-Guide
- Agent-Skill-Vector-Search-Guide
- Agent-Skill-BM25-Search-Guide
Search
Server
Setup
- Pluggable-Providers-Spec
- GraphRAG-Integration-Spec
- Agent-Brain-Plugin-Spec
- Multi-Instance-Architecture-Spec