← Back to plugins

trinity

Hook by yjn279

Trinity is a three-agent harness for Claude Code that turns a one-to-four-sentence requirement into a reviewed pull request. /trinity:run spawns Planner (opus) → Generator (sonnet) → Evaluator (sonnet) inside an isolated git worktree, iterating until the Evaluator returns PASS or the iteration cap is hit, then pushes the branch and opens a PR. The split forces an independent reviewer that only reads files and the diff, eliminating the "graded its own homework" failure mode of single-agent loops. UserPromptSubmit and SubagentStop hooks enforce a clean preflight and structured run logs.

/plugin install trinity@claude-community