create-issue

create-issue is a command for Claude Code from kid-sid/claude-spellbook. It costs 0 tokens per session (530 once invoked), scanned A, original, MIT.

A command for creating one or more GitHub issues from a plain-language description. It identifies separate problems and drafts a title, body, labels, and any explicitly requested assignee.

In plain words
What is it for?
Use it to turn bug reports, feature requests, or several distinct problems into actionable GitHub issues with reproduction steps or acceptance criteria.
Why use it?
It removes repetitive issue-writing work while checking the repository's available labels and GitHub setup. If the request is too vague, it asks for clarification first.

Command for Claude Code

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/kid-sid/claude-spellbook/create-issue
Clone the repo
git clone --depth 1 https://github.com/kid-sid/claude-spellbook

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 create-issue

README.md
[![agentmods](https://agentmods.dev/badge/commands/kid-sid/claude-spellbook/create-issue.svg)](https://agentmods.dev/commands/kid-sid/claude-spellbook/create-issue)
Your own site
<a href="https://agentmods.dev/commands/kid-sid/claude-spellbook/create-issue"><img src="https://agentmods.dev/badge/commands/kid-sid/claude-spellbook/create-issue.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 530 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.00530
Opus 5 $0.00000 $0.00265
Sonnet 5 $0.00000 $0.00106
Haiku 4.5 $0.00000 $0.00053

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

Security

Grade A, and why

create-issue 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.

.claude/commands/create-issue.md · 74 lines

How it starts

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

Create one or more GitHub issues from a description. Accepts natural language — infers titles, labels, and bodies from context.

Usage: /create-issue <description of what issues to file>

Example: /create-issue The login page crashes on Safari 17 and the password reset email has a broken link

Instructions

1. Parse the arguments

Read $ARGUMENTS. Identify how many distinct issues are described — look for "and", numbered lists, separate sentences describing separate problems. Each distinct problem becomes one issue.

For each issue, determine:

  • Title: concise, imperative, ≤ 72 chars (fix:, feat:, chore: prefix optional)
  • Body: reproduce steps or acceptance criteria
  • Labels: pick from what exists in the repo (gh label list) — common ones: bug, enhancement, documentation, question, good first issue, performance, security
  • Assignee: only if the user explicitly named someone

If arguments are empty or too vague to produce a useful title and body, ask one clarifying question before proceeding.

2. Check the repo

# Confirm gh is authenticated and repo is detected
gh auth status
gh repo view --json nameWithOwner -q .nameWithOwner

# List existing labels (pick from these, don't invent new ones)
gh label list

3. Create each issue

gh issue create \
  --title "<title>" \
  --body "<body>" \
  --label "<label1>,<label2>"

For the body, use this template:

## Description
<what is broken or what is needed>

## Steps to reproduce / Acceptance criteria
<numbered steps for bugs; bullet list of done-criteria for features>

## Expected behaviour
<what should happen>

## Actual behaviour / Current state
<what happens now — omit for feature requests>

## Context
<browser, OS, version, env — omit if not relevant>

4. Report results

After all issues are created, print a summary table:

Created N issue(s):

| # | Title | Labels | URL |
|---|-------|--------|-----|
| 42 | fix: login crashes on Safari 17 | bug | https://github.com/... |
| 43 | fix: broken link in password reset email | bug | https://github.com/... |

Read the full file on GitHub · 74 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 · 74 lines · 0 tokens per session scan A a06d0e551fdd

Subscribe to this mod's changes

create-issue is a command published in the GitHub repository kid-sid/claude-spellbook (187 stars, last pushed 28d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 530 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-30.