gh-milestone-create

gh-milestone-create is a command for Claude Code 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 for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Good fit Use it to create milestones with titles, descriptions, due dates, and open or closed status.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/matteocervelli/llms/gh-milestone-create
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/matteocervelli/llms

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/matteocervelli/llms/gh-milestone-create/github.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/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 gh-milestone-create

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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. 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.00013 $0.00607
Opus 5.5 $0.00005 $0.00243
Sonnet 5.5 $0.00003 $0.00121
Haiku 4.5 $0.00001 $0.00061

Measured 3mo ago against content hash 059b53c6590c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 3mo 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. 3mo 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 6mo ago), licensed MIT. It adds 13 tokens to every session and 607 once invoked, about $0.0001 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-09-01.

Related

gh-milestone-create compared with commands from other repositories

gh-milestone-create next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
gh-milestone-creatematteocervelli/llmsCommand256mo agoMITA13Claude Code
session-reportdamusix/atomic-claudeCommand117todayMITA31Claude Code
standupvvedantb/evaCommand100todayMITA0Claude Code
pr-riskkumaran-is/claude-code-onboardingCommand37yesterdayMITA0Claude Code
commitechoVic/blade-codeCommand18116d agoMITA8Claude Code
gitazrtydxb/procoderCommand21223d agoApache-2.0A20Claude Code
git-workflowHermeticOrmus/LibreUIUX-Claude-CodeCommand1151mo agoMITA14Claude Code