iteration-drive

iteration-drive is a command for Claude Code from btspoony/mstar-harness. It costs 72 tokens per session (1,253 once invoked), scanned A, original, MIT.

A command that moves an active Morning Star iteration through implementation, closing, pull-request creation, and merge-readiness checks. A pull request is a proposed change submitted for review before it enters the main codebase.

In plain words
What is it for?
Use it after starting an iteration to drive the planned tasks to a merge-ready state. It coordinates execution, review, pull-request preparation, and checks such as CI when available.
Why use it?
It prevents work from being treated as finished merely because the code or pull request exists; completion requires the final checks to pass.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: agent in frontmatter.

Part of the morning-star-harness plugin — 23 skills, 5 commands, 14 agents, 2 hooks shipped together

Good fit Use it after starting an iteration to drive the planned tasks to a merge-ready state. It coordinates execution, review, pull-request preparation, and checks such as CI when available.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/btspoony/mstar-harness/iteration-drive
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.

Clone the repo
git clone --depth 1 https://github.com/btspoony/mstar-harness

Made for: Claude Code.

Or install morning-star-harness, the plugin that ships this one along with the rest of its 23 skills, 5 commands, 14 agents, 2 hooks.

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 iteration-drive

README.md
[![agentmods](https://agentmods.dev/badge/commands/btspoony/mstar-harness/iteration-drive/github.svg)](https://agentmods.dev/commands/btspoony/mstar-harness/iteration-drive)
Your own site
<a href="https://agentmods.dev/commands/btspoony/mstar-harness/iteration-drive"><img src="https://agentmods.dev/badge/commands/btspoony/mstar-harness/iteration-drive/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 iteration-drive

Your own site · 80×15
<a href="https://agentmods.dev/commands/btspoony/mstar-harness/iteration-drive"><img src="https://agentmods.dev/badge/commands/btspoony/mstar-harness/iteration-drive.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 72 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,253 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.00072 $0.01253
Opus 5 $0.00036 $0.00626
Sonnet 5 $0.00014 $0.00251
Haiku 4.5 $0.00007 $0.00125

Measured yesterday against content hash 8c5cdb080704, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

iteration-drive 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.

commands/iteration-drive.md · 49 lines

How it starts

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

Drive Iteration

Drive the active Morning Star iteration forward. Boot loads skills; this command sequences Phase 2 → 3 → 4 → 5. Phase route + gate SSOT → mstar-iteration Phase route map + Phase transition gates table(§2 detail → references/phase-2-worktree-lease.md;§3 → references/phase-3-iteration-close.md;§4–§5 → references/phase-4-5-pr-delivery.md);本 command 仅补充 可选第三方 helper skill 发现(Phase 5),不反向写入 mstar-*

Phase flow(禁止跳步)

Phase 2: Autonomous Execute → Phase 3: iteration-close → Phase 4: Create PR → Phase 5: PR merge-ready。Transition gates(HARD)→ mstar-iteration Phase transition gates table。

Done 定义 Phase 5 §5.5 exit checklist 全 [x]Phase 3 close ≠ Done;Phase 4 开 PR ≠ Done。

共享 invariants / preflight / todos / STOP

Phase 2–5 共享内容(PM invariants、assignment preflight、session todos、continuous-execution STOP)→ mstar-iteration/references/command-shared-invariants.md(SSOT;不在本命令重复)。

Boot

mstar-iteration Load order 加载(mstar-harness-coremstar-rolesreferences/project-manager.mdmstar-iteration(按当前 Phase 查 route map,只加载一行 detail)+ command-shared-invariants.mdmstar-compoundmstar-dispatch-gates + host reference → mstar-sdd(first implement dispatch 前)→ mstar-review-qc(first QC 前)→ mstar-artifacts / mstar-conventions / mstar-branch-worktreemstar-iteration/references/phase-2-worktree-lease.md)。完整 load list → mstar-roles

Phase 2: Autonomous Execute

Execute mstar-iteration/references/phase-2-worktree-lease.md §2.0–§2.5 exactly(§2.0 五道闸 → §2.1 session todos → §2.2 backlog → §2.3 integration branch + control worktree → §2.4 per-plan loop(lease-gated;SDD per-task;QC tri N=3 + QA;serial merge)→ §2.5 dispatch-first;§2.6 push 纪律 → main skill ## 2.6)。全部 plan DoneSTOP → 打印 ## Phase 3: iteration-close

Assignment preflight:每次 implement/QC/QA 派发前按 mstar-iteration/references/command-shared-invariants.md 执行。

Phase 3: iteration-close

Read the full file on GitHub · 49 lines

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 Changed 8c5cdb080704
  2. 10d ago First seen · 49 lines · 72 tokens per session scan A c46886c6dd14

Subscribe to this mod's changes

iteration-drive is a command published in the GitHub repository btspoony/mstar-harness (58 stars, last pushed yesterday), licensed MIT. It adds 72 tokens to every session and 1,253 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-08-30.