gh-milestone-create

gh-milestone-create is a command for coding agents from matteocervelli/llms. It costs 13 tokens per session (607 once invoked), scanned A, original, MIT.

A command for creating a GitHub milestone, which groups repository work around a goal and optional deadline.

In plain words
What is it for?
Use it to create milestones with titles, descriptions, due dates, and open or closed status.
Why use it?
It avoids manually building the milestone through the GitHub interface or remembering the required command options.

Command

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/matteocervelli/llms/gh-milestone-create
Clone the repo
git clone --depth 1 https://github.com/matteocervelli/llms

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 gh-milestone-create

README.md
[![agentmods](https://agentmods.dev/badge/commands/matteocervelli/llms/gh-milestone-create.svg)](https://agentmods.dev/commands/matteocervelli/llms/gh-milestone-create)
Your own site
<a href="https://agentmods.dev/commands/matteocervelli/llms/gh-milestone-create"><img src="https://agentmods.dev/badge/commands/matteocervelli/llms/gh-milestone-create.svg" alt="Measured on agentmods" height="20"></a>
Per session 13 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 607 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 $0.00013 $0.00607
Opus 5 $0.00006 $0.00303
Sonnet 5 $0.00003 $0.00121
Haiku 4.5 $0.00001 $0.00061

Measured 3d ago against content hash 059b53c6590c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

gh-milestone-create 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 3d 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.

.archive/claude-v1/commands/gh-milestone-create.md · 93 lines

How it starts

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

Create GitHub Milestone

Create a milestone on GitHub with title, description, and optional due date.

Usage

/gh-milestone-create                    # Interactive mode
/gh-milestone-create "Sprint 3"         # With title
/gh-milestone-create "Sprint 3" 2025-11-15  # With title and due date

What it does

  1. Checks if GitHub CLI is authenticated
  2. Gets repository information
  3. Creates milestone with specified details
  4. Optionally sets due date
  5. Returns milestone URL and number

Execution

!echo "📋 Creating GitHub milestone..." !gh auth status !gh repo view --json nameWithOwner,url | grep -E 'nameWithOwner|url' !gh milestone create "New Milestone" --description "Milestone description" --due-date 2025-12-31

Interactive Example

For interactive milestone creation with prompts:

!gh api repos/:owner/:repo/milestones -f title="Sprint 3" -f description="Sprint 3 objectives" -f due_on="2025-11-15T23:59:59Z" -f state="open"

Parameters

  • title (required): Milestone title
  • description (optional): Detailed description of milestone goals
  • due-date (optional): Due date in YYYY-MM-DD format
  • state (optional): open or closed (default: open)

Examples

Basic milestone

/gh-milestone-create "v1.0 Release"

Milestone with due date

/gh-milestone-create "Q4 Goals" 2025-12-31

Using GitHub API directly

gh api repos/owner/repo/milestones \
  -f title="Sprint 4" \
  -f description="Complete core features" \
  -f due_on="2025-11-30T23:59:59Z"

Listing Existing Milestones

gh milestone list
gh api repos/:owner/:repo/milestones

Requirements

  • GitHub CLI (gh) installed and authenticated
  • Write access to the repository
  • Valid repository context

Tips

  • Use clear, action-oriented milestone titles
  • Set realistic due dates
  • Include objectives in description
  • Link issues to milestones for tracking
  • Use milestones for sprint planning
  • Close milestones when complete

Read the full file on GitHub · 93 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. 3d ago First seen · 93 lines · 13 tokens per session scan A 059b53c6590c

Subscribe to this mod's changes

gh-milestone-create is a command published in the GitHub repository matteocervelli/llms (25 stars, last pushed 3mo ago), licensed MIT. It adds 13 tokens to every session and 607 once invoked, about $0.0001 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-09-01.