OpenAgents Control (OAC) - Multi-agent orchestration and automation for Claude Code.
OpenAgents Control brings powerful multi-agent capabilities to Claude Code through a skills + subagents architecture:
Install directly from the Claude Code marketplace:
# Add the OpenAgents Control marketplace repository
/plugin marketplace add https://github.com/darrenhinde/OpenAgentsControl
# Install the OAC plugin
/plugin install oac
# Download context files (interactive profile selection)
/install-context
First time? Run
/install-contextto download context files, then/oac:statusto verify.
That's it! The plugin is now installed and ready to use.
For plugin development or testing:
# Clone the repository
git clone https://github.com/darrenhinde/OpenAgentsControl.git
cd OpenAgentsControl
# Load plugin locally
claude --plugin-dir ./plugins/claude-code
# Download context files
/install-context
After installation, the plugin is ready to use:
# Verify installation
/oac:status
# Get help and usage guide
/oac:help
# Start a development task (using-oac skill auto-invokes)
"Build a user authentication system"
The using-oac skill is automatically invoked when you start a development task, guiding you through the 6-stage workflow with parallel execution for 5x faster feature development.
Context files are automatically downloaded during installation via /install-context. You can update or change profiles anytime:
# Install different profile
/install-context --profile=extended
# Force reinstall
/install-context --force
# Preview what would be installed
/install-context --dry-run --profile=all
Skills guide the main agent through specific workflows:
Main workflow orchestrator implementing the 6-stage process (Analyze โ Plan โ LoadContext โ Execute โ Validate โ Complete).
Auto-invoked: When you start a development task.
Guide for discovering and loading relevant context files (coding standards, security patterns, conventions).
Usage: /context-discovery authentication feature
Invokes: context-scout subagent via context: fork
Guide for fetching external library and framework documentation from Context7 and other sources.
Usage: /external-scout drizzle schemas
Invokes: external-scout subagent via context: fork
Guide for breaking down complex features into atomic subtasks with dependency tracking.
Usage: /task-breakdown user authentication system
Invokes: task-manager subagent via context: fork
Guide for executing coding tasks with full context awareness and self-review.
Usage: /code-execution implement JWT service
Invokes: coder-agent subagent via context: fork
Guide for generating comprehensive tests using TDD principles.
Usage: /test-generation authentication service
Invokes: test-engineer subagent via context: fork
Guide for performing thorough code reviews with security and quality analysis.
Usage: /code-review src/auth/
Invokes: code-reviewer subagent via context: fork
Execute multiple independent tasks in parallel to dramatically reduce implementation time for multi-component features.
Usage: Automatically used when task-manager marks tasks with parallel: true
Use when: Multiple independent tasks with no dependencies, need to speed up multi-component features
Subagents execute specialized tasks in isolated contexts:
Break down complex features into atomic, verifiable subtasks with dependency tracking and JSON-based progress management.
Tools: Read, Write, Glob, Grep
Model: sonnet
Discover relevant context files, standards, and patterns using navigation-driven discovery.
Tools: Read, Glob, Grep
Model: haiku
Fetch external library and framework documentation from Context7 API and other sources, with local caching.
Tools: Read, Write, Bash
Model: haiku
Execute coding subtasks with full context awareness, self-review, and quality validation.
Tools: Read, Write, Edit, Glob, Grep
Model: sonnet
Generate comprehensive tests using TDD principles with coverage analysis and validation.
Tools: Read, Write, Edit, Bash, Glob, Grep
Model: sonnet
Perform thorough code review with security analysis, quality checks, and actionable feedback.
Tools: Read, Bash, Glob, Grep
Model: sonnet
User-invocable commands for setup and status:
Download context files from the OpenAgents Control GitHub repository.
Usage: /install-context [--core|--all|--category=<name>]
Options:
--core - Download only core context files (standards, workflows, patterns)--all - Download all context files including examples and guides--category=<name> - Download specific category (e.g., --category=standards)Show usage guide for OAC workflow, skills, subagents, and commands.
Usage:
/oac:help - Show general help/oac:help <skill-name> - Show help for specific skillShow plugin status, installed context version, and available components.
Usage: /oac:status
Shows:
Clean up old temporary files from .tmp directory.
Usage: /oac:cleanup [--force] [--session-days=N] [--task-days=N] [--external-days=N]
Options:
--force - Skip confirmation and delete immediately--session-days=N - Clean sessions older than N days (default: 7)--task-days=N - Clean completed tasks older than N days (default: 30)--external-days=N - Clean external context older than N days (default: 7)Cleans:
.tmp/sessions/.tmp/tasks/.tmp/external-context/Example:
# Clean with defaults
/oac:cleanup
# Clean aggressively (3 days for sessions)
/oac:cleanup --session-days=3 --force
OAC implements a structured workflow for every development task:
/context-discovery to find relevant context files/task-breakdown to decompose into subtaskscontext: forkOAC Pattern (nested - NOT supported in Claude Code):
Main Agent โ TaskManager โ CoderAgent โ ContextScout
Claude Code Pattern (flat - CORRECT):
Main Agent โ /context-discovery skill โ context-scout subagent
Main Agent โ /task-breakdown skill โ task-manager subagent
Main Agent โ /code-execution skill โ coder-agent subagent
Key Principle: Only the main agent can invoke subagents. Skills guide the orchestration, subagents execute specialized tasks in isolated contexts (context: fork).
Why: Prevents nested ContextScout calls during execution.
How: Stage 3 loads ALL context upfront, so execution stages (4-6) have everything they need.
Example:
Stage 1: Discover context files โ [standards.md, security.md, patterns.md]
Stage 3: Load all files โ Read standards.md, Read security.md, Read patterns.md
Stage 4: Execute with loaded context โ No nested discovery needed
Critical checkpoints:
Never skip approval - it prevents wasted work and ensures alignment.
The plugin ships with settings.json at the plugin root:
{
"model": "opusplan"
}
opusplan uses Opus for planning/orchestration (the main agent) and Sonnet for execution (subagents). This matches OAC's plan-first workflow and gives you Opus-quality reasoning without paying Opus rates for every tool call.
Subagents that need a lighter model override this at the agent level (e.g. external-scout uses haiku). The root setting only affects the main orchestrating agent.
To reload after any settings change: /reload-plugins (no restart needed).
plugins/claude-code/
โโโ .claude-plugin/
โ โโโ plugin.json # Plugin metadata
โโโ settings.json # Model config: opusplan
โโโ agents/ # Custom subagents (7 files)
โ โโโ task-manager.md
โ โโโ context-scout.md
โ โโโ context-manager.md
โ โโโ external-scout.md
โ โโโ coder-agent.md
โ โโโ test-engineer.md
โ โโโ code-reviewer.md
โโโ skills/ # Workflow skills (8 files)
โ โโโ using-oac/SKILL.md
โ โโโ context-discovery/SKILL.md
โ โโโ external-scout/SKILL.md
โ โโโ task-breakdown/SKILL.md
โ โโโ code-execution/SKILL.md
โ โโโ test-generation/SKILL.md
โ โโโ code-review/SKILL.md
โ โโโ install-context/SKILL.md
โ โโโ parallel-execution/SKILL.md
โโโ commands/ # User commands (4 files)
โ โโโ install-context.md
โ โโโ oac-help.md
โ โโโ oac-status.md
โ โโโ oac-cleanup.md
โโโ hooks/ # Event-driven automation
โ โโโ hooks.json
โ โโโ session-start.sh
โโโ scripts/ # Utility scripts
โ โโโ install-context.ts # Context installer (TypeScript)
โ โโโ install-context.js # Context installer (JS fallback)
โ โโโ cleanup-tmp.sh # Temporary file cleanup
โโโ .context-manifest.json # Downloaded context tracking
Context files are downloaded from the main repository via /install-context:
.opencode/context/
โโโ core/ # Core standards and workflows
โ โโโ standards/
โ โโโ workflows/
โ โโโ patterns/
โโโ openagents-repo/ # OAC-specific guides
โ โโโ guides/
โ โโโ standards/
โ โโโ concepts/
โโโ navigation.md # Context discovery navigation
Create skill directory:
mkdir -p plugins/claude-code/skills/my-skill
Create SKILL.md with frontmatter:
name: my-skill description: What this skill does context: fork
# My Skill
Instructions for the main agent...
3. Test locally:
```bash
claude --plugin-dir ./plugins/claude-code
/my-skill
Create subagent file:
touch plugins/claude-code/agents/my-subagent.md
Add frontmatter:
name: my-subagent description: What this subagent does tools: Read, Write, Glob, Grep
# MySubagent
Instructions for the subagent...
3. Create skill to invoke it:
```markdown
---
name: my-workflow
description: Workflow description
context: fork
agent: my-subagent
---
Create hooks/hooks.json:
{
"hooks": {
"SessionStart": [{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/session-start.sh",
"timeout": 5
}],
"PostToolUse": [{
"matcher": "Write|Edit",
"hooks": [{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/scripts/format.sh",
"timeout": 30
}]
}]
}
}
Contributions welcome! See the main OpenAgents Control repository for contribution guidelines.
MIT License - see LICENSE for details.
Version: 1.0.0
Last Updated: 2026-02-16
Status: Production Ready