Package Exports
- roocommander
- roocommander/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (roocommander) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Roo Commander v9.0.0
Bridge your Claude Code skills to Roo Code with intelligent orchestration
Roo Commander is a three-component system that brings Claude Code's 60+ production-tested skills to Roo Code VS Code extension through a CLI tool, custom instructions, and an orchestrator mode.
๐ฏ What It Does
Roo Commander makes your Roo Code AI agent skill-aware:
- Automatic Skill Discovery - Before implementing features, checks if relevant skills exist
- CLI Integration - List, search, and load skills directly from Roo Code
- Orchestrator Mode - Lightweight mode that delegates to Code/Architect/Debug with skill context
- Session Management - Track progress through phases with /wrap-session and /continue-session
- Project Planning - Generate IMPLEMENTATION_PHASES.md with /plan-project
Why? Skills contain production-tested patterns, known issue prevention, and token-efficient documentation. Using skills saves 60-87% tokens vs web search + trial-and-error.
๐ Quick Start
1. Install CLI
npm install -g roocommander2. Install Roo Commander Mode
Global Installation (Recommended)
roocommander initThis installs Roo Commander globally - available in ALL your projects:
- Writes to
~/.config/Code/.../custom_modes.yaml - Copies rules to
~/.roo/rules-roo-commander/ - ๐ Crown emoji indicates the mode
Project-Scoped Installation (Optional)
cd your-project
roocommander init --projectThis installs only in the current project:
.roo/rules/- Custom instructions (skills index, CLI usage, patterns).roo/rules-roo-commander/- Mode-specific rules.roo/commands/- 9 slash commands.roomodes- Roo Commander mode entry
โ ๏ธ Important: After running roocommander init, reload VS Code (Command Palette โ "Developer: Reload Window") to see ๐ Roo Commander in the mode selector.
3. Use Roo Commander
In Roo Code:
/mode roo-commander
"I want to build a chat interface with OpenAI and save conversations to D1"
// Roo Commander will:
// 1. Check skills index for "chat", "openai", "d1"
// 2. Find: ai-sdk-ui, openai-api, cloudflare-d1
// 3. Delegate to Code mode with skill loading instructions๐ฆ What's Included
CLI Commands
roocommander list # Show all 60+ skills
roocommander search ai # Search by keyword
roocommander read "skill-name" # Load skill content
roocommander generate-index # Create skills index
roocommander init # Set up Roo CommanderSlash Commands (9 total)
Session Management:
/wrap-session- Save progress, create git checkpoint/continue-session- Resume from SESSION.md/list-skills- Browse available skills/load-skill <name>- Load specific skill
Planning:
/explore-idea- Research and validate project idea/plan-project- Create IMPLEMENTATION_PHASES.md/plan-feature- Add feature to existing project
Release:
/github-release <version>- Create GitHub release/release <version>- Complete release checklist
Roo Commander Mode
Lightweight orchestrator that:
- Analyzes user requests
- Checks
.roo/rules/01-skills-index.mdfor relevant skills - Delegates to Code/Architect/Debug modes with skill instructions
- Tracks completion
When to use:
- Starting new features (auto skill discovery)
- Complex multi-step workflows
- Unsure which skill to use
When to bypass:
- Simple edits (use Code mode directly)
- Already know which skill (load it manually)
๐ก Example Workflows
Workflow 1: New Cloudflare Workers Project
/mode roo-commander
"Set up a new Cloudflare Workers project with D1 database and Tailwind v4"
// Roo Commander response:
Found 3 relevant skills:
โข cloudflare-worker-base: Project scaffolding
โข cloudflare-d1: Database setup
โข Tailwind v4 + shadcn/ui Stack: Frontend styling
Delegating to Code mode with instructions to load these skills...
[Code mode receives message]:
Task: Scaffold Cloudflare Workers project with D1 and Tailwind v4
Skills to use:
- Run: `roocommander read "cloudflare-worker-base"`
- Run: `roocommander read "Cloudflare D1 Database"`
- Run: `roocommander read "Tailwind v4 + shadcn/ui Stack"`
[Implementation follows skill patterns]Workflow 2: Adding Authentication
/mode code // Already in Code mode
// Load skill before implementing
/load-skill clerk-auth
"Add Clerk authentication with session storage in D1"
[Code mode uses skill patterns to implement correctly]Workflow 3: Project Planning
/plan-project
// Guided workflow:
Project name: Task Manager
Tech stack: React, Cloudflare Workers, D1
Features: User auth, task CRUD, filtering
// Creates:
โข docs/IMPLEMENTATION_PHASES.md (8 phases, 20-24 hours)
โข SESSION.md (session tracking)
// Start Phase 1
[Load relevant skills and begin implementation]๐๏ธ Architecture
Three-Component System:
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ 1. CLI Tool (roocommander) โ
โ - List/search/read skills โ
โ - Generate skills index โ
โ - Initialize project โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ 2. Custom Instructions (.roo/rules/) โ
โ - 01-skills-index.md (categorized skills) โ
โ - 02-cli-usage.md (CLI command reference) โ
โ - 03-skill-patterns.md (when to check skills) โ
โ - 9 slash commands (.roo/commands/) โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ 3. Roo Commander Mode (.roomodes entry) โ
โ - Orchestrates skill discovery โ
โ - Delegates to Code/Architect/Debug โ
โ - Workflow tools only (no file access) โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโSee docs/ARCHITECTURE.md for complete system design and data flow diagrams.
๐ Documentation
- CLI Reference - Complete command documentation
- Architecture - System design and data flow
- Marketplace Guide - Packaging and submission
- Changelog - Version history
๐จ Skills Available
60+ Production-Tested Skills organized by category:
๐ค AI & LLM Integration (29 skills)
OpenAI, Claude, Gemini, Vercel AI SDK, ElevenLabs agents, chatbots
โ๏ธ Cloudflare Platform (15 skills)
Workers, D1, R2, KV, Durable Objects, Workflows, AI, Vectorize, Queues
โ๏ธ Frontend Stack (11 skills)
React, Next.js, Tailwind v4, shadcn/ui, TanStack Query/Router/Table, Zustand
๐ Authentication (3 skills)
Clerk, Better Auth, Auth.js
๐ Forms & Validation (2 skills)
React Hook Form + Zod patterns
๐ Data & Scraping (3 skills)
Drizzle ORM, Firecrawl, WordPress plugins
๐ Content Management (3 skills)
TinaCMS, Sveltia CMS, Content Collections
๐ Project Planning (1 skill)
IMPLEMENTATION_PHASES.md generation
See .roo/rules/01-skills-index.md for complete list with descriptions and keywords.
๐ง CLI Reference
list
Show all available skills.
roocommander list # Compact list
roocommander list --verbose # With descriptions
roocommander list --source ~/custom/skills # Custom directoryOutput: Table of skill names, descriptions, keywords
search
Find skills by keyword.
roocommander search database
roocommander search cloudflare
roocommander search auth --verboseScoring: Name match > keyword match > description match
read
Output skill content.
roocommander read "Cloudflare D1 Database"
roocommander read clerk-auth --raw # Plain markdownFuzzy matching: "cloudflare d1" matches "Cloudflare D1 Database"
generate-index
Create categorized skills index.
roocommander generate-index
roocommander generate-index --output custom/path.mdOutput: .roo/rules/01-skills-index.md with 7 categories
init
Initialize Roo Commander in project.
roocommander init # Interactive setup
roocommander init --force # Reinstall
roocommander init --source ~/custom/skills # Custom directoryCreates: Complete .roo/ structure, skills index, .roomodes entry
See docs/CLI_REFERENCE.md for complete documentation.
๐งช Testing
Manual Testing Checklist
CLI Commands:
-
roocommander listshows skills -
roocommander search cloudflarefinds 15 skills -
roocommander read "Cloudflare D1 Database"outputs content -
roocommander generate-indexcreates index file -
roocommander initsets up project
Slash Commands (in Roo Code):
-
/list-skillsruns CLI and formats output -
/load-skill "clerk-auth"loads skill content -
/wrap-sessioncreates git checkpoint -
/continue-sessionresumes from SESSION.md -
/plan-projectgenerates IMPLEMENTATION_PHASES.md
Roo Commander Mode:
- Mode appears in
/modelist - Skill routing works (user mentions "database" โ suggests D1/KV/R2)
- Delegation includes skill loading commands
- Completion tracking works
๐ ๏ธ Development
Setup
git clone https://github.com/jezweb/roo-commander.git
cd roo-commander
npm install
npm run build
npm link # Test globallyProject Structure
roo-commander/
โโโ src/
โ โโโ commands/ # CLI command handlers
โ โ โโโ list.ts
โ โ โโโ read.ts
โ โ โโโ search.ts
โ โ โโโ generate-index.ts
โ โ โโโ sync-index.ts
โ โ โโโ init.ts
โ โโโ parser/ # Skill YAML parsing
โ โ โโโ skill-parser.ts
โ โโโ generator/ # Index generation
โ โ โโโ index-generator.ts
โ โโโ installer/ # Template installation
โ โ โโโ github-cloner.ts
โ โ โโโ template-installer.ts
โ โโโ templates/ # Template files
โ โ โโโ .roomodes-entry.yaml
โ โ โโโ rules/ # 02-cli-usage.md, 03-skill-patterns.md
โ โ โโโ rules-roo-commander/ # Mode rules (3 files)
โ โ โโโ commands/ # Slash commands (9 files)
โ โโโ types.ts # TypeScript types
โ โโโ cli.ts # CLI entry point
โ โโโ index.ts # Package entry
โโโ docs/ # Documentation
โโโ package.json
โโโ tsconfig.json๐ License
MIT ยฉ 2025 Jeremy Dawes / Jezweb
๐ค Contributing
Contributions welcome! Please:
- Fork the repository
- Create a feature branch
- Make changes
- Add tests if applicable
- Submit PR with description
๐ Links
- GitHub: https://github.com/jezweb/roo-commander
- npm: https://www.npmjs.com/package/roocommander
- Skills Repository: https://github.com/jezweb/claude-skills
- Roo Code: [VS Code Extension]
- Claude Code: https://docs.claude.com/claude-code
๐ Support
- Issues: https://github.com/jezweb/roo-commander/issues
- Discussions: https://github.com/jezweb/roo-commander/discussions
- Email: jeremy@jezweb.net
๐ Acknowledgments
- Anthropic - Claude Code and skills ecosystem
- Roo Code Team - VS Code extension
- Jezweb Skills - 60+ production-tested skills
Version: 9.2.0 (Workflow orchestration awareness - proactive lifecycle guidance) Last Updated: 2025-11-13