tri-agent-loop — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited tri-agent-loop (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
A delivery protocol that splits work across three roles and keeps each artifact rigorously vetted before it advances:
The roles are pluggable: any agent can fill any role, in any order. The agent running this skill is the orchestrator — it authors artifacts when it holds a role, relays handoffs when a role belongs to an external agent, monitors the review thread, and reviews the implementer's PR. The orchestrator is usually also one of the three roles (commonly planner+reviewer), but need not be.
This is the generalized form of the workflow captured in the user's feedback_planner_reviewer_codex_loop memory: planner+reviewer authored by one agent, a separate implementer, every artifact Codex-reviewed before handoff. Here the agent behind each role is a parameter.Fire when the user wants multi-agent delivery with separation of concerns:
Do not use for:
Resolve, from the user's request (ask via AskUserQuestion if unstated):
| Role | Agent | Common choices |
|---|---|---|
| planner | who drafts | this Claude · a Task subagent (Plan) · an external agent the user drives |
| reviewer | who critiques | Codex · another Claude · Gemini · a Task subagent · a human |
| implementer | who codes | Cursor · this Claude · a Task subagent · a human |
Each agent participates in one of two modes:
Task-tool subagent the orchestrator spawns. The orchestrator drives it directly.Pick a short topic slug for the work (<topic>); it names every file.
Produce the artifact:
grill-me-style interrogation skill is available, run it first to resolve the decision tree; then write the artifact (SRS → per-task plans). Follow any repo doc conventions (recommendation-first / decision-table / references-at-end).Artifact location: a durable doc, e.g. <docs-dir>/<topic>-design.md (with a ## SRS section) and, for per-task plans, <topic>-tasks.md. One artifact per round; keep it scannable.
This reuses the file-review-dialogue mechanics (compose that skill if installed; otherwise inline the protocol below).
<docs-dir>/<topic>-review-thread.md: lead with the recommendation (pyramid), justify with file:line anchors, end with 2–5 targeted questions for the reviewer. Leave a ## <Reviewer> Response placeholder.Task) pointed at the thread + artifact; capture its response into the thread.check file).Monitor tool, persistent, ~3600 s) so each reviewer append wakes the orchestrator.## Claude Follow-Up N - <date>). Before accepting any delta, verify the reviewer's cited `file:line` at the source — a confidently-cited claim can still be wrong; check the call chain, not just the line. Accept (land the doc edit), refine (counter with evidence), or push back.TaskStop the monitor. Mark the artifact converged.Keep one thread per topic; spin a new thread file if a tangent appears.
Once the artifact converges:
Task subagent / worktree-isolated agent), following the repo's TDD + quality-gate cadence..env).The implementer opens a PR / diff.
When the PR lands:
Then loop to Step 1 for the next task/story, accreting per-task plans into the tasks doc and reviewing each in the same thread.
The three roles are independent, so non-default orderings are first-class:
| Ordering | Use |
|---|---|
| plan → review → implement (default) | greenfield feature |
| review → plan | red-team an artifact someone else already wrote, then re-plan |
| implement → review | post-hoc review of an existing change (PR review) |
| plan → implement → review | when speed matters and review is a final gate |
| reviewer == planner's critic across N rounds | iterate one artifact to convergence before any code |
And the agents are swappable per round: Claude can plan one story and review the next; Codex can review while Gemini plans; Cursor or a Task subagent implements. Just re-assign roles at Step 0 of each round.
<topic>-design.md (artifact, incl. ## SRS), <topic>-tasks.md (per-task plans), <topic>-review-thread.md (the dialogue). Review threads are durable — code comments may cite their dated decisions.file:line at the source before folding in a reviewer delta or trusting a PR body.SKILL.md plus a /tri-agent-loop slash command and optional reviewer/implementer subagent definitions under a plugin marketplace entry.~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.