issue-writer

issue-writer is a skill for Claude Code, Codex from KhaledSaeed18/dotclaude. It costs 91 tokens per session (891 once invoked), scanned A, original, MIT.

A tool for turning a rough bug report, idea, or complaint into a clear work item for a developer.

In plain words
What is it for?
Use it for bugs, feature requests, or maintenance tasks. It investigates the codebase first, then files an issue with gh or produces markdown ready to paste.
Why use it?
It fills in the missing context that often makes issues hard to reproduce or complete, such as expected behavior, actual behavior, affected code, and acceptance criteria.

Skill for Claude CodeCodex

Part of the productivity plugin — 5 skills, 2 commands shipped together

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/khaledsaeed18/dotclaude/issue-writer
Any agent
npx skills add KhaledSaeed18/dotclaude --skill issue-writer
Clone the repo
git clone --depth 1 https://github.com/KhaledSaeed18/dotclaude

Made for: Claude Code, Codex.

Or install productivity, the plugin that ships this one along with the rest of its 5 skills, 2 commands.

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 issue-writer

README.md
[![agentmods](https://agentmods.dev/badge/skills/khaledsaeed18/dotclaude/issue-writer.svg)](https://agentmods.dev/skills/khaledsaeed18/dotclaude/issue-writer)
Your own site
<a href="https://agentmods.dev/skills/khaledsaeed18/dotclaude/issue-writer"><img src="https://agentmods.dev/badge/skills/khaledsaeed18/dotclaude/issue-writer.svg" alt="Measured on agentmods" height="20"></a>
Per session 91 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 891 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00891
Opus 5 $0.00046 $0.00445
Sonnet 5 $0.00018 $0.00178
Haiku 4.5 $0.00009 $0.00089

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

Security

Grade A, and why

issue-writer scanned grade A with 1 finding 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- **Bugs:** find the code path involved (`grep` the error message, the feature name, the route). Note the suspected file/function. If reproduction is cheap - a failing command, a curl, a unit test - actually run it and r
.claude-plugin/plugins/productivity/skills/issue-writer/SKILL.md · 58 lines

How it starts

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

An issue is a work order for someone with none of this conversation's context. Write it so that a developer who picks it up cold can reproduce the problem, knows when they are done, and starts in the right file - and do the investigating now, while the context exists, rather than leaving it to them. A two-minute look at the code turns "the export is broken" into an issue with a suspected cause and a pointer.

Step 1: Extract and classify

From the user's description (and the current conversation - the bug being discussed right now is usually the subject), pin down:

  • Type: bug, feature request, or task/chore. This decides the template below.
  • The one-sentence problem. If you cannot state it in one sentence, you do not understand it yet; ask the one or two questions that resolve it. Do not interrogate - two questions maximum, then write with what you have and mark the gaps.
  • Severity signals for bugs: data loss, wrong results, crash, cosmetic? Who hits it and how often?

Step 2: Investigate before writing

Spend a short, bounded pass in the repo making the issue concrete:

  • Bugs: find the code path involved (grep the error message, the feature name, the route). Note the suspected file/function. If reproduction is cheap - a failing command, a curl, a unit test - actually run it and record the real output. Check git log on the suspect file for a recent change that correlates.
  • Features: find where the change would land, what patterns exist to follow, and any related prior art (an existing similar feature, an old TODO, a closed issue).
  • Duplicates: when gh is available, search first - gh issue list --search "<keywords>" --state all --limit 10. A duplicate found now saves a triage round-trip; link it instead of filing twice.

Everything found goes in the issue as fact ("reproduced on main at abc1234, output below"), everything guessed goes in clearly marked as hypothesis ("possibly introduced by #118 - unverified").

Step 3: Write it

Read the full file on GitHub · 58 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 First seen · 58 lines · 91 tokens per session scan A ab66548be61c

Subscribe to this mod's changes

issue-writer is a skill published in the GitHub repository KhaledSaeed18/dotclaude (5 stars, last pushed 3d ago), licensed MIT. It adds 91 tokens to every session and 891 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.