INSTALL.md 5.6 KB

OAC Plugin - Installation Guide

Complete guide to install and configure the OAC (OpenAgents Control) plugin for Claude Code.

๐Ÿš€ Quick Install

Method 1: From GitHub (Recommended)

# Add the marketplace
/plugin marketplace add darrenhinde/OpenAgentsControl

# Install the plugin
/plugin install oac

Method 2: Local Development

# Navigate to the repo
cd /path/to/OpenAgentsControl

# Start Claude with the plugin
claude --plugin-dir ./plugins/claude-code

๐Ÿ“ฅ Setup Context Files

IMPORTANT: After installation, download context files to enable context-aware development.

Option 1: Download Core Context (Recommended)

/oac:setup --core

Downloads essential standards and workflows (~50 files).

Option 2: Download All Context

/oac:setup --all

Downloads all context including examples and guides (~200 files).

Option 3: Download Specific Category

/oac:setup --category=standards

Available categories:

  • core - Essential standards and workflows
  • openagents-repo - OAC-specific guides and patterns
  • plugins - Plugin development guides
  • skills - Skill creation and usage

โœ… Verification

After installation and setup, verify everything works:

1. Check Plugin Status

/oac:status

You should see:

  • โœ… Plugin version
  • โœ… Context installed
  • โœ… Available subagents (6)
  • โœ… Available skills (9)
  • โœ… Available commands (4)

2. View Available Features

/oac:help

Shows the complete usage guide with all skills, subagents, and commands.

3. Test the Workflow

# Start a simple task to test the workflow
"Add a hello world function"

Claude should automatically invoke the /using-oac skill and guide you through the 6-stage workflow.

๐Ÿ“ฆ What Gets Installed

When you install the plugin, Claude Code sets up:

~/.claude/plugins/cache/oac/
โ”œโ”€โ”€ .claude-plugin/plugin.json       # Plugin manifest
โ”œโ”€โ”€ agents/                           # 6 custom subagents
โ”‚   โ”œโ”€โ”€ task-manager.md
โ”‚   โ”œโ”€โ”€ context-scout.md
โ”‚   โ”œโ”€โ”€ external-scout.md
โ”‚   โ”œโ”€โ”€ coder-agent.md
โ”‚   โ”œโ”€โ”€ test-engineer.md
โ”‚   โ””โ”€โ”€ code-reviewer.md
โ”œโ”€โ”€ skills/                           # 9 workflow skills
โ”‚   โ”œโ”€โ”€ 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/                         # 4 user commands
โ”‚   โ”œโ”€โ”€ oac-setup.md
โ”‚   โ”œโ”€โ”€ oac-help.md
โ”‚   โ”œโ”€โ”€ oac-status.md
โ”‚   โ””โ”€โ”€ oac-cleanup.md
โ”œโ”€โ”€ hooks/                            # SessionStart automation
โ”‚   โ”œโ”€โ”€ hooks.json
โ”‚   โ””โ”€โ”€ session-start.sh
โ””โ”€โ”€ scripts/                          # Utility scripts
    โ”œโ”€โ”€ download-context.sh
    โ””โ”€โ”€ verify-context.sh

After running /oac:setup, context files are downloaded to your project:

your-project/
โ””โ”€โ”€ .opencode/
    โ””โ”€โ”€ context/
        โ”œโ”€โ”€ core/                     # Standards, workflows, patterns
        โ”œโ”€โ”€ openagents-repo/          # OAC-specific guides
        โ”œโ”€โ”€ plugins/                  # Plugin development
        โ””โ”€โ”€ skills/                   # Skill creation

๐Ÿ—๏ธ Architecture Overview

OAC uses a flattened delegation hierarchy optimized for Claude Code:

Traditional OAC (Nested)

Main Agent
  โ””โ”€> TaskManager
       โ””โ”€> CoderAgent
            โ””โ”€> ContextScout (โŒ Not allowed in Claude Code)

Claude Code OAC (Flattened)

Main Agent (orchestrated by /using-oac skill)
  โ”œโ”€> task-manager subagent
  โ”œโ”€> context-scout subagent
  โ”œโ”€> coder-agent subagent
  โ”œโ”€> test-engineer subagent
  โ””โ”€> code-reviewer subagent

Key Difference:

  • Skills guide the main agent's workflow
  • Main agent invokes subagents directly (no nesting)
  • Context is pre-loaded in Stage 3 (no nested ContextScout calls)

๐Ÿ”ง Troubleshooting

Plugin not found

# Check plugin list
/plugin list

# Verify installation directory
ls ~/.claude/plugins/cache/oac/

Context not installed

# Check status
/oac:status

# If context missing, run setup
/oac:setup --core

Skills not working

# Verify skill files exist
ls ~/.claude/plugins/cache/oac/skills/

# Restart Claude Code
# Try with verbose logging
claude --plugin-dir ./plugins/claude-code --verbose

Subagents not available

# Check status
/oac:status

# Verify agent files
ls ~/.claude/plugins/cache/oac/agents/

# Should show 6 .md files

Download fails

# Try core context first (smaller)
/oac:setup --core

# Check internet connection
# Verify GitHub access

# Manual fallback (see /oac:setup output for instructions)

๐ŸŽฏ Next Steps

After successful installation:

  1. Read the Quick Start: See QUICK-START.md for usage examples
  2. Explore the help: Run /oac:help for detailed workflow guide
  3. Start building: Let the /using-oac skill guide your development
  4. Review context: Explore .opencode/context/ to understand available standards

๐Ÿ†˜ Need Help?


Version: 1.0.0
Last Updated: 2026-02-16