A comprehensive CLI tool for supercharging Claude Code with security, productivity, and workflow automation features. Transform your Claude Code experience with pre-configured commands, security hooks, intelligent status displays, and specialized AI agents.
Note
If you encounter permission errors when running the commands below, add sudo before the command.
# Add the AIBlueprint marketplace
/plugin marketplace add melvynx/aiblueprint
# Install the base plugin
/plugin install aibp-base@AIBlueprint
# Or install directly from GitHub
/plugin install github:melvynx/aiblueprint# Run immediately without installation
bunx aiblueprint-cli@latest claude-code setup
# Or install globally and use
npm install -g aiblueprint-cli
aiblueprint claude-code setup- Plugin Installation
- CLI Installation & Usage
- Command Reference
- Available Features
- Configuration System
- Templates Catalog
- Installation Targets
- Security Features
- Development
The easiest way to get started is by installing AIBlueprint as a Claude Code plugin:
# Step 1: Add the AIBlueprint marketplace
/plugin marketplace add melvynx/aiblueprint
# Step 2: Install the aibp-base plugin
/plugin install aibp-base@AIBlueprint
# Alternative: Install directly from GitHub
/plugin install github:melvynx/aiblueprintThe aibp-base plugin includes:
- β
16 Custom Commands -
/commit,/create-pull-request,/deep-code-analysis, etc. - β 3 Specialized Agents - explore-codebase, Snipper, websearch
- β Security Hooks - Command validation and TypeScript processing
- β Custom Statusline - Git status, cost tracking, and token usage
- β Notification Sounds - Audio alerts for task completion
# List installed plugins
/plugin list
# Update plugin to latest version
/plugin update aibp-base
# Remove plugin
/plugin uninstall aibp-base
# View marketplace plugins
/plugin marketplace listPlugin Installation (Recommended):
- β Automatic updates via marketplace
- β No CLI tool installation needed
- β Direct integration with Claude Code
- β Easy to manage and update
CLI Tool Installation:
- β More control over installation
- β Custom folder locations
- β Interactive feature selection
- β Symlink management for other tools
# Global installation
npm install -g aiblueprint-cli
bun install -g aiblueprint-cli
# Run without installation
npx aiblueprint-cli@latest claude-code setup
pnpm dlx aiblueprint-cli@latest claude-code setup
bunx aiblueprint-cli@latest claude-code setup# Interactive setup with feature selection
bunx aiblueprint-cli@latest claude-code setup
# Non-interactive setup (install all features)
bunx aiblueprint-cli@latest claude-code setup --skip
# Install to custom directory
bunx aiblueprint-cli@latest claude-code setup --folder ./custom-claude-config
# Install to project directory
cd your-project
bunx aiblueprint-cli@latest claude-code setup # Creates .claude/ in project root| Command | Description | Options |
|---|---|---|
bunx aiblueprint-cli@latest claude-code setup |
Interactive setup with feature selection | -f, --folder <path> (alias for --claudeCodeFolder), --claudeCodeFolder <path>, --codexFolder <path>, --openCodeFolder <path>, --factoryAiFolder <path>, -s, --skip |
bunx aiblueprint-cli@latest claude-code symlink |
Create symlinks between CLI tools (Codex, OpenCode, FactoryAI) | --claudeCodeFolder <path>, --codexFolder <path>, --openCodeFolder <path>, --factoryAiFolder <path> |
bunx aiblueprint-cli@latest claude-code statusline |
Setup custom statusline with git status, costs, and token usage | -f, --folder <path> |
bunx aiblueprint-cli@latest claude-code add hook <type> |
Install specific hook | -f, --folder <path> |
bunx aiblueprint-cli@latest claude-code add commands [name] |
List or install commands | -f, --folder <path> |
# Setup with options
bunx aiblueprint-cli@latest claude-code setup --skip # Install all features
bunx aiblueprint-cli@latest claude-code setup --folder ~/.my-claude # Custom location
bunx aiblueprint-cli@latest claude-code setup --claudeCodeFolder ~/.claude --codexFolder ~/.codex # Separate folders
# Add specific hooks
bunx aiblueprint-cli@latest claude-code add hook post-edit-typescript # TypeScript processing hook
# Manage commands
bunx aiblueprint-cli@latest claude-code add commands # List all available commands
bunx aiblueprint-cli@latest claude-code add commands commit # Install commit command
bunx aiblueprint-cli@latest claude-code add commands deep-code-analysis # Install analysis command
# Create symlinks between CLI tools
bunx aiblueprint-cli@latest claude-code symlink # Interactive symlink manager
bunx aiblueprint-cli@latest claude-code symlink --factoryAiFolder ~/.factory # With custom paths
# Setup statusline
bunx aiblueprint-cli@latest claude-code statusline # Quick statusline setup
bunx aiblueprint-cli@latest claude-code statusline --folder ~/.my-claude # Custom locationpost-edit-typescript- Automatic TypeScript file processing (Prettier + ESLint + type checking)
The CLI intelligently determines where to install configurations:
- Project Local (
.claude/in project root) - When run in a Git repository - Global (
~/.claude/) - When not in a Git repository or with custom folder - Custom Path - When using
--folderoption
cc- Claude Code with permissions skipped (claude --dangerously-skip-permissions)ccc- Claude Code with continue mode (claude --dangerously-skip-permissions -c)- Platform support: macOS (
.zshenv), Linux (.bashrc/.zshrc)
- 700+ line security system protecting against dangerous bash commands
- Real-time validation before command execution via PreToolUse hooks
- Smart detection of privilege escalation, destructive operations, and command injection
- Comprehensive logging to
~/.claude/security.logwith severity levels
- Git integration - Branch status, changes, and repository info
- Cost tracking - Session costs, daily limits, and token usage via ccusage
- Real-time updates - Command-triggered statusline refresh
- Colored output - Visual indicators for different status types
- Quick setup - Install with one command:
pnpm dlx aiblueprint-cli claude-code statusline
Development Workflow
commit- Fast conventional commits with immediate pushcreate-pull-request- Auto-generated PR creation with templatesfix-pr-comments- Systematic PR review comment resolutionrun-tasks- Execute GitHub issues with full EPCT workflow
Code Analysis & Research
deep-code-analysis- Comprehensive codebase investigation with researchexplain-architecture- Pattern analysis with ASCII diagramscleanup-context- Memory optimization and duplicate removal
Utilities & Automation
claude-memory- Context management for long sessionswatch-ci- Automated CI/CD monitoring and failure fixingprompt-command/prompt-agent- Template creation utilitiesepct- Systematic Explore-Plan-Code-Test methodology
- explore-codebase (yellow) - Comprehensive code discovery and analysis
- Snipper (blue) - Rapid code modification specialist with minimal output
- websearch (yellow) - Quick web research with authoritative sources
- Finish sound - Audio alert for completed operations (macOS afplay)
- Need-human sound - Audio alert for attention requests
- Volume control - Configurable audio levels
- Multi-tool integration - Create symlinks between Claude Code, Codex, OpenCode, and FactoryAI
- Interactive selection - Choose source, content type (commands/agents), and destinations
- Smart validation - Prevents overwriting non-symlink directories and validates paths
- Bidirectional sync - Sync commands and agents in any direction
- Supported tools:
- Claude Code - Commands + Agents (
~/.claude/) - Codex - Commands only (
~/.codex/prompts) - OpenCode - Commands only (
~/.config/opencode/command) - FactoryAI - Commands + Droids/Agents (
~/.factory/)
- Claude Code - Commands + Agents (
The CLI automatically manages your ~/.claude/settings.json with:
{
"statusLine": {
"type": "command",
"command": "bun ~/.claude/scripts/statusline/src/index.ts",
"padding": 0
},
"hooks": {
"PreToolUse": [
{
"matcher": "Bash",
"hooks": [{"type": "command", "command": "bun ~/.claude/scripts/validate-command.js"}]
}
],
"PostToolUse": [
{
"matcher": "Edit|Write|MultiEdit",
"hooks": [{"type": "command", "command": "bun ~/.claude/hooks/hook-post-file.ts"}]
}
]
}
}- Remote-first approach - Always downloads latest configurations from GitHub
- Automatic fallback - Uses local files when GitHub is unavailable
- Version independence - Get updates without CLI updates
- Rate limiting aware - Handles GitHub API limitations gracefully
Development Workflow (4 commands)
| Command | Tools | Purpose |
|---|---|---|
commit |
Bash(git :*) |
Quick conventional commits with immediate push |
create-pull-request |
Bash(git :*), Bash(gh :*) |
PR creation with auto-generated descriptions |
fix-pr-comments |
Bash(gh :*), Read, Edit |
Systematic PR review resolution |
run-tasks |
Bash(gh :*), Bash(git :*) |
GitHub issue execution with EPCT |
Analysis & Research (2 commands)
| Command | Tools | Purpose |
|---|---|---|
deep-code-analysis |
Task, WebSearch, mcp__context7__* |
Comprehensive codebase investigation |
explain-architecture |
Read, Glob, Grep, Task |
Architectural pattern analysis |
Maintenance & Optimization (2 commands)
| Command | Tools | Purpose |
|---|---|---|
cleanup-context |
TodoWrite, MultiEdit, Glob |
Memory bank optimization |
watch-ci |
Bash(gh :*), Bash(sleep :*) |
Automated CI monitoring |
Utilities (8 commands)
| Command | Tools | Purpose |
|---|---|---|
claude-memory |
Read, Write, Edit, Glob |
CLAUDE.md file management |
epct |
Task |
Explore-Plan-Code-Test methodology |
prompt-command |
Read, Write, Edit |
Command template creation |
prompt-agent |
Read, Write, Edit |
Agent template creation |
| Hook | Language | Purpose | Triggers |
|---|---|---|---|
post-edit-typescript |
TypeScript/Bun | File processing after edits | Edit, Write, MultiEdit on .ts/.tsx |
| Script | Language | Purpose |
|---|---|---|
validate-command.js |
Bun/JavaScript | Security validation for bash commands |
statusline-ccusage.sh |
Bash | Git status and usage tracking display |
When run in a Git repository, creates .claude/ in your project root:
cd your-project/
bunx aiblueprint-cli@latest claude-code setup
# Creates: your-project/.claude/Benefits:
- Project-specific configurations
- Team collaboration ready
- Version control friendly
- Isolated environments
When not in a Git repository, uses global directory:
cd ~/
bunx aiblueprint-cli@latest claude-code setup
# Creates: ~/.claude/Benefits:
- System-wide configurations
- Works across all projects
- Persistent settings
Use --folder for specific locations:
bunx aiblueprint-cli@latest claude-code setup --folder ./custom-config
bunx aiblueprint-cli@latest claude-code setup --folder /opt/claude-configThe security system protects against dangerous operations:
Critical Commands Blocked:
rm -rf(with path validation)dd,mkfs,fdisk(disk operations)chmod 777,chown -R(permission changes)curl | bash,wget | sh(remote execution)sudooperations (privilege escalation)
Security Logging:
{
"timestamp": "2024-01-15T10:30:00.000Z",
"command": "rm -rf /",
"severity": "CRITICAL",
"action": "BLOCKED",
"reason": "Destructive command with critical path"
}Safe Paths Allowed:
./,~/, relative pathsnode_modules/,.git/, common safe directories- Temporary directories (
/tmp/,/var/tmp/)
- PreToolUse validation - Commands checked before execution
- Real-time analysis - Pattern matching and rule evaluation
- User confirmation - Interactive prompts for questionable commands
- Comprehensive rules - 50+ security patterns and checks
# Clone and setup
git clone <repository>
cd aiblueprint-cli
bun install
# Development mode
bun run dev claude-code setup
bun run dev claude-code add commands
# Testing
bun run test:run # Run test suite
bun run dev-test # Test with temporary config# Build for distribution
bun run build # Compiles to dist/cli.js
# Local testing
bun run test-local # Creates npm link
aiblueprint claude-code setup # Test globally
# Release (automated)
bun run release # Version bump, build, tag, publishsrc/
βββ cli.ts # Main CLI entry point
βββ commands/
β βββ setup.ts # Main setup command
β βββ addHook.ts # Hook installation
β βββ addCommand.ts # Command installation
βββ utils/
βββ claude-config.ts # Configuration utilities
βββ file-installer.ts # GitHub/local fallback
βββ github.ts # GitHub API integration
claude-code-config/ # Template repository
βββ commands/ # Command templates
βββ hooks/ # Hook scripts
βββ agents/ # Agent configurations
βββ scripts/ # Utility scripts
βββ song/ # Notification sounds
# Test all major workflows
bun run dev claude-code setup --skip
bun run dev claude-code add hook post-edit-typescript
bun run dev claude-code add commands
bun run dev claude-code add commands commit
# Test with custom paths
bun run dev claude-code setup --folder ./test-config- Runtime: Node.js 16+ or Bun
- Platform: macOS (full support), Linux (partial), Windows (limited)
- Dependencies: Git (for repository detection)
- Claude Code: Latest version installed
- Permissions: Ability to modify
~/.claude/settings.json
- bun: Enhanced script execution and hooks
- ccusage: Advanced statusline with cost tracking
- gh CLI: GitHub integration for PR/issue commands
- prettier, eslint: TypeScript hook functionality
- Fork the repository
- Create a feature branch
- Make your changes
- Run tests:
bun run test:run - Submit a pull request
- Add template files to
claude-code-config/ - Update metadata with YAML frontmatter
- Test installation:
bun run dev claude-code add commands <name> - Document in README
Unlock advanced features with AIBlueprint CLI Premium:
- β¨ Advanced Statusline - Enhanced git info, real-time costs, and token usage tracking
- π Premium Commands - Exclusive workflow automation templates
- π€ Premium Agents - Specialized AI agents for complex tasks
- π¦ Priority Updates - Get new features first
- π¬ Priority Support - Direct help when you need it
# 1. Get your premium token at https://mlv.sh/claude-cli
# 2. Activate premium
aiblueprint claude-code pro activate YOUR_TOKEN
# 3. Setup premium configs
aiblueprint claude-code pro setup# Check premium status
aiblueprint claude-code pro status
# Update premium configs
aiblueprint claude-code pro updateLearn more: https://mlv.sh/claude-cli
MIT License - see LICENSE file for details.
Created by AIBlueprint - Enhancing Claude Code for modern development workflows.
Need help? Open an issue or check our documentation.