gh-file-issue

gh-file-issue is a skill for Claude Code, Codex from Hmbown/CodeWhale. It costs 41 tokens per session (1,258 once invoked), scanned A, original, MIT.

A workflow for filing one detailed GitHub issue for CodeWhale. An issue is a trackable report of a bug, feature idea, or other project work.

In plain words
What is it for?
Use it to research duplicates, gather proof, and create a properly labeled issue with relevant milestones and clear conditions for completion.
Why use it?
It turns vague reports into actionable work by recording reproduction steps, expected and observed behavior, acceptance criteria, and supporting code evidence.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for codewhale. Also seen: mentions subagents; built for codewhale.

About the project

Hmbown/CodeWhale is an open-source coding agent that runs in the terminal and is written in Rust. Developers use it to inspect repositories, edit files, run commands, and coordinate work with configurable model providers, skills, MCP servers, and approval controls; the catalogue entries extend its available workflows.

Hmbown/CodeWhale · 40,914 stars · on GitHub · codewhale.net

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/hmbown/codewhale/gh-file-issue
Any agent
npx skills add Hmbown/CodeWhale --skill gh-file-issue
Clone the repo
git clone --depth 1 https://github.com/Hmbown/CodeWhale

Made for: Claude Code, Codex.

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 gh-file-issue

README.md
[![agentmods](https://agentmods.dev/badge/skills/hmbown/codewhale/gh-file-issue.svg)](https://agentmods.dev/skills/hmbown/codewhale/gh-file-issue)
Your own site
<a href="https://agentmods.dev/skills/hmbown/codewhale/gh-file-issue"><img src="https://agentmods.dev/badge/skills/hmbown/codewhale/gh-file-issue.svg" alt="Measured on agentmods" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,258 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.1 $0.00041 $0.01258
Opus 5 $0.00020 $0.00629
Sonnet 5 $0.00008 $0.00252
Haiku 4.5 $0.00004 $0.00126

Measured 4d ago against content hash bec23d475bcb, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

gh-file-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 4d 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.

docs/skills/gh-file-issue/SKILL.md · 98 lines

How it starts

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

gh-file-issue

File ONE high-quality, actionable issue for Codewhale. An issue is maintainer evidence, not a sticky note: it must name a real gap, show falsifiable proof, and tell the next agent exactly when it is done. Vague issues become queue noise; concrete ones become fixes with credit.

When to use

  • You hit a bug, regression, or rough edge while building, reviewing, or running Codewhale and want it tracked instead of lost.
  • You have a feature or product-surface idea worth a milestone slot.
  • A community report, comment, or PR surfaced a gap that deserves its own trackable issue (link, do not duplicate).

Workflow

  1. Gather the symptom + evidence first. Reproduce or quote it before you write. Capture: exact command, observed vs expected output, error text, and path/to/file.rs:line pointers. Confirm the code claim from source, never from memory:
    git rev-parse --short HEAD
    grep -rn "the symptom string" crates
    
  2. Check for duplicates / related work. Search open issues and PRs before filing; if one exists, comment there instead, or cross-link as Related: #N.
    gh issue list --repo Hmbown/CodeWhale --state all --search "keyword in:title,body" --limit 30
    gh pr list --repo Hmbown/CodeWhale --state all --search "keyword" --limit 20
    
  3. Write a title that names the gap, not the vibe. Match the house pattern vX.Y.Z: <imperative gap>, e.g. v0.8.62: Isolate provider/model selection per TUI session and make route changes atomic. Good: a maintainer knows the fix from the title alone.
  4. Write the body in sections (skip none that apply):
    • Why this matters — who it affects (multi-terminal QA, Fleet workers, DeepSeek-first users) and the cost of leaving it.
    • Current behavior — what happens today, with the error/log block and crates/.../file.rs:line code pointers to inspect.
    • Desired behavior — the target, as a short numbered list.
    • Repro or evidence — exact steps or the captured log. For ideas, the concrete trigger/example that motivates it.
    • Acceptance criteria — falsifiable checkboxes a verifier can run, e.g. - [ ] cargo test -p tui passes or - [ ] route mismatch blocks before the API call with a local diagnostic. If you cannot state how it's verified, the issue is not ready.
    • Related#N for the issues/PRs/reports this touches.
  5. Pick labels + milestone from the live set (do not invent names). Type labels: bug, enhancement, documentation. Area labels e.g. tui, tools, security, sandbox, context, subagents, responses-api, workflow-runtime. Severity release-blocker only when it truly blocks the next release. The current target milestone is v0.8.62.
    gh label list --repo Hmbown/CodeWhale --limit 100
    gh api repos/Hmbown/CodeWhale/milestones --jq '.[] | "\(.title)\topen:\(.open_issues)"'
    
  6. Create the issue. Pipe the body from stdin (this skill writes no files); --milestone and repeatable --label take live names verbatim:
    gh issue create --repo Hmbown/CodeWhale \
      --title "v0.8.62: Isolate provider/model selection per TUI session" \
      --label bug --label tui --label reliability \
      --milestone "v0.8.62" \
      --body-file -   # then paste/heredoc the sectioned body
    
  7. Cross-link after filing. Add Related: #N comments on the issues/PRs/ reports this connects to, crediting the reporter or commenter by @handle in a positive, factual tone. If a contributor's report or repro motivated this issue, name them.

Read the full file on GitHub · 98 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. 4d ago Changed bec23d475bcb
  2. 6d ago First seen · 98 lines · 41 tokens per session scan A b5f61bc4d9e7

Subscribe to this mod's changes

gh-file-issue is a skill published in the GitHub repository Hmbown/CodeWhale (40,914 stars, last pushed today), licensed MIT. It adds 41 tokens to every session and 1,258 once invoked, about $0.0002 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.

Related

Other skills, from other repositories

computer-use

Full desktop control on macOS, Windows, Linux, and HarmonyOS — accessibility-first observation and actions with pixel fallback, screenshots, zoom, screen recording, and switching between registered computers as a default.

Hmbown/Codewhale · 43 tokens

recording

Capture screen recordings and screenshots on any registered computer (macOS, Windows, Linux, HarmonyOS) and manage the recording library.

Hmbown/Codewhale · 29 tokens

cw-dogfood

Use when a Codewhale change needs proving in the real product, or when asked to build/install/dogfood the local binaries: stamped release build, atomic install, fresh-shell verification, and the manual QA that gates cannot cover.

Hmbown/Codewhale · 52 tokens

cw-land

Use when turning verified Codewhale work into commits, branches, or a merge: choosing direct-main vs. worktree vs. integration branch, preserving contributor credit, and honoring the gate artifact before merging.

Hmbown/Codewhale · 44 tokens

cw-slice

Use before writing code for any Codewhale feature, upgrade, or refactor: find the existing owner of the behavior, bound the change to one reviewable slice, and fix the evidence bar before you start.

Hmbown/Codewhale · 47 tokens

qa-testing

Verify your work by actually operating the app or website you changed, instead of assuming it works. Strongly recommended whenever you build, modify, or debug a web app, website, or desktop GUI app. Drive real browsers with the agent-browser CLI and native desktop apps with the cua-driver CLI. These are installed on…

openinterpreter/openinterpreter · 77 tokens