multi-agent-consensus
Native Antigravity multi-agent consensus workflow. Spawns parallel workers and reviewers with a 0-10 scoring loop and automatic fix routing.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Native Antigravity multi-agent consensus workflow. Spawns parallel workers and reviewers with a 0-10 scoring loop and automatic fix routing.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Route proposed Team Mimir profile behavior changes to target-owned Hermes dialogue.
Deep-dive one chosen Infiquetra idea into a right-sized requirements document before planning.
Run a structured Infiquetra code-quality review at the work-to-PR boundary. Reads the merge-base diff, runs a built-vs-planned audit plus judgment-selected review lenses, validates findings, writes a durable review artifact, appends to the work-thread saga, and routes — without mutating code. Triggers on "review this PR", "code review", "check my diff", "pre-PR review", or a /work hand-in before shipping.
Review Infiquetra plans, requirements, and SDLC documents for implementation readiness.
Route durable Infiquetra lifecycle artifacts into mission-control prepared issue drafts.
Generate and critically evaluate grounded Infiquetra product, architecture, or workflow ideas. Multi-agent divergent→convergent engine — generate many, critique all, explain survivors only. Triggers on "ideate on X", "give me ideas", "what should I improve", "surprise me", "what would you change".
| name | multi-agent-consensus |
| description | Native Antigravity multi-agent consensus workflow. Spawns parallel workers and reviewers with a 0-10 scoring loop and automatic fix routing. |
| when_to_use | Use this skill when you want to execute a non-trivial plan using a team of autonomous subagents. - The plan has 3+ steps, touches 3+ files, or involves docs/specs - The plan involves multiple parallel work streams - The user says: "agent team", "use agents", "set up a team", "consensus review", "agentic approach", "run this with agents" |
This skill provides a structured workflow for executing plans using Antigravity's native subagent capabilities. You (the main agent) will act as the Team Lead. You will use the invoke_subagent tool to spawn workers and reviewers, orchestrate their execution, and enforce a strict consensus protocol.
Before any run claims multi-strategy coverage, materialize the closed manifest defined by
plugins/multi-agent-consensus/references/deliberation-manifest-schema.json. Bind the current sanitized host-capability receipt,
declare every applicable strategy, requested model and effort, allowed tools, execution bounds,
expected result fields, convergence rule, retry limit, and escalation policy before dispatch.
Use native agents only when agy.agent.execution=passed. When that capability is unknown or
unavailable, separately isolated sequential conversations may substitute only when
agy.sequential.isolation=passed; ordinary same-context role-play never counts. Each execution emits
one result with a unique execution ID. Validate the results with
plugins/multi-agent-consensus/scripts/deliberation.py; missing,
duplicate, malformed, or failed coverage follows the manifest's bounded recovery policy, and an
incomplete receipt blocks completion.
From a target repository, resolve the installed plugin and run the complete command rather than searching that repository for plugin source:
CONSENSUS_PLUGIN_ROOT="${AGY_PLUGIN_ROOT:-$HOME/.gemini/config/plugins/multi-agent-consensus}"
python3 "$CONSENSUS_PLUGIN_ROOT/scripts/deliberation.py" evaluate \
--repo-root . --outcome-id <outcome-id> \
--manifest <manifest.json> --results <results.json> \
--convergence <convergence.json> --escalation <escalation.json>
The command prints the repository-relative receipt path. A non-zero exit blocks the deliberation.
Keep requested and observed model, effort, tools, isolation, and worker facts separate. Leave
unobserved values as unknown. Convergence preserves material disagreement, evidence, and
adjudication. A complete receipt can bind into Saga as deliberation-receipt evidence; it does not
create a competing settlement state.
invoke_subagent tool call to launch all parallel workers at once.
TypeName: "self" (or "research" if it's a read-only task).Role: "[Phase Name] Worker".Prompt: "[Task description and codebase context]".send_message.Once the workers have completed their implementations, you must run the Consensus Protocol.
devils-advocate-reviewer, security-reviewer, architecture-reviewer.api-reviewer, testing-reviewer, infra-reviewer, privacy-reviewer, clarity-reviewer, code-quality-reviewer, ai-usefulness-reviewer).multi-agent-consensus/skills/multi-agent-consensus/references/personas/ directory to get their system prompts.multi-agent-consensus/skills/multi-agent-consensus/references/review-criteria.md.invoke_subagent to spawn the reviewers concurrently.
TypeName: "self".Role: "[Reviewer Name]".Prompt: "[Persona Instructions] + [Review Criteria] + Please review the following diff: [Git Diff]".send_message to send the consolidated feedback back to the specific worker subagent(s) that originally wrote the code.send_message to send the updated diff ONLY to the reviewers who previously scored < 9.0. (Do not recreate the subagents, just message the active ones).Generate a summary report for the user detailing:
Before completing the consensus process, you must run automated validators to check for regressions.
Validators are static subagents in plugins/multi-agent-consensus/agents/ that should be invoked with TypeName.
Validator configurations can be found in .multi-agent-consensus.json which specifies:
required_validatorsdisabled_validatorsnonprod_workflowsscenario_hintssmoke_targetsWrite validator evidence state to .gemini/multi-agent-consensus/validators/.
Automation is allowed only when all conditions are true:
github.com/infiquetra/*.Run testers after deployment. If testers hard-fail, run a maximum 3 remediation loops before escalating to the user.
multi-agent-consensus/references/deliberation-manifest-schema.jsonmulti-agent-consensus/scripts/deliberation.pymulti-agent-consensus/skills/multi-agent-consensus/references/reviewer-registry.mdmulti-agent-consensus/skills/multi-agent-consensus/references/review-criteria.mdmulti-agent-consensus/skills/multi-agent-consensus/references/consensus-protocol.mdmulti-agent-consensus/skills/multi-agent-consensus/references/validator-registry.mdmulti-agent-consensus/skills/multi-agent-consensus/references/validator-criteria.mdmulti-agent-consensus/skills/multi-agent-consensus/references/validator-execution-order.mdmulti-agent-consensus/skills/multi-agent-consensus/references/validator-evidence-state.mdmulti-agent-consensus/skills/multi-agent-consensus/references/validator-spawn-quirks.md