Bring Anthropic's Agent Skills to Roo Code
An NPM package and template that enables Roo Code users to leverage Anthropic's Agent Skills system - the same powerful capability available in Claude Code.
- 🚀 One-Command Setup - Install skills in any project with
npx @kastalien-research/rooskills init - 🤖 Automated Generation - Create new skills from any documentation URL
- 📚 Pre-built Skills - Ready-to-use skills for development, AI automation, and documentation
- 🔧 CLI Tools - Simple commands for initialization and skill generation
- ⚡ Batch Automation - Run multiple research iterations in parallel with Sequential Feynman Batch Executor
- 🔬 Deep Research - Automated deep-learning workflows with validation and artifact collection
Install skills in your Roo Code project with a single command:
npx @kastalien-research/rooskills initThis will:
- Copy all pre-built skills to
.roo/skills/ - Add
.roomodesconfiguration for Roo Code - Create
.env.examplewith required API keys - Optionally install Python dependencies
Create a custom skill from any documentation URL:
npx @kastalien-research/rooskills generate https://docs.example.com skill-name --max-urls 20npx @kastalien-research/rooskills listAgent Skills are modular instruction sets that enhance Claude's capabilities for specific tasks. Originally developed for Claude Code, this package brings that same functionality to Roo Code by:
- Converting Agent Skills into Roo Code custom modes via
.roomodes - Organizing skills in
.roo/skills/for clean project structure - Providing automated tools to generate new skills from documentation
All skills are located in .roo/skills/ and registered as custom modes in .roomodes:
- mcp-builder - Create high-quality MCP (Model Context Protocol) servers for integrating external services
- model-enhancement-mcp - Advanced MCP server examples including analogical reasoning and sequential thinking
- document-skills - Comprehensive document creation and manipulation (DOCX, PDF, PPTX, XLSX)
- lindy-expert - Expertise in Lindy AI agent creation and management platform for business process automation
- create-llmstxt-py - Python tool for generating llms.txt documentation from websites
- skill-creator - Meta-skill for creating new effective skills with best practices
- template-skill - Basic template for starting new skills
- architecture - Architecture documentation for the skill generation system
Run multiple deep research iterations automatically with the Sequential Feynman workflow:
# Basic usage - single iteration
./scripts/feynman-batch.sh "distributed tracing systems"
# Multiple iterations for comparative analysis
./scripts/feynman-batch.sh "React Server Components" 3
# Parallel execution (2 concurrent iterations)
./scripts/feynman-batch.sh "MCP architecture" 5 --parallel 2
# Background execution
nohup ./scripts/feynman-batch.sh "WebAssembly optimization" 3 > batch.log 2>&1 &Features:
- ⚡ Parallel or sequential execution modes
- 🔄 Automatic retry logic (3 attempts per iteration)
- 📊 Real-time progress tracking via STATUS.json
- 📝 Comprehensive summary reports
- 🎯 Artifact collection (notebooks, skills, outputs)
- ⏱️ Configurable timeouts and concurrency
Output Structure:
feynman-batch-outputs/
[run-id]/
iteration-1/
output.json
artifacts/
feynman-*.ipynb
skill-name/
STATUS.json
REPORT.md
See scripts/README-feynman-batch.md for complete documentation.
After initialization, create a .env file in your project root:
# Firecrawl API Key (get from https://firecrawl.dev)
FIRECRAWL_API_KEY=your_key_here
# OpenAI API Key (get from https://platform.openai.com)
OPENAI_API_KEY=your_key_here
# Anthropic API Key (get from https://console.anthropic.com)
ANTHROPIC_API_KEY=your_key_here
# Optional: Exa API Key for enhanced research
EXA_API_KEY=your_key_hereThe skill generator runs through 5 automated phases:
- Knowledge Extraction - Scrapes and summarizes documentation using Firecrawl + OpenAI
- Ecosystem Research - Analyzes positioning and best practices using Claude + Exa
- Skill Synthesis - Generates structured SKILL.md with comprehensive guidance
- File Writing - Creates all skill files and reference documentation
- Mode Registration - Registers the skill as a mode in
.roomodes
Each generated skill includes:
.roo/skills/skill-name/
├── SKILL.md # Main skill file with YAML frontmatter
├── LICENSE.txt # License information
└── references/
├── api_documentation.md # Complete API/documentation content
└── documentation_index.md # Curated index of key resources
If you prefer not to use the NPM package:
- Fork or Clone this repository to your Roo Code workspace
- Copy
.env.exampleto.envand add your API keys - Import the
.roomodesconfiguration into your Roo Code settings - Skills in
.roo/skills/will be available as custom modes
While this package is designed for Roo Code, the skills themselves are compatible with Claude Code's native Agent Skills system:
- Skills can be used directly from Anthropic's official skills repository
- Or you can copy individual skills from this template's
.roo/skills/directory
Skills are automatically loaded from .roomodes and can be activated by:
- Mentioning the skill name in your conversation
- Switching to the skill's mode using the mode selector
- Referencing skills in task delegation
Initialize Roo Skills in your project.
Options:
-d, --dir <directory>- Target directory (default: current directory)--no-install- Skip Python dependency installation--skills <skills...>- Install specific skills only
Examples:
rooskills init
rooskills init -d ./my-project
rooskills init --no-installGenerate a new skill from documentation URL.
Arguments:
url- Documentation URL to process (required)skill-name- Skill identifier in kebab-case (optional)
Options:
--max-urls <number>- Maximum URLs to process (default: 20)--output-dir <directory>- Custom output directory--verbose- Enable verbose logging
Examples:
rooskills generate https://fastapi.tiangolo.com
rooskills generate https://docs.stripe.com stripe-expert --max-urls 30List all available pre-built skills.
Validate skill integration:
python .roo/skills/scripts/validate_mode_skill_integration.pyThis checks:
- SKILL.md file exists and is properly formatted
- YAML frontmatter is valid
- No duplicate slugs in
.roomodes - File sizes are within limits (<500 lines)
- Skills are properly registered
rooskills/
├── .env # Environment variables (git-ignored)
├── .roomodes # Mode configuration file
├── README.md # This file
├── agent_skills_spec.md # Skills specification
└── .roo/
└── skills/ # All skills directory
├── architecture/ # Architecture documentation
├── create-llmstxt-py/ # Python tool for llms.txt generation
├── document-skills/ # Document creation (DOCX, PDF, PPTX, XLSX)
├── lindy-expert/ # Lindy AI automation platform skill
├── mcp-builder/ # MCP server creation skill
├── model-enhancement-mcp/ # Advanced MCP examples
├── skill-creator/ # Meta-skill for creating skills
├── template-skill/ # Basic skill template
└── scripts/ # Skill generation scripts
├── agent-skill-generator/
│ ├── config.py # Configuration management
│ ├── orchestrator.py # Main CLI entry point
│ ├── llms_generator.py # Knowledge extraction
│ ├── ecosystem_researcher.py
│ ├── skill_creator.py # Skill synthesis
│ └── mode_configurator.py
├── commands/
│ └── generate-skill.sh # Shell wrapper
└── validate_mode_skill_integration.py
The skill generator follows a modular, pipeline-based architecture:
- Configuration - Environment-based settings (never hardcoded secrets)
- Knowledge Extraction - Firecrawl + OpenAI for documentation processing
- Research - Claude + Exa for ecosystem analysis
- Synthesis - Structured skill creation with best practices
- Validation - Comprehensive integration checks
See architecture/ for detailed documentation.
- Keep SKILL.md under 500 lines - move detailed content to references/
- Use clear, descriptive frontmatter (name, description)
- Provide specific examples and guidelines
- Include integration patterns and common pitfalls
- Never hardcode secrets or environment-specific values
- Start with smaller
--max-urlsvalues (10-15) for faster results - Review generated content before committing
- Customize the SKILL.md to add organization-specific knowledge
- Test the skill thoroughly before deploying
Skills in this repository use modular architecture principles:
- Files should be < 500 lines
- Use environment variables for configuration
- Follow clean architecture patterns
- Document all functionality clearly
This package includes comprehensive CI/CD workflows with automated security checks:
-
CI/CD Pipeline - Runs on every push and PR
- Security validation (no exposed API keys, .env files, or secrets)
- Package integrity checks
- CLI functionality tests
- Automated package validation
-
PR Validation - Validates pull requests
- Checks for sensitive file changes
- Package size monitoring
- Version change detection
-
Automated Publishing - Publishes to npm
- Pre-publish security scans
- npm provenance support
- Automatic git tagging
- Package artifact archival
✅ No secrets in repository - All API keys are gitignored
✅ Git history scanning - Prevents accidental .env commits
✅ Package validation - Ensures no sensitive files in npm package
✅ Python cache exclusion - No __pycache__ or .pyc files
✅ IDE artifact filtering - Excludes .claude/, .refactoring-game/
See .github/workflows/README.md for detailed CI/CD documentation.
See individual skill directories for licensing information. Most skills use MIT License unless otherwise specified.
- Official Agent Skills Repository - Original skills for Claude Code
- What are Skills? - Understanding the skills system
- Equipping Agents for the Real World - Engineering blog post
- Creating Custom Skills - Official guide
- Architecture Documentation - Skill generation system design
- Validation Scripts - Testing and validation tools
- Skill Creator Skill - Meta-skill for creating new skills
This template uses Anthropic's Agent Skills format (YAML frontmatter + Markdown instructions), ensuring skills are:
- Portable - Work in both Roo Code and Claude Code (with appropriate configuration)
- Standard - Follow Anthropic's established patterns and best practices
- Maintainable - Compatible with future skill format updates
Skills integrate with Roo Code through:
- Custom Modes - Each skill becomes a mode in
.roomodes - Skill References - Skills are loaded dynamically via
skill_refpaths - Override Strategy - Skill content overrides default mode instructions
For issues, questions, or contributions:
- Check existing documentation
- Review validation scripts
- Consult the skill creator skill
- Reference Anthropic's official skills documentation
Note: This is a template repository that bridges Anthropic's Agent Skills system with Roo Code. Skills are compatible with the official Agent Skills format and can be shared between Claude Code and Roo Code environments.