multishot transforms a single markdown spec into a full, executable development flow. It builds your phase roadmap, expands each step into testable AI prompts, and runs them in sequence, all while enforcing strict logging and success criteria.
Suggest a Feature or Report a Bug
multishot turns a single project specification into an actionable, multi-phase workflow for AI development. It reads your high-level goals, generates phase outlines, expands them into task prompts with logging constraints, and then executes each task sequentially through a configured AI CLI.
Key capabilities:
- Deterministic generation of
multishot/phases.mdfrommultishot/project.md - Per-phase task prompt creation under
multishot/Phase*/task*.md - Sequential task execution that halts on the first failure and surfaces the offending phase/task
- Strict adherence to logging rules and the Success/Failure stdout contract
- Codex CLI (others coming soon)
- Node.js 18 or later
- A project specification stored at
multishot/project.md(seedocs/sample-project.mdfor inspiration)
# install the CLI globally from GitHub
npm install -g alfreema/multishot
# verify the command is on your path
multishot --help# generate phase plan
multishot --gen-phases
# generate task prompts for every phase
multishot --gen-tasks
# execute all task prompts sequentially
multishot --run-tasks
# execute only a single phase
multishot --run-phase "Phase 1"-
--cli <codex-cli>
Selects the backing AI CLI. Defaults tocodex-cli(currently the only supported integration). -
--gen-phases
Readsmultishot/project.mdand producesmultishot/phases.md. -
--gen-tasks
Scansmultishot/phases.md, generates per-phase prompts undermultishot/PhaseX/taskY.md, and stops if any target directory already exists. -
--run-tasks
Iterates every generated task prompt (multishot/PhaseX/taskY.md), executing them through the configured CLI until completion or the first failure. -
--run-phase <phase>
Executes all tasks for a single phase, by phase name (e.g.,--run-phase "Phase1").
- Generation (
--gen-phases,--gen-tasks) usesgpt-5-medium. - Execution (
--run-tasks,--run-phase) usesgpt-5-codex-low.
These defaults are applied internally when invoking the configured CLI.
- Support additional CLI integrations (Claude, OpenAI realtime, etc.)
- Rich status reporting and summaries after task execution
- Optional retries for infra-classified failures
See the open issues for a full list of proposed features and known issues.
Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feat/my-feature) - Commit your Changes (
git commit -m 'feat: add amazing feature') - Push to the Branch (
git push origin feat/my-feature) - Open a Pull Request
Please open an issue first to discuss major changes or architectural shifts.
Distributed under the MIT License. See LICENSE for more information.
Aaron Freeman - GitHub
Project Link: https://github.com/alfreema/multishot