parallel-workflows

A workflow guide for finding tasks that can run at the same time, such as checking several folders or running tests and code checks together.

In plain words
What is it for?
Use it when asking to run work in parallel, together, or all at once, including repository analysis, checks, and independent feature work.
Why use it?
It helps avoid waiting through independent tasks one after another while keeping tasks that depend on earlier results in the correct order.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/chachamaru127/codex-harness/parallel-workflows
Any agent
npx skills add Chachamaru127/codex-harness --skill parallel-workflows
Clone the repo
git clone --depth 1 https://github.com/Chachamaru127/codex-harness

Made for: Claude Code, Codex.

Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,102 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00047 $0.02102
Opus 5 $0.00023 $0.01051
Sonnet 5 $0.00009 $0.00420
Haiku 4.5 $0.00005 $0.00210

Measured yesterday against content hash 3eb688e52cac, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

parallel-workflows 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 yesterday.

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/skills/parallel-workflows/SKILL.md · 284 lines

How it starts

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

Parallel Workflows Skill

複数タスクの並列実行を最適化するスキル。 Task ツールを活用して、独立したタスクを同時に処理します。


トリガーフレーズ

このスキルは以下のフレーズで自動起動します:

  • 「並列で実行して」「同時にやって」
  • 「まとめてやって」「一気にやって」
  • 「効率的にやって」「速くやって」
  • "run in parallel", "do these together"

関連コマンド

  • /work - Plans.md のタスクを実行(並列実行対応)

概要

Claude Code は複数のタスクを並列実行できます。 このスキルは、どのタスクが並列化可能かを判断し、最適な実行計画を立てます。


並列化パターン

パターン1: 複数ファイルの同時分析

使用場面: コードレビュー、構造把握

Task tool を並列起動:
- agent1: src/components/ を分析
- agent2: src/lib/ を分析
- agent3: src/app/ を分析

VibeCoder向け言い方:

「このプロジェクトの構造を教えて」
→ 自動的に並列分析を実行

パターン2: テストとビルドの同時実行

使用場面: CI/CD、品質チェック

並列実行:
- npm run lint
- npm run type-check
- npm run test

直列実行(依存あり):
- npm run build(上記が全て成功後)

VibeCoder向け言い方:

「チェックして」
→ lint, type-check, test を並列実行

パターン3: 複数機能の同時実装

使用場面: 独立した機能の開発

Plans.md:
- [ ] ヘッダーコンポーネント作成
- [ ] フッターコンポーネント作成
- [ ] サイドバーコンポーネント作成

→ 3つのTask agentを並列起動

VibeCoder向け言い方:

「レイアウトを全部作って」
→ 独立したコンポーネントを並列実装

判定ロジック

並列化可能な条件

  1. ファイル依存なし: 同じファイルを編集しない
  2. データ依存なし: 出力が他の入力にならない
  3. 順序依存なし: 実行順序が結果に影響しない

並列化不可の例

❌ 並列化不可:
1. API クライアント作成
2. API クライアントを使うコンポーネント作成
→ 2は1の出力に依存

✅ 並列化可能:
1. ログインページ作成
2. 会員登録ページ作成
→ 互いに独立

実装ガイド

Task ツールを使った並列実行

// 並列実行パターン
const tasks = [
  { name: "タスクA", prompt: "..." },
  { name: "タスクB", prompt: "..." },
  { name: "タスクC", prompt: "..." }
];

// 全てのタスクを run_in_background: true で起動
// TaskOutput で結果を収集

統合レポートの生成

各タスク完了後、以下の形式でレポートを生成:

## 📊 並列タスク実行レポート

**実行日時**: {{timestamp}}
**タスク数**: {{count}}件(並列実行)
**所要時間**: {{duration}}秒

### 完了タスク

| # | タスク | ステータス | 所要時間 | 成果物 |
|---|-------|----------|---------|-------|
{{#each tasks}}
| {{index}} | {{name}} | {{status}} | {{duration}}秒 | {{output}} |
{{/each}}

### 変更ファイル一覧

{{#each files}}
- `{{path}}` ({{action}})
{{/each}}

実行例

例1: プロジェクト分析

ユーザー: 「このプロジェクトについて教えて」

Claude Code:
🔍 プロジェクトを並列分析中...

├── [Agent 1] 構造分析中...
├── [Agent 2] 依存関係チェック中...
└── [Agent 3] コード品質分析中...

完了!

📁 プロジェクト概要:
- フレームワーク: Next.js 14
- 主要ディレクトリ: 15個
- ファイル数: 87個
- 依存パッケージ: 23個
- コード品質: 良好(lint警告: 3件)

Read the full file on GitHub · 284 lines

Files

What ships with it

5 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. yesterday First seen · 284 lines · 47 tokens per session scan A 3eb688e52cac

Subscribe to this mod's changes

parallel-workflows is a skill published in the GitHub repository Chachamaru127/codex-harness (2 stars, last pushed 6mo ago), licensed MIT. It adds 47 tokens to every session and 2,102 once invoked, about $0.0002 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-08-31.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

babysit-pr

Babysit a GitHub pull request after creation by continuously polling review comments, CI checks/workflow runs, and mergeability state until the PR is merged/closed or user help is required. Diagnose failures, retry likely flaky failures up to 3 times, auto-fix/push branch-related issues when appropriate, and keep…

openai/codex · 114 tokens

imagegen

Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output…

openai/codex · 113 tokens

agent-host-chat-contributions

Build and review cross-cutting agent-host chat behavior through lifecycle contributions. Use when adding turn lifecycle side effects, prompt or context injection, restored-history transformation, protocol-action observation, or when reviewing changes that add code to AgentSideEffects or AgentService.

microsoft/vscode · 56 tokens