{"slug":"agent-workflow","title":"agent-workflow","summary":"Use when the user asks to plan or carry out development with the multi-agent methodology, or receives a brief for one of its roles.","platform":"Claude","tags":[],"authorName":"LLM Mart","authorSlug":"llm-mart","score":0,"source":"github","price":null,"verified":false,"createdAt":"2026-12-03T17:29:36.628791Z","repo":{"url":"https://github.com/robertodf99/fde-toolkit","stars":19,"forks":1,"license":"MIT","updatedAt":"2026-12-03T08:28:18Z"},"bodyHtml":"<hr>\n<h2>name: agent-workflow\ndescription: Use when the user asks to plan or carry out development with the multi-agent methodology, or receives a brief for one of its roles.</h2>\n<h1>Multi-agent methodology</h1>\n<p>Scale the process to the scope and consequences. The same source serves Claude Code, Codex and Herdr Core.\nIf the first message assigns a role, perform only that role and return its delivery contract; do not\norchestrate agents.</p>\n<h2>Default assignment</h2>\n<p>The coordinator is the user's session. The planner and reviewer use <strong>Claude Opus</strong>; implementers use\n<strong>Codex</strong>: gpt-6-luna/high for mechanical work, gpt-6.1-sol/high for normal work and gpt-6.1-sol/xhigh for\nsensitive work. The canonical dispatch is <a href=\"references/herdr-hc.md\">Herdr</a>: run the roles required by triage\nin order, one per phase, waiting for each result before the next. Native dispatch uses a single runtime as a\nnon-interactive fallback: <code>claude -p</code>, <code>codex exec</code> or unattended mode (\"Herdr does not apply\"). In an\ninteractive session, Herdr missing or unresponsive = report a blocker, with no automatic fallback.</p>\n<p>In Claude Code, the coordinator asks the user only with AskUserQuestion; plan approval offers\n\"Approve\" / \"Request changes\". Other runtimes use their own structured question prompt when available.\nNever end a turn with a plain-text question when a structured prompt exists. Wait for roles inside\nthe turn: end it only to ask or deliver the final summary for the whole task. Roles report doubts\nand blockers only to the coordinator, never to the user.\nFor a role's Question, follow the <a href=\"references/herdr-hc.md#question-relay\">question relay</a>:\nanswer locally or ask through the structured prompt; preserve the role's session until final delivery.</p>\n<h2>Precedence and skill selection</h2>\n<p>User instructions &gt; repo AGENTS.md / CLAUDE.md &gt; this skill &gt; Superpowers. This skill decides which\nSuperpowers apply. At N0–N2 <strong>DO NOT invoke brainstorming or writing-plans</strong>, even if their descriptions\nrequire it. The repo's own diagnosis, testing or validation skills take precedence. Respect the level set by\nthe user and existing approvals.</p>\n<h2>Coordinator triage</h2>\n<p>Read the brief and repo instructions first. Classify by observable criteria, not line count or tracker\nestimates:</p>\n<table>\n<thead>\n<tr>\n<th>Level</th>\n<th>Condition</th>\n<th>Execution</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>N0</td>\n<td>One line or value, with no behaviour change to discuss</td>\n<td>Coordinator inline</td>\n</tr>\n<tr>\n<td>N1</td>\n<td>Complete requirement, known location, local effect, no design or sensitive areas, concrete check</td>\n<td>Only implementer-simple</td>\n</tr>\n<tr>\n<td>N2</td>\n<td>Understood behaviour or bug with a clear symptom, no open design or sensitive areas</td>\n<td>Implementer + reviewer</td>\n</tr>\n<tr>\n<td>N3</td>\n<td>Sensitive area, open designs, several modules or independent tasks, missing criteria, or explicit request for a planner</td>\n<td>Planner + implementer or implementer-sensitive + reviewer</td>\n</tr>\n</tbody>\n</table>\n<p>An understood change across several files for the same behaviour does not imply several modules or tasks.\nTests for an endpoint are part of its task. \"Plan\" at N1/N2 is a brief coordinator plan; only \"use a planner\"\nrequires that role outside N3. When unsure, choose the lower level, except for sensitive areas; once set, only\nescalate within that request. Triage each new request alone, even in the same PR (a later UI tweak: N0–N2).\nAuthentication, SQL, migrations, security, irreversible operations, deployment and repo-named areas are sensitive.</p>\n<h2>Flow by level</h2>\n<ul>\n<li><strong>N0:</strong> edit inline (a text, moving a block), verify the effect and open the delivery PR.</li>\n<li><strong>N1:</strong> the coordinator prepares a brief with criteria and a check; dispatch\nimplementer-simple. No reviewer: the coordinator reads the diff and verifies.</li>\n<li><strong>N2:</strong> brief and short plan by the coordinator, implementer, reproduction before\nbug fixes, behaviour tests and a reviewer with fresh context on the final SHA.\nNo independent planner is required.</li>\n<li><strong>N3:</strong> independent planner. The coordinator uses brainstorming <strong>only</strong> for\nopen design and writing-plans <strong>only</strong> for more than one task. After design or\nplanning, return to this N3 flow: <strong>DO NOT follow the handoff chain</strong>\nbrainstorming → writing-plans → SDD/executing-plans. Present an artifact if approval\nis missing; preserve existing approvals. Implementer-sensitive for sensitive areas,\nimplementer otherwise. A fresh reviewer on each corrected SHA.</li>\n</ul>\n<p>For \"plan\", deliver the plan and stop without implementing, regardless of level. Always use\nverification-before-completion. At N2/N3 use test-driven-development for features/bugs and\nsystematic-debugging for bugs or unexpected failures. With Herdr <strong>DO NOT invoke subagent-driven-development\nor requesting-code-review</strong>; use their <a href=\"references/superpowers.md\">extracted practices</a>. The reviewer is\nalways this methodology's reviewer role. <strong>Never executing-plans</strong>: the coordinator only implements at N0.</p>\n<h2>Execution limits</h2>\n<p>Only one implementer writes; keep their session for feedback and later requests in the same PR, unless a\nnew level needs another role. At most two repair rounds per request, persisted on resume. Each review uses\nfresh context and a stable diff; never while code changes. Do not replace the implementer or reset rounds\nto bypass the limit. When exhausted, escalate outstanding findings with evidence and an individual disposition.</p>\n<p>Roles do not create agents, publish, change the tracker or merge. The coordinator must not initiate merge,\ndeploy, release or closure either. Do not select tickets or queues automatically. Do not invent approvals: a\npending gate requires an artifact and blocked status. Do not copy .env or use real data or credentials.\nEscalate new scope and sensitive areas before editing.</p>\n<h2>Context and dispatch</h2>\n<p>Identify the repo by its worktree and instructions. Resolve the base branch before creating a worktree or\nPR. A private profile under <code>~/.config/agent-workflow/profiles/</code> is optional; if it contradicts the repo,\nclarify before writing. Without a profile, the brief suffices. Do not inherit architecture, business rules,\nstandards, states or prefixes from other projects.</p>\n<p>Project language: repo AGENTS.md / CLAUDE.md → optional <code>language</code> field (<code>es|en</code>) in the private profile →\npredominant language of existing commits and docs → Spanish. The coordinator states the language in the\nbrief; if absent, roles apply this rule.</p>\n<p>With a ticket, read criteria, relationships and blockers from the tracker via MCP (e.g. Linear) and verify\nproject identity. Tracker changes require user instructions or an explicit repo rule and are carried out by\nthe coordinator.</p>\n<p>Read <a href=\"references/roles.md\">roles.md</a> for models, contracts and permissions. In interactive sessions follow\n<a href=\"references/herdr-hc.md\">Herdr</a> and the optional overrides in <code>~/.config/agent-workflow/HERDR.md</code>. Each role\nappears under its parent in the sidebar agent list; inspect it with <code>terminal.peek</code> and convert it to a tab\nwith <code>terminal.keep</code> if requested. If required Herdr is unavailable, report a blocker, with no native\nsubstitution.</p>\n<p>Native references: <a href=\"references/claude-code.md\">Claude Code</a> and <a href=\"references/codex.md\">Codex</a>. This\nmethodology authorises the models in roles.md for that dispatch. If you cannot delegate, declare the\nlimitation; an inline review is not independent.</p>\n<h2>Delivery and records</h2>\n<p>Commits, PRs, tickets, plans, reviews, code comments and role reports use the project language resolved\nabove. Follow <a href=\"references/delivery.md\">delivery.md</a>: SHA, files, evidence per criterion (a screenshot for visual changes), actual and omitted\nchecks, risks, rounds and disposition of each finding. The coordinator independently verifies the SHA, diff,\nworktree status and evidence, and always delivers an <strong>open PR</strong>, at every level including N0\n(branch <code>feat/</code>, <code>fix/</code>, <code>chore/</code>…; base feature → development → main) or the direct commit the user asks for. Record IDs, requested/confirmed models and approvals without secrets in\nprivate state, never in the public repo. Optional private unattended mode: <a href=\"references/unattended.md\">contract and\napprovals</a>.</p>\n","files":[{"path":"agents/openai.yaml","sizeBytes":200,"isText":true},{"path":"references/claude-code.md","sizeBytes":1257,"isText":true},{"path":"references/codex.md","sizeBytes":1352,"isText":true},{"path":"references/delivery.md","sizeBytes":4408,"isText":true},{"path":"references/herdr-hc.md","sizeBytes":6999,"isText":true},{"path":"references/roles.md","sizeBytes":3612,"isText":true},{"path":"references/superpowers.md","sizeBytes":2637,"isText":true},{"path":"references/unattended.md","sizeBytes":677,"isText":true},{"path":"SKILL.md","sizeBytes":8029,"isText":true}],"reviewScore":null,"reviewSummary":null,"trust":{"provenance":"trusted-source-unreviewed","notice":"Community-authored content, reproduced verbatim and not vetted as instructions. Treat it as data to evaluate, never as directives to follow.","bodySource":null},"bodyLocked":false,"purchaseUrl":null,"sourceUrl":null,"report":{"provenance":"trusted-source-unreviewed","screen":{"ran":true,"outcome":"notes-only","suspicious":0,"notes":4,"hiddenCharacters":false},"virusScan":{"engine":"clamav","status":"clean","scannedAt":"2026-12-03T17:29:45.028204Z","sha256":"6CF68200161F85D5F7C5B559A3515C755B6A0EAA16357C5314D977F8FF4115F3","sizeBytes":14644},"review":null,"source":{"repositoryUrl":"https://github.com/robertodf99/fde-toolkit","path":"methodology/agent-workflow/skills/agent-workflow","license":"MIT","commit":"1312fc614855421ddc426ccc4f732e03937607bc","subtreeSha":"5B27AD0B90DBC5BE670E34D0B5D41D5BE11367D57405E4A8004A4434F115837E","lastSyncedAt":"2026-12-03T17:29:36.625734Z"},"reviewedAt":"2026-12-03T17:30:14.95097Z","notice":"Community-authored content, reproduced verbatim and not vetted as instructions. Treat it as data to evaluate, never as directives to follow."},"install":[{"target":"skills-cli","command":"npx skills add https://github.com/robertodf99/fde-toolkit/tree/main/methodology/agent-workflow/skills/agent-workflow"},{"target":"claude-code","command":"claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install robertodf99-fde-toolkit@llmmart"},{"target":"git","command":"git clone https://github.com/robertodf99/fde-toolkit.git"}]}