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.
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.
npx agentmods add skills/hmbown/codewhale/gh-file-issuenpx skills add Hmbown/CodeWhale --skill gh-file-issuegit clone --depth 1 https://github.com/Hmbown/CodeWhaleWrote 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.
[](https://agentmods.dev/skills/hmbown/codewhale/gh-file-issue)<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>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.
| Model | Per session | Once 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 |
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.
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
- 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:linepointers. Confirm the code claim from source, never from memory:git rev-parse --short HEAD grep -rn "the symptom string" crates - 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 - 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. - 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:linecode 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 passesor- [ ] 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 —
#Nfor the issues/PRs/reports this touches.
- 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. Severityrelease-blockeronly when it truly blocks the next release. The current target milestone isv0.8.62.gh label list --repo Hmbown/CodeWhale --limit 100 gh api repos/Hmbown/CodeWhale/milestones --jq '.[] | "\(.title)\topen:\(.open_issues)"' - Create the issue. Pipe the body from stdin (this skill writes no files);
--milestoneand repeatable--labeltake 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 - Cross-link after filing. Add
Related: #Ncomments on the issues/PRs/ reports this connects to, crediting the reporter or commenter by@handlein a positive, factual tone. If a contributor's report or repro motivated this issue, name them.
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.
- 4d ago Changed bec23d475bcb
- 6d ago First seen · 98 lines · 41 tokens per session scan A b5f61bc4d9e7
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.
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.
recording
Capture screen recordings and screenshots on any registered computer (macOS, Windows, Linux, HarmonyOS) and manage the recording library.
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.
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.
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.
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…