fix-issues

fix-issues is a command for Claude Code from can1357/oh-my-pi. It costs 0 tokens per session (1,369 once invoked), scanned A, original, MIT.

A command for finding open GitHub issues, reproducing the ones that can be reproduced, and fixing them in separate workspaces.

In plain words
What is it for?
Use it to process specified GitHub issue numbers or URLs, search for issues using filters, diagnose bugs, and implement fixes.
Why use it?
It organizes issue investigation and parallel fixes so changes for different bugs do not interfere with one another.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: mentions subagents; mentions AGENTS.md.

About the project

Oh My Pi is a coding agent with an integrated development environment, command-line interface, tools, language-server operations, and debugger operations. It is used by developers who want an AI coding assistant that can read and edit projects, work with models from multiple providers, and interact with development tools. The catalogue add-ons extend its agent workflows with skills, commands, agents, plugins, MCP, and instructions.

can1357/oh-my-pi · 29,519 stars · on GitHub · omp.sh

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/can1357/oh-my-pi/fix-issues
Clone the repo
git clone --depth 1 https://github.com/can1357/oh-my-pi

Made for: Claude Code.

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/can1357/oh-my-pi/fix-issues.svg)](https://agentmods.dev/commands/can1357/oh-my-pi/fix-issues)
Your own site
<a href="https://agentmods.dev/commands/can1357/oh-my-pi/fix-issues"><img src="https://agentmods.dev/badge/commands/can1357/oh-my-pi/fix-issues.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,369 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.00000 $0.01369
Opus 5 $0.00000 $0.00685
Sonnet 5 $0.00000 $0.00274
Haiku 4.5 $0.00000 $0.00137

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

Security

Grade A, and why

fix-issues 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 6d 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.

.omp/commands/fix-issues.md · 137 lines

How it starts

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

Fix Issues Command

Diagnose, reproduce, then fix reproducible open GitHub issues in parallel: one clean worktree/issue; symlink build artifacts to avoid rebuilds.

Arguments

$ARGUMENTS optional: space/comma-separated issue numbers/URLs, or GitHub-search qualifiers (is:open, label:bug, author:foo, ...) and/or time window (3d, 2w, 12h).

No issues/flags → all issues open and created within last 3 days.

1. Resolve issues

Parse $ARGUMENTS.

  • Explicit numbers/URLs: use verbatim.

  • Otherwise github op: search_issues. No args:

    github { op: "search_issues", query: "is:open", since: "3d", limit: 50 }
    

    User qualifiers verbatim in query; add is:open unless present. Time window (3d, 2w, 12h, ISO date; see github docs) → since. dateField defaults created; set "updated" only for explicitly requested recently-touched issues.

Print resolved set before fan-out for scope confirmation.

2. Parallel subagents

Use parallel task subagents: one/issue. Assignment: number, title, body summary, workflow below. Isolated work; irc only if issues clearly touch the same file.

Each subagent MUST:

a. Read

  1. Read issue://<N>; cross-repo: issue://<owner>/<repo>/<N>. Includes body/comments; comments often contain repro/fix hints. Append ?comments=0 only to explicitly skip comments.
  2. Run gh search prs for issue number. Reasonable existing PR → review per .omp/commands/review-prs.md, report existing-pr; do NOT create competing fix.

b. Diagnose/reproduce

MUST reproduce in current cwd on main, before any worktree.

  1. Read relevant checkout source; state concrete 1–2-sentence failure hypothesis.
  2. Under affected package, create focused repro-issue-<N>-<slug>.test.ts (or .rs, etc.): unique, greppable, deletable.
  3. Run only that file, never suite; confirm expected failure.
  • Reproduced → c.
  • Not reproduced → stop; delete test; report unreproduced: hypothesis, non-failure evidence, unblockers (versions, OS, config, author repro snippet). No worktree/commit.
  • Out-of-scope/not bug (user-config error, intended behavior, dup) → stop; report not-a-bug with issue-postable explanation.

Read the full file on GitHub · 137 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. 6d ago First seen · 137 lines · 0 tokens per session scan A adc70ef49124

Subscribe to this mod's changes

fix-issues is a command published in the GitHub repository can1357/oh-my-pi (29,519 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,369 tokens. 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.