Package Exports
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
🚀 roocommander
Command Line Interface (CLI) tool for initializing and managing Roo Commander workspace configurations within your projects.
What is Roo Commander?
Roo Commander is an advanced configuration layer and opinionated workflow system built specifically for the Roo Code VS Code extension. It transforms your Roo Code experience by implementing a sophisticated framework for managing software development projects using a structured, multi-agent approach. It brings specialized AI agents, structured task management (MDTM), and enhanced context handling directly into your VS Code environment.
Learn more about the core concepts and features in the main Roo Commander README.
Purpose of roocommander
This CLI tool (roo) is the essential starting point for integrating the Roo Commander framework into your projects. It sets up the necessary directory structures and configuration files required by Roo Code to activate and manage the specialized AI agents and workflows.
Prerequisites
- Node.js >= 18.0.0
- Roo Code VS Code extension installed and configured.
Installation
You don't need to install this package globally. Use npx to run it directly within your project directory:
# Example: Initialize Roo Commander in the current project
npx roocommander initIf you prefer a global installation (less common):
npm install -g roocommanderKey Features Enabled by the CLI
Using roocommander enables the core functionalities of the Roo Commander system:
- 🚀 Workspace Initialization: Creates the foundational
.roo/and.ruru/directories and the.roomodesfile, activating the multi-agent system within Roo Code. - 🧠 Structured Artifacts Setup: Prepares the ground for structured project artifacts (like tasks in
.ruru/tasks/and decisions in.ruru/decisions/) used for context management and traceability (MDTM). - 🧩 MCP Server Integration: Provides commands to easily install and configure Model Context Protocol (MCP) servers, granting Roo Commander agents extended capabilities (e.g., web search via
vertex-ai, repository interactions viagithub). - ⚙️ Agent Configuration: Ensures Roo Code recognizes the specialized roles (modes), rules, and knowledge bases defined by Roo Commander.
Commands
Here are the primary commands available:
init
Initializes the Roo Commander configuration files (.roomodes) and directory structure (.roo/, .ruru/) within your current project workspace. This command is the first step to prepare your project for the Roo Commander multi-agent framework.
If configuration files or directories already exist, you will be prompted interactively whether to overwrite them.
Usage:
# Navigate to your project's root directory
cd /path/to/your/project
# Initialize Roo Commander configuration
npx roocommander initOptions:
--help: Display help for theinitcommand.
(Note: Template functionality (--template <name>) is planned for a future release.)
install-mcp
Installs and configures a specified Model Context Protocol (MCP) server by updating the .roo/mcp.json and .roomodes files. MCP servers provide Roo Commander agents with additional tools and capabilities beyond standard LLM functions.
(Note: This command is currently under development. It will set up the basic configuration entries but may require manual steps for full server setup.)
Usage:
# Install the Vertex AI MCP server (provides web search, file system tools, etc.)
npx roocommander install-mcp vertex-ai
# Install the GitHub MCP server (provides GitHub API tools)
npx roocommander install-mcp github
# Install the basic Fetch MCP server (provides URL fetching)
npx roocommander install-mcp fetchArguments:
server-name: The identifier of the MCP server to install (e.g.,vertex-ai,github,fetch). Check the Roo Commander documentation or useroo-commandermode in Roo Code for available servers.
Options:
--help: Display help for theinstall-mcpcommand.
help
Displays help information for the CLI or a specific command.
Usage:
# Display general help for the CLI
npx roocommander --help
# Display help specifically for the 'init' command
npx roocommander init --help
# Display help specifically for the 'install-mcp' command
npx roocommander install-mcp --helpBasic Workflow Example
- Navigate to your project directory:
cd /path/to/your/project - Initialize Roo Commander:
Run the
initcommand. This creates the necessary configuration for Roo Code.npx roocommander init
- (Recommended) Install MCP Servers:
Install key MCP servers to enhance agent capabilities.
vertex-aiis highly recommended.npx roocommander install-mcp vertex-ai npx roocommander install-mcp github
- Reload VS Code:
Ensure Roo Code picks up the new configuration by reloading your VS Code window (
Ctrl+Shift+PorCmd+Shift+P->"Developer: Reload Window"). - Start Using Roo Commander in Roo Code:
Select the
"👑 Roo Commander"mode in the Roo Code chat interface. State your high-level development goal (e.g., "Plan and implement a user authentication feature using Supabase"). Commander will then orchestrate the task using its specialized agents.
Contributing
Contributions are welcome! Please refer to the main Roo Commander repository for contribution guidelines, issue tracking, and discussions.
License
This project is licensed under the MIT License - see the LICENSE file for details.