run-batch-codex-research
run-batch-codex-research
Fan out one prompt template across N inputs through an LLM CLI (codex, claude, gemini, ollama, …), running with bounded concurrency, writing one answer file per input, skipping inputs whose answer already exists, and retrying only the failed ones. The unit of work is (template, input) → answers/<slug>.md.
This skill stays small on purpose. It is the generic, CLI-agnostic batch fanout pattern. If the run is codex-only and needs worktrees, manifests, monitor events, or one of the other codex modes (exec / single / review / rescue), reach for orchestrate-codex instead.
When to reach for this skill
Use it if any of these phrases describe the task — italicized so the agent matches them at trigger time:
- "run codex over each URL in
urls.txt", "for each input in this list, run the prompt", "fan out the template across N IDs" - "batch this prompt over a CSV of items", "one answer file per row"
- "parallel research across many topics", "do this for every entry and save the output"
- "resume the batch — retry just the ones that failed", "idempotent, skip already-done inputs"
- "swap codex for claude / gemini / ollama and re-run the same batch"
- "limit to N concurrent CLI processes", "don't melt my machine, cap at 8 jobs"
Do NOT use this skill when:
More from yigitkonur/skills-by-yigitkonur
run-research
Use skill if you are answering one technical research question with current web evidence, Reddit practitioner experience, and source-backed synthesis, optionally fanned out across parallel subagents.
42run-agent-browser
Use skill if you are driving the agent-browser CLI for ad hoc browser automation — @ref snapshots, sessions, forms, extraction, screenshots, headed/stealth, or provider runs.
38publish-npm-package
Use skill if you are publishing to npm via GitHub Actions release workflow with trusted publishing, NPM_TOKEN, provenance, semantic-release, changesets, release-please, or fixing npm publish CI.
35build-mcp-use-server
Use skill if you are building TypeScript MCP servers with mcp-use/server — server.tool, response helpers, ctx.auth, sessions, transports, widgets, Inspector, deploy.
34init-agent-config
Use skill if you are creating, auditing, or migrating CLAUDE.md, AGENTS.md, or REVIEW.md instruction files, folder-scoped agent guidance, or cross-agent companion entrypoints.
34build-skills
Use skill if you are creating or substantially revising a Claude skill and need workspace-first evidence, remote comparison, and repo-fit synthesis before writing SKILL.md.
32