parallel-fix

parallel-fix is a skill for Codex from Dmatut7/codex-flow. It costs 162 tokens per session (901 once invoked), scanned A, original, MIT.

A method for applying a list of mostly independent code fixes at the same time, with one later step to merge and test them.

In plain words
What is it for?
Use it for batch-fixing audit results or implementing several unrelated changes concurrently, then applying the proposed patches and running the full test suite.
Why use it?
It reduces the time spent fixing separate audit findings one after another. It also identifies conflicts when fixes touch the same code.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions Codex.

Good fit Use it for batch-fixing audit results or implementing several unrelated changes concurrently, then applying the proposed patches and running the full test suite.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dmatut7/codex-flow/codex-skill-parallel-fix
Install

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.

Any agent
npx skills add Dmatut7/codex-flow --skill codex-skill-parallel-fix
Clone the repo
git clone --depth 1 https://github.com/Dmatut7/codex-flow

Made for: Codex.

Wrote 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.

agentmods badge for parallel-fix

README.md
[![agentmods](https://agentmods.dev/badge/skills/dmatut7/codex-flow/codex-skill-parallel-fix/github.svg)](https://agentmods.dev/skills/dmatut7/codex-flow/codex-skill-parallel-fix)
Your own site
<a href="https://agentmods.dev/skills/dmatut7/codex-flow/codex-skill-parallel-fix"><img src="https://agentmods.dev/badge/skills/dmatut7/codex-flow/codex-skill-parallel-fix/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.

agentmods 80×15 button for parallel-fix

Your own site · 80×15
<a href="https://agentmods.dev/skills/dmatut7/codex-flow/codex-skill-parallel-fix"><img src="https://agentmods.dev/badge/skills/dmatut7/codex-flow/codex-skill-parallel-fix.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 162 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 901 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00162 $0.00901
Opus 5.5 $0.00065 $0.00360
Sonnet 5.5 $0.00032 $0.00180
Haiku 4.5 $0.00016 $0.00090

Measured 2mo ago against content hash 1784548b89ce, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

parallel-fix 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 2mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (references/fix-template.workflow.ts), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

codex-skill-parallel-fix/SKILL.md · 40 lines

How it starts

The opening of the file, as written. The whole thing — 40 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Parallel Fix

Speed up the fix/implement half of the loop. A normal agent fixes a list serially (explore → fix → test → commit, repeat) — slow. This skill generates every fix concurrently, then integrates + verifies once.

Engine / backend / sandbox / journal mechanics: reuse the dynamic-workflow skill. This skill carries only the method.

The key idea (and its honest limit)

The slow, parallelizable part is "analyze each finding + write the correct patch" — independent per finding. So fixers run in parallel but READ-ONLY, each returning a unified diff (not editing the tree — parallel writers to one repo race and the engine will reject them). A single serial step then applies the diffs, resolves conflicts, and runs the full suite once.

Honest limits — say these to the user, don't hide them:

  • Integration + verify is serial (one suite run on the merged result) — that's the bottleneck you can't parallelize away.
  • Overlapping fixes (same file/lines) can't be blindly merged — the apply step puts conflicts in a conflicted list for manual handling.
  • Parallel fixers don't see each other, so a fix may assume code another changed — the single full-suite verify catches breakage; a reconciliation pass may be needed.
  • Realistic speedup ≈ 2–4× (more independent findings → more speedup), NOT N×.

Steps

Generate .codex-flow/generated/<slug>.fix.workflow.ts from references/fix-template.workflow.ts (import-free, plain JSON Schema), set FINDINGS to the real list (from the audit / the user), then codex-flow run it. The phases:

  1. Propose (parallel, sandbox: "read-only") — one agent per finding. Each reads the code and returns the smallest correct unified diff + a risk rating. Read-only ⇒ safe to share one cwd. Route risk: "high" items (concurrency / resume / budget / determinism) out of the blind-parallel path — recommend the user fix those with single careful TDD (a reproducing test first), because that's where parallel-blind fixes regress.
  2. Apply + verify (phase, single agent, sandbox: "workspace-write", cwd: process.cwd()) — apply the diffs in a conflict-minimizing order; record un-mergeable ones under conflicted; run the project's full test + typecheck once; report testPassed honestly.

Read the full file on GitHub · 40 lines

Files

What ships with it

3 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.

Changes

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.

  1. 2mo ago First seen · 40 lines · 162 tokens per session scan A 1784548b89ce

Subscribe to this mod's changes

parallel-fix is a skill published in the GitHub repository Dmatut7/codex-flow (9 stars, last pushed 5mo ago), licensed MIT. It adds 162 tokens to every session and 901 once invoked, about $0.0006 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-08-31.

Related

parallel-fix compared with skills from other repositories

parallel-fix next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
parallel-fixDmatut7/codex-flowSkill95mo agoMITA162Codex
aiox-devSynkraAI/aiox-coreSkill3.1kyesterdaynoneA28Claude Code
aiox-devopsSynkraAI/aiox-coreSkill3.1kyesterdaynoneA51Claude Code
aiox-masterSynkraAI/aiox-coreSkill3.1kyesterdaynoneA49Claude Code
aiox-architectSynkraAI/aiox-coreSkill3.1kyesterdaynoneA52Claude Code
aiox-data-engineerSynkraAI/aiox-coreSkill3.1kyesterdaynoneA48Claude Code
aiox-qaSynkraAI/aiox-coreSkill3.1kyesterdaynoneA45Claude Code