plan-issues

A command that reads a planning document and creates GitHub Issues, GitHub's trackable work items, with labels, milestones, checklists, and dependencies.

In plain words
What is it for?
Use it for refactoring, migration, technical-debt, epic, or general task plans, with an optional repository target or dry-run preview.
Why use it?
It converts a plan into organized repository tasks without manually copying every phase and subtask.

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/anettodev/github-planner/plan-issues
Clone the repo
git clone --depth 1 https://github.com/anettodev/github-planner
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 537 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.00000 $0.00537
Opus 5 $0.00000 $0.00269
Sonnet 5 $0.00000 $0.00107
Haiku 4.5 $0.00000 $0.00054

Measured yesterday against content hash 69573d0d8fb3, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

plan-issues 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.

src/commands/plan-issues.md · 75 lines

How it starts

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

Create Issues from Planning Document

Parse a planning document and create GitHub Issues with labels, milestones, and dependency tracking.

Arguments: $ARGUMENTS (required — path to planning document, optional flags: --repo owner/repo, --dry-run)

Steps

1. Load Document

  • Read the file at the provided path
  • Detect document type: refactoring plan, migration plan, epic, tech debt inventory, or generic task list
  • If --dry-run is specified, switch to preview mode (same as /plan-preview)

2. Detect Repository

  • If --repo flag provided, use that
  • Otherwise run gh repo view --json nameWithOwner -q .nameWithOwner
  • Confirm with user before proceeding: "Will create issues in owner/repo. Continue?"

3. Extract Tasks

Use the plan-to-issues skill to parse the document:

  • Identify each phase, priority item, or numbered task → becomes an issue
  • Identify sub-steps → become checklists within the issue body
  • Map task signals to labels (see skill for label mapping table)
  • Group by phase/priority → milestones
  • Track dependencies between items

4. Check for Existing Issues

For each extracted task, search for potential duplicates:

gh issue list --search "KEY_WORDS" --state open --limit 5 --json number,title

If duplicates found, skip those tasks and report them.

5. Present Plan for Approval

Show the full plan before creating anything:

Will create N issues in owner/repo:

| # | Title                          | Labels                     | Milestone     |
|---|--------------------------------|----------------------------|---------------|
| 1 | Remove dead files              | cleanup, priority: critical | Phase 1       |
| 2 | Consolidate duplicates         | refactor, priority: high   | Phase 1       |
...

New labels to create: priority: critical, cleanup, ...
New milestones to create: Phase 1, Phase 2, ...

Proceed? (yes/no)

DO NOT create issues until user confirms.

6. Create Labels and Milestones

Create any missing labels and milestones before creating issues.

Read the full file on GitHub · 75 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 First seen · 75 lines · 0 tokens per session scan A 69573d0d8fb3

Subscribe to this mod's changes

plan-issues is a command published in the GitHub repository anettodev/github-planner (2 stars, last pushed 5mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 537 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.