Skip to content

OPC architecture reference explaining how hooks, skills, and scripts extend Claude Code with parallel agent coordination.

CCM score
48 of 100
skills.sh installs
498
GitHub stars
4K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers how OPC layers hooks, skills, scripts, and a database onto the Claude Code CLI without replacing it
  • Explains agent spawning: a Task tool hook runs subprocess.Popen on claude -p, and the child is tracked by PID in the database
  • Maps key paths including .claude/hooks/, .claude/skills/, .claude/settings.json, opc/scripts/, and opc/init-db.sql
  • Designed for developers who need to understand OPC internals before writing hooks, skills, or coordination scripts

Install

$ npx -y skills add parcadei/continuous-claude-v3 --skill opc-architecture -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

OPC Architecture Understanding

OPC (Orchestrated Parallel Claude) extends Claude Code - it does NOT replace it.

Core Concept

Claude Code CLI is the execution engine. OPC adds orchestration via:

  • Hooks - Intercept Claude Code events (PreToolUse, PostToolUse, SessionStart, etc.)
  • Skills - Load prompts into Claude Code
  • Scripts - Called by hooks/skills for coordination
  • Database - Store state between Claude Code instances

How Agents Work

When you spawn an agent:

  1. Main Claude Code instance (your terminal) runs hook on Task tool
  2. Hook calls subprocess.Popen(["claude", "-p", "prompt"])
  3. A NEW Claude Code instance spawns as child process
  4. Child runs independently, reads/writes to coordination DB
  5. Parent tracks child via PID in DB
$ claude                         ← Main Claude Code (your terminal)
    ↓ Task tool triggers hook
    ↓ subprocess.Popen(["claude", "-p", "..."])
        ├── claude -p "research..."   ← Child agent 1
        ├── claude -p "implement..."  ← Child agent 2
        └── claude -p "test..."       ← Child agent 3

What OPC Is NOT

Details

Repository
github.com/parcadei/continuous-claude-v3
Categories
Skill & Plugin Building, Agent Workflow & Planning
First seen
Jun 3, 2026

More from parcadei/continuous-claude-v3

All 108

Similar to Opc Architecture

More Skill & Plugin Building