create-issue

A command that creates a GitHub issue, which is a tracked piece of work or discussion in a code repository. It uses the repository's issue templates and chooses among bug, task, feature, RFC, or spec types.

In plain words
What is it for?
Use it to turn a user's description and related code context into a correctly formatted issue for the current GitHub repository.
Why use it?
It avoids manually copying the right template, type, and labels and reduces the chance of creating an issue with the wrong structure.

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/robofinsystems/robosystems/create-issue
Clone the repo
git clone --depth 1 https://github.com/RoboFinSystems/robosystems

Made for: Claude Code.

Per session 18 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,039 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.00018 $0.01039
Opus 5 $0.00009 $0.00519
Sonnet 5 $0.00004 $0.00208
Haiku 4.5 $0.00002 $0.00104

Measured 2d ago against content hash dba97cb4f984, 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 2d 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 · 87 lines

How it starts

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

Create a GitHub issue for the current repository based on the user's input.

Instructions

  1. Determine Issue Type - Based on the user's description, pick one:

    • Bug: Defects or unexpected behavior
    • Task: Specific, bounded work items that can be completed in one PR
    • Feature: Request a new capability (no design required)
    • RFC: Propose a design for discussion before implementation
    • Spec: Approved implementation plan ready for execution

    Confirm what this repo actually offers before assuming — ls .github/ISSUE_TEMPLATE/ for the templates and gh issue create --help for whether --type is supported.

  2. Gather Context - If the user provides a file path or references existing code:

    • Read the relevant files to understand the current implementation
    • Check related configuration files
    • Review any referenced documentation
  3. Draft the Issue - Read the matching YAML template in .github/ISSUE_TEMPLATE/ and mirror its structure. Each template declares its own type: in frontmatter and marks which fields are required — read the file rather than guessing the sections. Fill the optional fields too where you have the information; they're the ones that make an issue actionable later.

    Note gh issue create --title/--body bypasses templates entirely — nothing prefills and nothing validates. That's exactly why the body has to be hand-matched to the template structure.

  4. Sanitize for Public Visibility - This repo is public and the issue is world-readable immediately. Before creating:

    • Remove any internal pricing, margins, or cost details
    • Remove specific customer names or data
    • Generalize any sensitive business metrics
    • For anything security-adjacent, keep the text terse and non-actionable — no exploit mechanics, no affected-endpoint enumerations, no payloads. Detailed root-cause belongs in the private vault, referenced by filename only; for coordinated disclosure use a private GitHub Security Advisory, never a public issue.
    • Keep ordinary technical implementation details (these are fine to share)
  5. Create the Issue - One command, with the type set inline:

    gh issue create \
      --type <Bug|Task|Feature|RFC|Spec> \
      --title "<clear, concise title>" \
      --body-file /tmp/issue-body.md \
      --label "<labels>"
    

    No prefixes like [SPEC] in the title — the type handles categorization. Write the body to a file rather than inlining it, to avoid shell-escaping problems.

    To change the type on an existing issue: gh issue edit <n> --type <Type> (or --remove-type). The old GraphQL updateIssue mutation is no longer needed for either case.

Read the full file on GitHub · 87 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. 2d ago First seen · 87 lines · 18 tokens per session scan A dba97cb4f984

Subscribe to this mod's changes

create-issue is a command published in the GitHub repository RoboFinSystems/robosystems (24 stars, last pushed 3d ago), licensed Apache-2.0. It adds 18 tokens to every session and 1,039 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-08-30.