Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add stark-ai-de/agent-skills --skill review-fix-swarmgit clone --depth 1 https://github.com/stark-ai-de/agent-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/stark-ai-de/agent-skills/review-fix-swarm)<a href="https://agentmods.dev/skills/stark-ai-de/agent-skills/review-fix-swarm"><img src="https://agentmods.dev/badge/skills/stark-ai-de/agent-skills/review-fix-swarm/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/stark-ai-de/agent-skills/review-fix-swarm"><img src="https://agentmods.dev/badge/skills/stark-ai-de/agent-skills/review-fix-swarm.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00066 | $0.02808 |
| Opus 5.5 | $0.00026 | $0.01123 |
| Sonnet 5.5 | $0.00013 | $0.00562 |
| Haiku 4.5 | $0.00007 | $0.00281 |
Grade A, and why
review-fix-swarm scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 23d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 102 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Review-Fix Swarm
Goal
Improve an already implemented feature with independent reviews, real behavior-preserving simplification, one writer, and bounded automatic re-review. Optimize demonstrated correctness and maintenance cost, not number of reported findings or deleted lines.
When to use
- A feature branch/PR is ready for a post-implementation review and automatic fixes.
- The user asks to simplify an implemented change repeatedly while preserving behavior.
- The user wants a Codex-only baseline or an optional Codex + Pi read-only reviewer comparison.
Select codex by default; select hybrid only when requested. Start directly when scope is clear. A request to review only does not authorize code edits; use read-only assessment in that case.
When not to use
- Initial feature development, architecture decisions without approved scope, or broad repository cleanup.
- Merge, publishing, deployment, security-sensitive permission changes, or speculative rewrites.
- A comparison where the two arms cannot be isolated from one another.
Inputs to inspect
- Requested branch/PR, target/base branch, immutable merge-base SHA and task/acceptance criteria.
- Applicable
AGENTS.md, accepted local ADRs, runtime/security boundaries and available checks. git statusincluding staged, unstaged, deleted, renamed and non-ignored untracked files, plus all in-scope consumers; never assume a PR diff covers local work.- Existing Codex/Pi CLI capabilities and effective configuration (global and project), available models and budget.
Workflow
- Preflight and authority. Select
codex(3 native reviewers) orhybrid(2 native + 1 real external Pi reviewer). Confirm Git scope and fixed starting snapshot. Inventory paths using Git's NUL-safe mechanisms when possible. Include relevantts/tsx/mts/cts, tests, docs, fixtures and new components. Classify ignored/generated/vendor/out-of-scope paths explicitly. Inspect consumers needed to validate behavior. Never reset, stash, stage, rewrite other worktrees or silently discard existing edits. - Config gate. Inspect actual host CLI help/feature output and supported config keys before edits. Prefer a cheap available model such as
gpt-6-lunawithmediumfor review/fix agents; no Astra without explicit approval. Limit concurrency to the observed/supported ceiling (target: 3 reviewers; no more than 4 agent threads). Reuse validated settings; skip redundant smoke agents and forced model changes. When user authorized setup and a minimal safe config edit is required, back up the existing file, apply only supported keys, validate, and stop withRESTART_REQUIREDif necessary. Otherwise reportMANUAL_ACTIONand exact instructions; do not continue against invalid config or unavailable model. - Hybrid gate, only when selected. Confirm Pi is installed, authorized, authenticated, supports a noninteractive invocation and has read-only file tools. Probe actual
pi --helpbefore choosing flags. Invoke Pi as a real external process, constrained to read/grep/find/ls and without write-capable extensions; use an explicit task, scope and snapshot; verify exit status, nonempty response and source coverage. If Pi fails, reportBLOCKED; never silently substitute a Codex reviewer. Keep Pi's actual model and usage separate from Codex. - Independent round. Establish an enforced read-only parent/session for all reviewers. If the current parent is writable, actively launch a separate session with the host-supported read-only sandbox and the target checkout as cwd; end it before the writer starts. For Codex CLI, inspect
codex exec --helpand use its supported--sandbox read-onlyoption when available, with--cdfor the exact checkout. Confirm the effective policy and cwd in that session; account separately for any MCP or other external write-capable tools, disabling or constraining them when needed. A CLI option is evidence of requested policy, not by itself proof of effective enforcement over every tool. No CI environment variable or CI mode is required. Custom agent instructions or per-agent sandbox keys do not override inherited parent permissions. If an enforced session cannot be established, reportBLOCKEDbefore launching reviewers. On every start or resume, re-confirm the effective working directory and enforced read-only policy; never assume a resumed CLI session retains either. Stop before probes or reviewers if either differs from the approved scope. UseGIT_OPTIONAL_LOCKS=0for orchestration Git reads to avoid index stat-cache refreshes. Record the effective policy and compare source (including untracked files), index and HEAD fingerprints before/after review; any mutation invalidates the round and blocks triage. Before launching reviewers, select and verify a durable, private evidence-capture route for native creation and completion events; follow review receipts. For Codex CLI, capturecodex exec --jsonstdout from process start and preserve it outside the target repository;--ephemeraldoes not persist transcripts. If no authorized capture route can retain the required evidence, reportBLOCKEDbefore launch. Start three genuinely independent, fresh-context reviewers in parallel. Reconcile creation and completion evidence for each role: native receipts for Codex reviewers and captured subprocess evidence for the external Pi reviewer inhybrid; coordinator-provided role names alone do not prove reviewer execution. Dynamic collaboration tools may record launches only in persistent parent/child transcripts, so do not treat absent compact events as proof that launches failed. If compact CLI events omit creation details, inspect the corresponding local runtime transcript before the session or its temporary storage disappears; publish only a sanitized receipt. All inspect the same current snapshot, task contracts and path inventory:- Correctness: bugs, error handling, security/trust, edge cases and observable contract drift.
- Simplification: redundant layers, duplicated responsibility, deletion, existing platform/framework/dependency reuse, unnecessary abstractions; actively propose implementable reductions even with zero P1/P2 bugs.
- Regression: coverage holes, failure/cancellation paths, consumers, UI interaction/accessibility and unintended change.
In
hybrid, assign the simplification role to Pi; do not spawn an unrequested fourth "control" reviewer.
- Triage and fix. Wait for all three, check claims in source and affected callers, remove duplicates, classify each as
apply | retain | deferwith evidence. Evaluate simplification alternatives using the contract. No P1/P2 findings is not a stop signal if a proven beneficial simplification remains. Delegate all authorized changes to exactly one writing fixer, on the target's policy-compliant write scope. Do not mutate concurrently. Make the smallest coherent change, update contract tests where needed, and preserve behavior. If no proven candidate exists, do not manufacture edits. - Verify and repeat. Run affected boundary tests/type/lint/format checks after a change; reuse still-relevant unchanged evidence. Spawn fresh reviewers on the new snapshot, include newly created/modified paths and affected consumers, and repeat up to 3 total review rounds (not 3 extra fix rounds). A fix in the final round without a fresh re-review leaves
PARTIAL; do not exceed the round budget to manufactureDONE. Stop on no verified actionable bug and no proven simplification, no progress, exhausted budget, blocked proof or repeated failure. Independently re-scan the full authorized simplification inventory before claiming completion; if that cannot be checked, report partial coverage. - Final gate and receipt. Run the project's required relevant checks, not every available expensive suite by default; run agreed full regression gates when required by the target repository or the requested benchmark. Report checks not run. Produce a categorized fixed-baseline code balance (production, tests/fixtures, docs/config, scripts/examples, generated) and actual removed maintenance obligations; never infer speed from fewer lines. Only benchmark runtime performance when a performance change/claim is in scope. Report honest measured time, per-agent duration, model, token/cost availability, evidence gaps and unresolved warnings.
What ships with it
7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 23d ago Changed · +1 lines 3e334d1ce9b6
- 1mo ago Changed bf435b1ee780
- 1mo ago First seen · 101 lines · 66 tokens per session scan A 17044c1e2bc7
review-fix-swarm is a skill published in the GitHub repository stark-ai-de/agent-skills (8 stars, last pushed 2d ago), licensed Apache-2.0. It adds 66 tokens to every session and 2,808 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-17.
review-fix-swarm compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| review-fix-swarmstark-ai-de/agent-skills | Skill | 8 | 2d ago | Apache-2.0 | A | 66 | Claude Code, Codex |
| muse-delegateamElnagdy/delegate-skills | Skill | 2.7k | 16d ago | MIT | A | 157 | Claude Code, Codex |
| factory-reviewtikalk/adlc-team-skills | Skill | 147 | today | MIT | A | 37 | Claude Code, Codex |
| architect-inittikalk/adlc-team-skills | Skill | 147 | today | MIT | A | 27 | Claude Code |
| architect-analyzetikalk/adlc-team-skills | Skill | 147 | today | MIT | A | 38 | Claude Code |
| architecture-decision-record-maintainer-skillarchitecture-decision-record/architecture-decision-record | Skill | 18k | yesterday | none | A | 92 | Claude Code, Codex |
| rescuesendbird/cc-plugin-codex | Skill | 236 | 8d ago | Apache-2.0 | A | 99 | Claude Code, Codex |