create-issue

A workflow for opening GitHub issues from the command line, including issue titles, descriptions, labels, assignees, milestones, and projects.

In plain words
What is it for?
It helps file bug reports, feature requests, and other GitHub issues with details gathered from the user's request.
Why use it?
It avoids permission prompts that can occur when a long, multi-line issue description is passed directly in a shell command.

Skill for Claude CodeCodex

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 skills/cboone/agent-harness-plugins/create-issue
Any agent
npx skills add cboone/agent-harness-plugins --skill create-issue
Clone the repo
git clone --depth 1 https://github.com/cboone/agent-harness-plugins

Made for: Claude Code, Codex.

Per session 91 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,011 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.00091 $0.01011
Opus 5 $0.00046 $0.00505
Sonnet 5 $0.00018 $0.00202
Haiku 4.5 $0.00009 $0.00101

Measured yesterday against content hash 96d82cad3614, 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 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.

plugins/create-issue/skills/create-issue/SKILL.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 Issue

Create GitHub issues cleanly by writing the body to a tmpfile and passing it via --body-file.

Why This Skill Exists

When creating GitHub issues, passing a large multiline --body string directly to gh issue create in a Bash command triggers Claude Code permission prompts because the command appears complex. This skill avoids that by using the Write tool to create a temporary file containing the issue body, then passing a short, simple gh issue create --body-file command to Bash.

Workflow

1. Gather Issue Details

Determine the issue title, body, labels, and assignees from the user's request. If the user's request is vague, ask clarifying questions. At minimum, you need:

  • Title: A concise summary of the issue
  • Body: A detailed description (can be multiple paragraphs, include code blocks, checklists, etc.)

Optional fields:

  • Labels: Relevant labels (e.g., bug, enhancement, documentation)
  • Assignees: GitHub usernames to assign
  • Milestone: A milestone to associate with the issue
  • Project: A GitHub project to add the issue to

2. Confirm the Repository

If the user specifies a repository (e.g., "file an issue on org/repo"), use the --repo flag. Otherwise, the issue will be created in the current repository.

3. Write the Issue Body to a Tmpfile

First, generate a unique temporary file path using mktemp:

mktemp /tmp/gh-issue-body-XXXXXX
# Returns a unique path, e.g.: /tmp/gh-issue-body-a1b2c3

Then use the Write tool to write the full issue body in Markdown format to the exact path returned by mktemp. In the examples below, TMPFILE is a placeholder for that path.

This is the critical step that avoids permission prompts: the Write tool handles multiline content natively, keeping the subsequent Bash command short and simple.

4. Create the Issue

Run a single, short gh issue create command using the tmpfile path from step 3:

gh issue create --title "Issue title here" --body-file TMPFILE

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. yesterday First seen · 93 lines · 91 tokens per session scan A 96d82cad3614

Subscribe to this mod's changes

create-issue is a skill published in the GitHub repository cboone/agent-harness-plugins (2 stars, last pushed 1mo ago), licensed MIT. It adds 91 tokens to every session and 1,011 once invoked, about $0.0005 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-31.

Related

Other skills, from other repositories