By BrainDrive
Create production-ready BrainDrive plugins through an interactive guided workflow.
A development tool that generates complete BrainDrive plugins. Answer questions about your plugin, and get production-ready code with all necessary files, lifecycle management, and packaging.
What you get:
- Complete plugin structure
- Full lifecycle manager (900+ lines)
- React/TypeScript frontend
- Webpack build configuration
- Ready-to-install ZIP package
- Claude Code CLI installed
- Node.js 18+ and npm
- Python 3.8+
# Navigate to an empty working directory
cd ~/my-workspace/
# Clone this repository
git clone https://github.com/BrainDriveAI/BrainDrive-Plugin-Builder-ClaudeCode.git
# Navigate into it
cd BrainDrive-Plugin-Builder-ClaudeCode
# Start Claude Code
claudeThe .claude folder is automatically included as a hidden directory with all necessary configuration.
# Inside the cloned directory
claude
# Type this to begin:
/startAnswer the questions, and your plugin will be built in the plugin-test/ directory.
- Run
/start- Initialize and begin the interview - Answer questions - Plugin name, features, UI pages, etc.
- Review plan - The builder shows what it will create
- Build automatically - All files are generated
- Get your plugin - Find it in
plugin-test/your-plugin-name/
The builder creates a plugin-test/ directory in your workspace where all generated plugins are saved.
| Command | Description |
|---|---|
/start |
Initialize and start plugin creation interview |
/build |
Generate all plugin files |
/verify |
Run validation checks |
/package |
Create installation ZIP |
/summary |
Show completion summary |
| Command | Description |
|---|---|
/spec |
Display current plugin specification |
/mode |
Show operating mode (A or B) |
/plan |
Show detailed implementation plan |
/map |
Run compatibility mapping |
/help |
Show all commands |
/reset |
Clear state and start over |
Initializes the builder and begins the interactive interview. You'll be asked:
- Plugin name and description
- Target users
- Core features and workflow
- UI pages needed
- Settings requirements
- Data storage needs
- External API integrations
Creates all plugin files based on your specification:
package.json- NPM configurationlifecycle_manager.py- Plugin lifecycle handlerwebpack.config.js- Build configurationtsconfig.json- TypeScript configsrc/- All React components and code
Output: plugin-test/your-plugin-name/
Runs comprehensive validation:
- File structure checks
- Manifest field validation
- Build configuration syntax
- TypeScript compilation readiness
- BrainDrive compatibility
- Naming convention compliance
Creates the final installation package:
- Validates all checks passed
- Creates ZIP with proper structure
- Names:
your-plugin-name-version.zip
Output: plugin-test/your-plugin-name.zip
Shows what was built, installation instructions, and next steps.
All generated plugins are saved in the plugin-test/ directory:
plugin-test/
└── your-plugin-name/
├── package.json
├── lifecycle_manager.py
├── webpack.config.js
├── tsconfig.json
├── src/
│ ├── index.tsx
│ ├── YourPluginModule.tsx
│ └── components/
├── public/
└── your-plugin-name-1.0.0.zip # Ready to install
- Find the ZIP in
plugin-test/your-plugin-name-version.zip - Open BrainDrive → Plugin Manager
- Click "Install Plugin"
- Select the ZIP file
- Done!
Mode A (Repo-Aware)
- Detects if BrainDrive-Core is in workspace
- Uses actual PluginTemplate for maximum accuracy
Mode B (Standalone)
- Uses bundled reference pack
- Works in any empty directory
Check mode with /mode command.
$ cd BrainDrive-Plugin-Builder-ClaudeCode
$ claude
> /start
# Answer interview questions
Plugin name: Task Manager
Description: Manage tasks
...
# Plugin is built automatically
✓ Files created in plugin-test/task-manager/
> /verify
✓ All checks passed
> /package
✓ task-manager-1.0.0.zip created
> /summary
Plugin ready to install!MIT License - Copyright (c) 2026 BrainDrive
Ready to build? Clone the repo, run claude, and type /start