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.

Good fit Use it to process specified GitHub issue numbers or URLs, search for issues using filters, diagnose bugs, and implement fixes.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/can1357/oh-my-pi/fix-issues
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 · 36,056 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.

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/github.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/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for fix-issues

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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. A grade says what 26 rules found in the file — not that it is safe.
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.5 $0.00000 $0.00548
Sonnet 5.5 $0.00000 $0.00274
Haiku 4.5 $0.00000 $0.00137

Measured 1mo ago against content hash adc70ef49124, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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. 1mo 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 (36,056 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.

Related

Other commands, from other repositories

investigate

Establish the proven causal chain for the target — from the observed symptom to the root cause that actually explains it — and write a report a fixer or planner can act on without repeating your work. You change nothing and fix nothing: the repository must be exactly as you found it when you finish. No one watches the…

coleam00/Archon · 0 tokens

maintainer-review-error-handling

Review the PR for error-handling correctness — surfaced errors, no silent swallows, consistent error patterns (Pi-tuned).

coleam00/Archon · 25 tokens

sweep

You are the merge queue's one agent for this run. Decide every pull request below: order them, merge what policy allows one at a time through the gate, and say what happens to the rest. You never push, never change the checkout, never build or test a merge yourself, and never wait for CI: CI judges each pull request…

coleam00/Archon · 0 tokens

pr

Prepare a clear, reviewer-friendly pull request for the committed work on the current branch. You never modify source files, and you never push, create, edit, or comment on the pull request yourself: your one write, when this run opens a pull request, is the body file below. The node that follows pushes the branch and…

coleam00/Archon · 0 tokens

review-errors

Find either defect: a real failure crosses the changed code and becomes indistinguishable from success to the caller, operator, or user who must react; or it escapes its owning item and aborts independent work. Not every error needs logging; recovery is correct when the contract permits it and the right owner can…

coleam00/Archon · 0 tokens

update-pr-body

Bring the pull request's description in line with the final change. It was written when the draft opened; the base merge and correction rounds since then may have falsified claims in it, and a validation may have passed red it has to disclose. Your product is an accurate description, nothing else.

coleam00/Archon · 0 tokens