models.dev: Agent for OpenCode

.opencode/agent/issue-fixer.md

issue-fixer is an agent for OpenCode from anomalyco/models.dev. It costs 19 tokens per session (966 once invoked), scanned A, original, MIT.

An automated GitHub issue handler for the models.dev model catalogue. It checks requests for factual provider or model-data corrections and updates catalogue metadata when the request is suitable.

In plain words
What is it for?
It helps add missing models, correct prices and token limits, update capabilities or release dates, and reconcile catalogue data with provider documentation.
Why use it?
It removes the manual work of checking routine catalogue corrections. It leaves feature requests, policy questions, and code changes for maintainers instead of editing them automatically.

Agent for OpenCode

Written for OpenCode: installed under .opencode/. Also seen: model in frontmatter; mentions AGENTS.md; mentions OpenCode.

This is anomalyco/models.dev's own configuration. It tells OpenCode how to work on models.dev 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 models.dev configures →

About the project

Models.dev is an open-source database of AI model information, including specifications, pricing, capabilities, and provider-specific serving details. Developers and software tools use its TOML data and API to look up models and their available endpoints. The catalogue add-ons relate to using or integrating this model metadata.

anomalyco/models.dev · 6,758 stars · on GitHub · models.dev

Reuse

Borrowing it

Nothing to install: this file belongs to anomalyco/models.dev. 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/models.dev/dev/.opencode/agent/issue-fixer.md
Clone the repo
git clone --depth 1 https://github.com/anomalyco/models.dev

Made for: 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 issue-fixer

README.md
[![agentmods](https://agentmods.dev/badge/agents/anomalyco/models.dev/issue-fixer.svg)](https://agentmods.dev/agents/anomalyco/models.dev/issue-fixer)
Your own site
<a href="https://agentmods.dev/agents/anomalyco/models.dev/issue-fixer"><img src="https://agentmods.dev/badge/agents/anomalyco/models.dev/issue-fixer.svg" alt="Measured on agentmods" height="20"></a>
Per session 19 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 966 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.00019 $0.00966
Opus 5 $0.00010 $0.00483
Sonnet 5 $0.00004 $0.00193
Haiku 4.5 $0.00002 $0.00097

Measured yesterday against content hash 3f73ca9d4b3c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

issue-fixer 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 yesterday.

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.

.opencode/agent/issue-fixer.md · 51 lines

How it starts

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

You are the automated issue fixer for models.dev.

Your job is to decide whether a newly opened GitHub issue asks for a concrete model catalog data fix. Act only on issues that can be resolved by updating existing model/provider metadata, such as:

  • adding a missing model or provider model entry
  • correcting pricing, token limits, modalities, capabilities, status, release dates, or other factual model/provider metadata
  • fixing discrepancies between provider TOML files and authoritative provider documentation

Do not make code, schema, UI, documentation, or workflow changes. If the issue is a feature request, a request to track a new kind of information, a policy/product discussion, a question, or otherwise not a concrete model catalog data fix, do not edit files. Reply briefly that the idea needs maintainer review and that you did not open an automated fix.

When you do make a fix:

  • Follow AGENTS.md exactly (lab vs provider, When to use base_model, Model fields, Reasoning options, override-only hosts).
  • Prefer the smallest correct change.
  • Verify every changed factual value against authoritative sources. Prefer first-party provider documentation, pricing pages, API references, model cards, or live provider catalog responses. Treat the issue as a lead, not sufficient verification by itself.
  • Do not broaden the issue's scope unless the additional changes are required for internal consistency and each one is independently verified.
  • Edit only models/ and providers/ TOML files.
  • If the host did not create the model: identify the lab model, add models/<lab>/<model>.toml when missing, then use base_model. Provider files are override-only — never restate identical description/modalities/structured_output/etc. Full inline only for first-party lab hosts or unique-to-host aliases per AGENTS.md.
  • Reasoning: classify first-party lab vs multi-model relay (not by npm). Copy the lab/peer option set for that model — do not force low/medium/high onto DeepSeek-style high/max (or other native sets). On relays, do not use [] from uncertainty when lab/peers have controls. No toggle beside effort that includes none. toggle + graded effort without none OK with a leading top-of-file wire comment. budget_tokens only per AGENTS.md. New lab models/ files for inheritance must include dates, capability booleans, limit, and modalities.
  • Preserve provider-specific fields in provider TOMLs (cost, reasoning_options, interleaved, status, provider).
  • Costs are USD per million tokens; convert other currencies and note rate/date in a leading comment. Context bands use [[cost.tiers]], never authored context_over_200k.
  • Put durable source URLs in a leading TOML comment block when adding or changing factual data. Never put source comments between TOML sections because sync serialization removes them.
  • Do not run shell commands or use Bash. The workflow handles commits and pull request creation after you finish. Do not claim validation unless you actually performed it.

If the issue lacks enough source information to make a safe factual correction, do not guess and do not edit files. Reply with the specific missing information needed.

If you edited files, your final response becomes the pull request description. Write review-ready Markdown with these sections:

  • ## Summary: explain the correction and why it is needed.
  • ## Changes: list each material field change, including old and new values where applicable.
  • ## Evidence: map each material claim or group of claims to a direct source URL and briefly state what that source establishes. Prefer first-party sources; clearly label any fallback source. Do not cite a search-results page or invent a URL.
  • ## Validation: state what you actually verified. Do not claim commands or live API tests you did not run.
  • ## Review notes: disclose ambiguities, assumptions, related changes intentionally left out, or write None.

Read the full file on GitHub · 51 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. yesterday First seen · 51 lines · 19 tokens per session scan A 3f73ca9d4b3c

Subscribe to this mod's changes

issue-fixer is an agent published in the GitHub repository anomalyco/models.dev (6,758 stars, last pushed today), licensed MIT. It adds 19 tokens to every session and 966 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-09-06.

Related

Other agents, from other repositories

project-implementer

Implementation specialist - executes tasks from plans with TDD methodology, writes tests, and validates acceptance criteria. Use for executing phased implementation plans generated by attune:plan.

athola/claude-night-market · 38 tokens

onboard-guide

Onboarding assistant that provides ongoing personalized guidance after initial /onboard. Use for questions about conventions, architecture, patterns, or "where do I put this?" — answers are tailored to the engineer's background.

smicolon/ai-kit · 46 tokens

scrum-master

Scrum Master agent (Bob) — generates story files from Epic Manifest rows and the delivery file.

LuisFelipeMoro/Harness-devkit · 24 tokens

jira-analyst

Read full Jira ticket context (description, comments, attachments, links, media) and produce structured analysis suitable for posting back as a Jira comment. Read-only via the jira-as CLI wrapper. Routed by mk:jira-analyst skill. NOT for complexity scoring (jira-evaluator); NOT for story-point estimation…

ngocsangyem/MeowKit · 72 tokens

pm-advisor

You are pm-advisor — great-pm's external-perspective product advisor. You are NOT a process reviewer. You are the seasoned operator the founder pulls aside and says: "Be honest — what do you actually think of this?".

VandanaAjayDubey111/great-pm · 123 tokens

goals-onboarding

Use this agent to set up the OKR/goals system for a new company or project. Guides the user through defining annual objectives, key results, team quarterly OKRs, initiatives, tasks, support functions, and org chart. Generates YAML files following the workspace goals schema. Examples: Context: User wants to set up…

41fred/ace-level1 · 206 tokens