Claude Code plugin - structured agents with Codex and Claude CLI bridges
npx claudepluginhub kangig94/coralClaude Code plugin - structured agents with Codex and Claude CLI bridges, plus deterministic workflow orchestration
Claude Code already knows how to code. Coral teaches it how you work.
Requirements: Node.js 18+
/plugin marketplace add https://github.com/kangig94/coral
/plugin install coral
# Codex CLI (optional — enables --codex cross-model delegation):
npm install -g @openai/codex
Run this on any existing project:
/coral:analyze what does this codebase do?
https://github.com/user-attachments/assets/881f1a14-9f4f-4d3d-8023-59610eb13ac4
/coral:init-project
Coral scans your stack and generates .claude/ — conventions, review agents, architecture docs — tailored to your project.
Generated agents aren't boilerplate — they encode evaluation rubrics calibrated to your project's stack and audience. Claude follows your rules, not generic defaults.
/coral:init-project # existing project
/coral:init-project "React + FastAPI" # tech stack hint
/coral:init-project "multi-tenant SaaS REST API with Go" # full description
my-project/
+ .claude/
+ CLAUDE.md ← project hub: build commands, workflow, critical rules
+ agents/
+ code-critic.md ← code quality review
+ ... ← domain agents (React, Go, ML, infra, etc.)
+ rules/
+ conventions.md ← naming, git, style
+ ... ← domain rules, auto-activated by file path
+ docs/
+ architecture.md ← module map, dependency graph
Browse this repository's .claude/ folder for a real example.
pathfind → preplan → plan → ralph
(explore) (define) (design) (implement + verify)
# Know the problem, need a plan:
/coral:plan add retry logic to the API client
# Have symptoms, not sure what's wrong:
/coral:pathfind API is slow, DB hits limits, users are complaining
# Complex problem, need alignment first:
/coral:preplan race condition in the session manager
# Have a plan, just implement it:
/coral:ralph implement the caching layer
# Bug — diagnose, plan, fix in one shot:
/coral:bugfix why does session lookup return null?
Each stage produces an artifact that feeds the next. Enter at any point — skip stages you don't need.
pathfind — "I have problems but don't know what to build." Clusters symptoms, investigates root causes (spawns scanner for codebase analysis), generates divergent directions through orthogonal lanes, and spawns pioneer for elegant alternatives. Outputs a ranked direction list with scoring matrix. Hands off the chosen direction to preplan.
preplan — "I know the direction but need agreement on scope."
Fills a 7-item agreement (problem statement, success criteria, scope, assumptions, affected systems, constraints, approach direction)
autonomously from codebase analysis, then presents to the user for correction.
Spawns pioneer to find elegant alternatives for uncertain items, offering default/minimal/elegant spectrums.
Produces pre-{topic}.md — the contract that plan must satisfy.
plan — "I need a design before I build."
Multi-round review loop: dispatches architect + critic (and resolver in --deep mode) as a workflow,
synthesizes findings, edits the plan file, and evaluates an exit gate.
The resolver classifies findings (Adopt/Adapt/Defer/Diverge), applies changes,
and decides whether another round is needed based on finding severity and nature.
Produces {topic}.md with acceptance criteria, implementation phases, and execution order (dependency graph + parallel batches).
ralph — "I have a plan (or prompt). Just build it."
Persistent executor with verification loop.
In plan mode, reads the execution order and dispatches batches — parallelizing independent ACs.
Every completion claim requires fresh verification evidence (lint → build → test).
--red spawns a red-attacker in parallel to write adversarial tests targeting blind spots.
--team uses Agent Teams for parallel AC execution.
# Deep review with methodology-driven synthesis (resolver + HOW reasoning):
/coral:plan --deep add retry logic to the API client
# Adversarial testing — spawns a red-attacker to target blind spots:
/coral:ralph --red implement the caching layer
# Cross-model delegation to Codex CLI:
/coral:plan --codex redesign the session management system
# Direct Codex session (multi-turn, persistent):
/coral:codex review auth.ts for security issues
--codex delegates within a skill; /coral:codex opens a persistent session.
/coral:discuss should we use microservices or a monolith?
Development marketplace for Superpowers core skills library
Harness-native ECC skills, hooks, rules, MCP conventions, and operator workflows
Open Design — local-first design app exposed to coding agents over MCP. Install once with your agent's plugin command and projects/files/skills are reachable through stdio.