quick-issue

A command that creates a GitHub issue and, by default, a matching work branch in one step.

In plain words
What is it for?
Use it to open a labeled GitHub issue, optionally add it to a GitHub Project, create a matching branch, and switch to that branch.
Why use it?
It removes the repeated setup needed for small fixes, features, or maintenance tasks before coding.

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/el-feo/ai-context/quick-issue
Clone the repo
git clone --depth 1 https://github.com/el-feo/ai-context
Per session 25 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,958 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.00025 $0.02958
Opus 5 $0.00013 $0.01479
Sonnet 5 $0.00005 $0.00592
Haiku 4.5 $0.00003 $0.00296

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

Security

Grade A, and why

quick-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.

plugins/ghpm/commands/quick-issue.md · 396 lines

How it starts

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

Optional flags (in $ARGUMENTS):

  • --label <name> - Add a label (can be used multiple times)
  • --no-branch - Create issue only, skip branch creation
  • --type <fix|feat|chore> - Set work type (default: fix)
    • fix → adds bug label, creates fix/ branch
    • feat → adds enhancement label, creates feat/ branch
    • chore → no automatic label, creates chore/ branch

Optional environment variables:

  • GHPM_PROJECT - GitHub Project number to add issue to (e.g., export GHPM_PROJECT=7)

<usage_examples> Bug fix (default):

/ghpm:quick-issue Fix the login redirect loop when session expires

Output:

✓ Issue #42 created: "Fix the login redirect loop when session expires"
  https://github.com/owner/repo/issues/42
  Labels: bug
✓ Branch created: fix/issue-42-login-redirect-loop
✓ Switched to branch fix/issue-42-login-redirect-loop

Ready to work on issue #42. What would you like me to do first?

New feature:

/ghpm:quick-issue Add dark mode toggle --type feat

→ Labels: enhancement → Branch: feat/issue-43-dark-mode-toggle

Maintenance/chore:

/ghpm:quick-issue Update dependencies to latest versions --type chore

→ Labels: (none by default) → Branch: chore/issue-44-update-dependencies

With additional labels:

/ghpm:quick-issue Fix slow dashboard loading --label performance --label high-priority

→ Labels: bug, performance, high-priority

Issue only (no branch):

/ghpm:quick-issue Update README with new API docs --type chore --no-branch

With project association:

export GHPM_PROJECT=7
/ghpm:quick-issue Fix broken date formatting in reports

→ Issue added to project #7

</usage_examples>

<operating_rules>

  • Do not ask clarifying questions. Create the issue immediately with the provided description.
  • The issue description becomes both the issue title and the summary in the body.
  • Labels are determined by the --type flag using standard GitHub labels:
    • fix (default) → bug label
    • featenhancement label
    • chore → no automatic label
  • Additional labels can be added with --label flag.
  • Branch names are sanitized: lowercase, special characters removed, truncated to 50 chars.
  • Default type is fix (assumes most quick issues are bug fixes).
  • If --no-branch is specified, skip branch creation entirely.
  • On any error, provide actionable guidance for resolution. </operating_rules>

Step 1: Validate Environment

# 1. Verify gh CLI authentication
gh auth status || { echo "ERROR: Not authenticated. Run 'gh auth login'"; exit 1; }

# 2. Verify in git repository
git rev-parse --git-dir > /dev/null 2>&1 || { echo "ERROR: Not in a git repository"; exit 1; }

# 3. Verify GitHub remote exists
REPO=$(gh repo view --json nameWithOwner -q .nameWithOwner) || { echo "ERROR: No GitHub remote found"; exit 1; }
OWNER=$(gh repo view --json owner -q '.owner.login')

Read the full file on GitHub · 396 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 · 396 lines · 25 tokens per session scan A b1f7084794f3

Subscribe to this mod's changes

quick-issue is a command published in the GitHub repository el-feo/ai-context (12 stars, last pushed 1mo ago), licensed MIT. It adds 25 tokens to every session and 2,958 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.