opencode: Command for Claude Code

.opencode/command/issues.md

issues is a command for Claude Code, OpenCode from anomalyco/opencode. It costs 6 tokens per session (120 once invoked), scanned A, original, MIT.

A GitHub issue search command that looks through existing issues in a project using the `gh` command-line tool. It matches similar titles, descriptions, errors, symptoms, and feature requests.

In plain words
What is it for?
Use it before opening or working on an issue to find related reports in the repository.
Why use it?
It prevents people from filing or investigating duplicate reports. It gathers the matching issue numbers, explanations, and links in one response.

Command for Claude CodeOpenCode

Written for Claude Code and OpenCode: $ARGUMENTS substitution, but also installed under .opencode/. Also seen: model in frontmatter; mentions OpenCode.

This is anomalyco/opencode's own configuration. It tells Claude Code and OpenCode how to work on opencode itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything opencode configures →

About the project

OpenCode is an open-source AI coding agent that helps developers work on software projects. It includes agents for full-access development, read-only exploration and planning, plus a general subagent for complex searches and multistep tasks; the catalogue add-ons extend its workflows.

anomalyco/opencode · 220,205 stars · on GitHub · opencode.ai

Reuse

Borrowing it

Nothing to install: this file belongs to anomalyco/opencode. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/anomalyco/opencode/dev/.opencode/command/issues.md
Clone the repo
git clone --depth 1 https://github.com/anomalyco/opencode

Made for: Claude Code, OpenCode.

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 issues

README.md
[![agentmods](https://agentmods.dev/badge/commands/anomalyco/opencode/issues/github.svg)](https://agentmods.dev/commands/anomalyco/opencode/issues)
Your own site
<a href="https://agentmods.dev/commands/anomalyco/opencode/issues"><img src="https://agentmods.dev/badge/commands/anomalyco/opencode/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 issues

Your own site · 80×15
<a href="https://agentmods.dev/commands/anomalyco/opencode/issues"><img src="https://agentmods.dev/badge/commands/anomalyco/opencode/issues.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 6 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 120 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.00006 $0.00120
Opus 5.5 $0.00002 $0.00048
Sonnet 5.5 $0.00001 $0.00024
Haiku 4.5 $0.00001 $0.00012

Measured 1mo ago against content hash cc8fd1121ba2, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

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.

Origin

Copies of this mod

5 near-identical copies found in the catalogue:

  • issues — 100% identical, 0 lines differ
  • issues — 100% identical, 1 lines differ
  • issues — 100% identical, 0 lines differ
  • issues — 100% identical, 0 lines differ
  • issues — 88% identical, 2 lines differ
.opencode/command/issues.md · 24 lines

What it actually says

Search through existing issues in anomalyco/opencode using the gh cli to find issues matching this query:

$ARGUMENTS

Consider:

  1. Similar titles or descriptions
  2. Same error messages or symptoms
  3. Related functionality or components
  4. Similar feature requests

Please list any matching issues with:

  • Issue number and title
  • Brief explanation of why it matches the query
  • Link to the issue

If no clear matches are found, say so.

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 · 24 lines · 6 tokens per session scan A cc8fd1121ba2

Subscribe to this mod's changes

issues is a command published in the GitHub repository anomalyco/opencode (220,205 stars, last pushed today), licensed MIT. It adds 6 tokens to every session and 120 once invoked, about $0.0000 per session on Opus 5.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-09-06.