Version: 1.0.0
Date: 2026-02-16
Status: ✅ Production Ready
# From GitHub marketplace
/plugin marketplace add darrenhinde/OpenAgentsControl
/plugin install oac
# OR for local development
claude --plugin-dir ./plugins/claude-code
# Download core context (recommended)
/oac:setup --core
# OR download everything
/oac:setup --all
# Check status
/oac:status
# View help
/oac:help
You're ready! Start any development task and the /using-oac skill will automatically guide you.
/using-oac - Main Workflow OrchestratorAuto-invoked on every task to ensure context-aware development.
6-Stage Workflow:
When to use: Automatically invoked (you don't need to call it manually).
/context-discovery - Find Relevant ContextGuides the main agent to use the context-scout subagent for discovering standards and patterns.
Usage:
/context-discovery authentication feature
What it does:
.opencode/context/ for relevant filesExample output:
Critical:
- .opencode/context/core/standards/security.md
- .opencode/context/core/patterns/authentication.md
High:
- .opencode/context/core/standards/typescript.md
/external-scout - Fetch External Library DocsGuides the main agent to use the external-scout subagent for fetching current API documentation.
Usage:
/external-scout drizzle schemas
/external-scout react hooks
/external-scout express middleware
What it does:
.tmp/external-context/ (fresh for 7 days)Example output:
{
"status": "success",
"package": "drizzle",
"topic": "schemas",
"files": [".tmp/external-context/drizzle/schemas.md"],
"message": "Documentation cached. Load file to access current API patterns."
}
Why it matters: Training data is outdated. External libraries change their APIs, deprecate features, and introduce new patterns. ExternalScout ensures you're implementing with current, correct patterns.
/task-breakdown - Decompose Complex FeaturesGuides the main agent to use the task-manager subagent for breaking down complex tasks.
Usage:
/task-breakdown user authentication system
What it does:
.tmp/tasks/Example output:
Subtasks created:
1. JWT service implementation
2. Auth middleware (depends on #1)
3. Login endpoint (depends on #1, #2)
4. Refresh token logic (depends on #1)
5. Integration tests (depends on all)
/code-execution - Implement FeaturesGuides the main agent to use the coder-agent subagent for implementing code.
Usage:
/code-execution implement JWT service
What it does:
Self-Review Checks:
/test-generation - Create Comprehensive TestsGuides the main agent to use the test-engineer subagent for generating tests.
Usage:
/test-generation authentication service
What it does:
Test Coverage:
/code-review - Review Code QualityGuides the main agent to use the code-reviewer subagent for reviewing code.
Usage:
/code-review src/auth/
What it does:
Review Areas:
/context-manager - Manage Context & ConfigurationManage context files, configuration, and project-specific settings.
Usage:
/context-manager
What it does:
Use when:
/parallel-execution - Execute Tasks in ParallelExecute multiple independent tasks simultaneously to reduce implementation time.
Usage:
# Automatically used when task-manager marks tasks with parallel:true
# Or invoke manually for independent work
What it does:
Use when:
Time savings: 50-80% reduction for multi-component features
/oac:setup - Download Context FilesUsage:
/oac:setup # Interactive mode
/oac:setup --core # Core context only (~50 files)
/oac:setup --all # All context (~200 files)
/oac:setup --category=standards # Specific category
What it downloads:
Output: Creates .opencode/context/ and .context-manifest.json
/oac:help - Show Usage GuideUsage:
/oac:help # General help
/oac:help context-discovery # Skill-specific help
What it shows:
/oac:status - Check Installation StatusUsage:
/oac:status
What it shows:
/oac:cleanup - Clean Up Temporary FilesUsage:
/oac:cleanup # Interactive mode
/oac:cleanup --force # Skip confirmation
/oac:cleanup --session-days=3 # Clean sessions older than 3 days
/oac:cleanup --task-days=14 # Clean tasks older than 14 days
/oac:cleanup --external-days=3 # Clean external context older than 3 days
What it cleans:
.tmp/sessions/.tmp/tasks/.tmp/external-context/Default retention:
Example:
# Clean with defaults
/oac:cleanup
# Aggressive cleanup
/oac:cleanup --session-days=3 --task-days=14 --external-days=3 --force
Task: "Add a login endpoint"
Workflow:
1. Analyze & Discover
- Understand: Need POST /api/login endpoint
- Invoke /context-discovery → finds API standards, security patterns
2. Plan & Approve
- Plan: Create endpoint in src/api/auth.ts
- Files: auth.ts, auth.test.ts, api-docs.md
- REQUEST APPROVAL ← User approves
3. LoadContext
- Read API standards
- Read security patterns
- Read TypeScript conventions
- (If using external libs) Invoke /external-scout for current API docs
4. Execute
- Implement endpoint directly (simple task)
- Follow loaded standards
5. Validate
- Run tests
- Verify acceptance criteria
6. Complete
- Update API docs
- Summarize changes
Time: ~15-30 minutes
Task: "Build a complete authentication system"
Workflow:
1. Analyze & Discover
- Understand: Full auth system (JWT, refresh, middleware, endpoints)
- Invoke /context-discovery → finds security, API, TypeScript standards
2. Plan & Approve
- Plan: Multi-component system, suggest task breakdown
- Complexity: 4+ files, >30 min
- REQUEST APPROVAL ← User approves
3. LoadContext
- Read security patterns
- Read API standards
- Read TypeScript conventions
- Read test standards
- Invoke /external-scout for any external libraries (e.g., JWT library, database ORM)
4. Execute
- Invoke /task-breakdown → creates subtasks:
* Subtask 1: JWT service (core logic)
* Subtask 2: Auth middleware (depends on #1)
* Subtask 3: Login endpoint (depends on #1, #2)
* Subtask 4: Refresh endpoint (depends on #1)
* Subtask 5: Integration tests (depends on all)
- For each subtask:
* Invoke /code-execution
* Implement following loaded context
* Run self-review
* Mark subtask complete
5. Validate
- Run all integration tests
- Verify system works end-to-end
- STOP if any test fails
6. Complete
- Update API documentation
- Update security documentation
- Summarize all changes
Time: ~2-4 hours (broken into 1-2 hour subtasks)
Task: "Review and test the authentication system"
Workflow:
# Step 1: Discover context
Use the context-scout subagent to find:
- Security review checklists
- Test standards
- Code quality guidelines
# Step 2: Review code
Use the code-reviewer subagent to review:
- src/auth/ directory
- Check security patterns
- Identify issues
# Step 3: Generate tests
Use the test-engineer subagent to create:
- Unit tests for JWT service
- Integration tests for auth flow
- Security validation tests
# Step 4: Verify
Run tests and confirm all pass
OAC for Claude Code uses a flattened hierarchy (no nested subagent calls):
Main Agent
└─> TaskManager
└─> CoderAgent
└─> ContextScout (nested - not allowed)
Main Agent (orchestrated by /using-oac skill)
├─> task-manager subagent
├─> context-scout subagent
├─> coder-agent subagent
├─> test-engineer subagent
└─> code-reviewer subagent
How it works:
# Download context
/oac:setup --core
# Verify installation
/oac:status
# Check status
/oac:status
# Should show 6 subagents
# If missing, reinstall plugin
# This is a bug - OAC should ALWAYS request approval in Stage 2
# Please report at: https://github.com/darrenhinde/OpenAgentsControl/issues
# Claude Code doesn't support nested calls
# Use skills to orchestrate, not subagents calling subagents
# The /using-oac skill handles this automatically
# This is expected behavior - OAC stops on test failure
# Fix the failing tests before proceeding
# Re-run validation after fixes
Always let the workflow discover and load context before implementing. This ensures your code follows project standards.
Review the plan in Stage 2 carefully. Once approved, OAC will execute automatically.
For features with 4+ files or >30 min work, use task breakdown for better tracking and parallel execution.
CoderAgent runs comprehensive checks before completion. If it passes, the code is ready.
Run /oac:status regularly to check installation and active sessions.
INSTALL.md for detailed setup/oac:help for comprehensive guideREADME.md for system overview.opencode/context/ after running /oac:setup| Resource | Command/Link |
|---|---|
| Check Status | /oac:status |
| Get Help | /oac:help |
| Download Context | /oac:setup --core |
| GitHub Issues | https://github.com/darrenhinde/OpenAgentsControl/issues |
| Discussions | https://github.com/darrenhinde/OpenAgentsControl/discussions |
Ready to build! 🎉
Start any development task and let the /using-oac skill guide you through context-aware development.