iteration-drive

iteration-drive is a command for Claude Code from btspoony/mstar-harness. It costs 38 tokens per session (612 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 — 26 skills, 8 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 26 skills, 8 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 38 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 612 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.00038 $0.00612
Opus 5.5 $0.00015 $0.00245
Sonnet 5.5 $0.00008 $0.00122
Haiku 4.5 $0.00004 $0.00061

Measured 2d ago against content hash ceb89e5f5547, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 2d 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.

commands/iteration-drive.md · 29 lines

How it starts

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

Drive Iteration

Drive the selected iteration to completion with one primary coordinator. Not Done until Phase 6 post-merge close — a Phase 3 close, an open PR or a merge-ready exit is not delivery.

Entry

Accepts no arguments: reject a nonempty invocation before boot and name the supported no-argument form instead of broadening its scope. A leaf executor that receives this command refuses it on role grounds (mstar-dispatch-gates) and never promotes itself to PM.

Boot

mstar-harness-core → mstar-roles → references/project-manager.md → mstar-iteration → mstar-iteration/references/command-shared-invariants.md (Phase 2–5 PM invariants, assignment preflight, session todos, continuous-execution STOP list) → the current phase's detail reference only.

Execute

Phase route and transition gates → mstar-iteration ## Phase route map / ## Phase transition gates: run Phase 2 → 3 → 4 → 5 → 6 in order, loading only the current phase's detail and printing each ## Phase N header at its boundary. Phase 5 optional helper-skill discovery → mstar-iteration/references/phase5-helper-discovery.md (non-mstar-* helpers stay out of the mstar-* load order). Continuous execution → mstar-iteration §2.6.

Merge is authorized by the compass pr_merge_policy, never by flow completeness: under reviewed-auto Phase 5 runs the PR-level review loop and only a settled, posted ship it report whose head equals the current PR head authorizes the merge; under owner-gated Phase 5 stops at merge-ready and waits for the human owner's (the operator, not this harness's coordinator seat) explicit written approval of the current PR head. A missing pr_merge_policy is a STOP back to Phase 1 — never infer a default. Rules and every refusal recovery → mstar-iteration → references/phase-4-5-pr-delivery.md §5.3. A verified merge immediately enters Phase 6.

Report

Iteration id, plans completed, compound summary, PR link, merge-ready evidence, the recorded pr_merge_policy and the merge-authorization evidence that satisfied mstar-iteration → references/phase-4-5-pr-delivery.md §5.3, and post-merge close evidence (workflow completed + ended_at, root unregister, projections consistent).

Read the full file on GitHub · 29 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. 2d ago Changed ceb89e5f5547
  2. 4d ago Changed · -32 lines · -48 tokens per session f4ecf34e86e6
  3. 18d ago Changed · -10 lines 49129c4ea47c
  4. 19d ago Changed 3d52c814f0ef
  5. 25d ago Changed · +2 lines 8482be421c46
  6. 26d ago Changed 4f81207649f5
  7. 1mo ago Changed 8cb9638a45d7
  8. 1mo ago Changed · +14 lines d4b075219f68
  9. 1mo ago Changed · +6 lines · +14 tokens per session d8141feb23e1
  10. 1mo ago First seen · 49 lines · 72 tokens per session scan A 9fe9cadad4a0

Subscribe to this mod's changes

iteration-drive is a command published in the GitHub repository btspoony/mstar-harness (64 stars, last pushed yesterday), licensed MIT. It adds 38 tokens to every session and 612 once invoked, about $0.0002 per session on Opus 5.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.