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:
# Add the OpenAgents Control marketplace
/plugin marketplace add darrenhinde/OpenAgentsControl
# Install the plugin
/plugin install oac
# Clone the repo
git clone https://github.com/darrenhinde/OpenAgentsControl.git
cd OpenAgentsControl
# Load plugin locally
claude --plugin-dir ./plugins/claude-code
After installation, download context files and start using OAC:
# Download context files from GitHub
/oac:setup
# Verify installation
/oac:status
# Get help and usage guide
/oac:help
The using-oac skill is automatically invoked when you start a development task, guiding you through the 6-stage workflow.
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
Manage context files, configuration, and project-specific settings. Set up projects, configure context sources, and integrate external task systems.
Usage: /context-manager
Use when: Setting up projects, configuring context sources, managing personal task systems
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: /oac:setup [--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 uses context files from the main OpenAgents Control repository.
plugins/claude-code/
โโโ .claude-plugin/
โ โโโ plugin.json # Plugin metadata
โโโ agents/ # Custom subagents (6 files)
โ โโโ task-manager.md
โ โโโ context-scout.md
โ โโโ external-scout.md
โ โโโ coder-agent.md
โ โโโ test-engineer.md
โ โโโ code-reviewer.md
โโโ skills/ # Workflow skills (9 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
โ โโโ context-manager/SKILL.md
โ โโโ parallel-execution/SKILL.md
โโโ commands/ # User commands (4 files)
โ โโโ oac-setup.md
โ โโโ oac-help.md
โ โโโ oac-status.md
โ โโโ oac-cleanup.md
โโโ hooks/ # Event-driven automation
โ โโโ hooks.json
โ โโโ session-start.sh
โโโ scripts/ # Utility scripts
โ โโโ download-context.sh
โ โโโ verify-context.sh
โโโ .context-manifest.json # Downloaded context tracking
Context files are downloaded from the main repository via /oac:setup:
.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