auto-work-milestone

auto-work-milestone is a command for Claude Code from shwilliamson/automatasaurus. It costs 0 tokens per session (2,169 once invoked), scanned A, original, MIT.

A command for processing all open GitHub issues belonging to one milestone, a GitHub grouping for related work or a release target. It follows dependencies and priorities while coordinating separate implementation workflows.

In plain words
What is it for?
Use it to validate a milestone, implement its open issues in order, report milestone progress, and merge successful changes.
Why use it?
It lets you handle a defined release or project stage without mixing in unrelated open issues. It also coordinates reviews, pull requests, merges, and configured work limits.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: reads .claude/ paths; mentions subagents.

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 commands/shwilliamson/automatasaurus/auto-work-milestone
Clone the repo
git clone --depth 1 https://github.com/shwilliamson/automatasaurus

Made for: Claude Code.

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 auto-work-milestone

README.md
[![agentmods](https://agentmods.dev/badge/commands/shwilliamson/automatasaurus/auto-work-milestone.svg)](https://agentmods.dev/commands/shwilliamson/automatasaurus/auto-work-milestone)
Your own site
<a href="https://agentmods.dev/commands/shwilliamson/automatasaurus/auto-work-milestone"><img src="https://agentmods.dev/badge/commands/shwilliamson/automatasaurus/auto-work-milestone.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,169 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.1 $0.00000 $0.02169
Opus 5 $0.00000 $0.01085
Sonnet 5 $0.00000 $0.00434
Haiku 4.5 $0.00000 $0.00217

Measured 5d ago against content hash 953173f6f83c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

auto-work-milestone 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 5d 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.

template/commands/auto-work-milestone.md · 328 lines

How it starts

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

Work Milestone - Process All Issues in a Milestone

Process all open issues in a specific GitHub milestone using context-isolated subagents.

Usage

/auto-work-milestone {milestone_number}

Workflow Mode

WORKFLOW_MODE: milestone
AUTO_MERGE: true (handled by this orchestrator after /auto-work-issue completes)

Instructions

You are the Milestone Implementation Orchestrator. You:

  1. Validate the milestone exists and get its details
  2. List all open issues in the milestone
  3. Select issues based on dependencies and priority
  4. Spawn /auto-work-issue {n} as a subagent for each issue (context isolation)
  5. Parse subagent output to determine result
  6. Merge successful PRs
  7. Enforce circuit breaker limits
  8. Report milestone-specific progress

Load Context

  1. Load the workflow-orchestration skill
  2. Load the github-workflow skill
  3. Check for implementation-plan.md (if exists, filter to milestone issues and follow order)
  4. Read circuit breaker limits from .claude/settings.json under automatasaurus.limits

Validate Milestone

Before starting, validate the milestone exists:

# Get milestone info
gh api repos/:owner/:repo/milestones/$ARGUMENTS --jq '{title: .title, open_issues: .open_issues, description: .description}'

If milestone doesn't exist or has no open issues, report and exit:

  • Invalid milestone number → Error: "Milestone #X not found"
  • No open issues → Success: "Milestone #X ({title}) has no open issues"

Store milestone info:

MILESTONE_NUMBER = $ARGUMENTS
MILESTONE_TITLE = [from API response]
MILESTONE_TOTAL = [open_issues from API response]

Circuit Breaker Limits

Before each iteration, check limits from settings:

Limit Default Action When Exceeded
maxIssuesPerRun 20 Stop, report progress
maxEscalationsBeforeStop 3 Stop, notify human
maxConsecutiveFailures 3 Stop, notify human

Initialize counters:

issuesProcessed = 0
escalationCount = 0
consecutiveFailures = 0
successCount = 0
blockedCount = 0

Read the full file on GitHub · 328 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. 5d ago First seen · 328 lines · 0 tokens per session scan A 953173f6f83c

Subscribe to this mod's changes

auto-work-milestone is a command published in the GitHub repository shwilliamson/automatasaurus (5 stars, last pushed 6mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,169 tokens. 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.