parallel-execution-optimizer

parallel-execution-optimizer is a skill for Claude Code from marcusgoll/Spec-Flow. It costs 80 tokens per session (4,555 once invoked), scanned A, original, MIT.

A workflow helper that finds independent operations and runs them at the same time using multiple agents.

In plain words
What is it for?
It helps batch quality checks, pre-flight checks, implementation tasks, and prototype screens.
Why use it?
It reduces waiting when checks, implementation tasks, or screen prototypes do not depend on one another.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit It helps batch quality checks, pre-flight checks, implementation tasks, and prototype screens.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/marcusgoll/spec-flow/parallel-execution-optimizer
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 marcusgoll/Spec-Flow --skill parallel-execution-optimizer
Clone the repo
git clone --depth 1 https://github.com/marcusgoll/Spec-Flow

Made for: Claude Code.

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-execution-optimizer

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/marcusgoll/spec-flow/parallel-execution-optimizer"><img src="https://agentmods.dev/badge/skills/marcusgoll/spec-flow/parallel-execution-optimizer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 80 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,555 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.00080 $0.04555
Opus 5 $0.00040 $0.02278
Sonnet 5 $0.00016 $0.00911
Haiku 4.5 $0.00008 $0.00456

Measured 7d ago against content hash 78fc8a37fb89, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

parallel-execution-optimizer 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 7d 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.

.claude/skills/parallel-execution-optimizer/SKILL.md · 618 lines

How it starts

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

Traditional sequential execution wastes time:

  • /optimize runs 5 quality checks sequentially (10-15 minutes)
  • /ship runs 5 pre-flight checks sequentially (8-12 minutes)
  • /implement processes tasks one-by-one despite no dependencies
  • Prototype screens generated sequentially when all could run in parallel

This skill analyzes operation dependencies, groups independent work into batches, and orchestrates parallel execution using multiple Task() agent calls in a single message. The result: 3-5x faster phase completion with zero compromise on quality or correctness.

<quick_start> <basic_pattern> When you detect multiple independent operations, send a single message with multiple tool calls:

Sequential (slow):

  • Send message with Task call for security-sentry
  • Wait for response
  • Send message with Task call for performance-profiler
  • Wait for response
  • Send message with Task call for accessibility-auditor
  • Total: 15 minutes

Parallel (fast):

  • Send ONE message with 3 Task calls (security-sentry, performance-profiler, accessibility-auditor)
  • All three run concurrently
  • Total: 5 minutes </basic_pattern>

<immediate_use_cases>

  1. /optimize phase: Run 5 quality checks in parallel (security, performance, accessibility, code-review, type-safety)
  2. /ship pre-flight: Run 5 deployment checks in parallel (env-vars, build, docker, CI-config, dependency-audit)
  3. /implement: Process independent task batches in parallel layers
  4. Design variations: Generate multiple mockup variations concurrently
  5. Research phase: Fetch multiple documentation sources concurrently </immediate_use_cases> </quick_start>

Scan the current phase for operations that:

  • Read different files/data sources
  • Don't modify shared state
  • Have no sequential dependencies
  • Can produce results independently

Examples:

  • Quality checks (security scan + performance test + accessibility audit)
  • File reads (spec.md + plan.md + tasks.md)
  • API documentation fetches (Stripe docs + Twilio docs + SendGrid docs)
  • Test suite runs (unit tests + integration tests + E2E tests)

Build a dependency graph:

  • Layer 0: Operations with no dependencies (can run immediately)
  • Layer 1: Operations depending only on Layer 0 outputs
  • Layer 2: Operations depending on Layer 1 outputs
  • etc.

Example (/optimize):

Layer 0 (parallel):
  - security-sentry (reads codebase)
  - performance-profiler (reads codebase + runs benchmarks)
  - accessibility-auditor (reads UI components)
  - type-enforcer (reads TypeScript files)
  - dependency-curator (reads package.json)

Layer 1 (after Layer 0):
  - Generate optimization-report.md (combines all Layer 0 results)

Create batches for each layer:

  • All Layer 0 operations in single message (parallel execution)
  • Wait for Layer 0 completion
  • All Layer 1 operations in single message
  • Continue through layers

Batch size considerations:

  • Optimal: 3-5 operations per batch (balanced parallelism)
  • Maximum: 8 operations (avoid overwhelming system)
  • Minimum: 2 operations (below 2, parallelism has no benefit)

Send a single message with multiple tool calls for each batch.

Critical requirements:

  • Must be a single message with multiple tool use blocks
  • Each tool call must be complete and independent
  • Do not use placeholders or forward references
  • Each agent must have all required context in its prompt

See references/execution-patterns.md for detailed examples.

Read the full file on GitHub · 618 lines

Files

What ships with it

4 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. 7d ago First seen · 618 lines · 80 tokens per session scan A 78fc8a37fb89

Subscribe to this mod's changes

parallel-execution-optimizer is a skill published in the GitHub repository marcusgoll/Spec-Flow (92 stars, last pushed 4mo ago), licensed MIT. It adds 80 tokens to every session and 4,555 once invoked, about $0.0004 per session on Opus 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-09-03.