fix-issue

A command that reads a numbered GitHub issue, implements the requested code change, and checks the result. GitHub issues are tracked reports or requests for a project.

In plain words
What is it for?
Use it to fix a GitHub issue, add tests, run linting and type checks, and prepare a suitable commit message.
Why use it?
It turns an issue into a defined workflow instead of leaving the problem to be investigated and verified manually. The checks help catch incomplete fixes or style and type errors.

Command for Claude Code

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/liam-hq/liam/fix-issue
Clone the repo
git clone --depth 1 https://github.com/liam-hq/liam

Made for: Claude Code.

Per session 14 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 193 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.00014 $0.00193
Opus 5 $0.00007 $0.00097
Sonnet 5 $0.00003 $0.00039
Haiku 4.5 $0.00001 $0.00019

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

Security

Grade A, and why

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

.claude/commands/fix-issue.md · 21 lines

What it actually says

Task

Use the gh command to fetch the GitHub issue specified in the arguments, analyze the problem, implement the necessary changes, and verify the fix is complete.

Steps

  1. Extract the issue number from the arguments (format: #123 or just 123)
  2. Use gh issue view <issue-number> to fetch the issue details
  3. Understand the problem described in the issue
  4. Search the codebase for relevant files related to the issue
  5. Implement the necessary changes to fix the issue
  6. Write and run tests to verify the fix
  7. Ensure code passes linting and type checking (use pnpm lint)
  8. Create a descriptive commit message following the project's commit conventions

Arguments

The command accepts an issue number (e.g., 123 or #123)

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 · 21 lines · 14 tokens per session scan A 7c702b810ef3

Subscribe to this mod's changes

fix-issue is a command published in the GitHub repository liam-hq/liam (5,100 stars, last pushed 4d ago), licensed Apache-2.0. It adds 14 tokens to every session and 193 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.