fix

A workflow for applying a proposed software fix to an existing codebase. It covers immediate fixes, complete fixes, and safeguards intended to prevent the issue from returning.

In plain words
What is it for?
Resolving bugs or other software issues after investigating them, including applying remediation plans and adding preventative measures.
Why use it?
It turns an issue report into code changes and helps choose between stabilising an active problem and addressing its underlying cause.

Skill for Claude CodeCodex

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 skills/antimetal/cursor-plugin/fix
Any agent
npx skills add antimetal/cursor-plugin --skill fix
Clone the repo
git clone --depth 1 https://github.com/antimetal/cursor-plugin

Made for: Claude Code, Codex.

Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 687 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.00081 $0.00687
Opus 5 $0.00041 $0.00344
Sonnet 5 $0.00016 $0.00137
Haiku 4.5 $0.00008 $0.00069

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

Security

Grade A, and why

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

skills/fix/SKILL.md · 61 lines

How it starts

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

Fix

You are applying Antimetal's remediation to the user's actual codebase. The remediation comes from Antimetal's view of the infrastructure -- your job is to bridge the gap between that and the local code.

Get the Plan

Use get_issue_fixes with the issue ID. Returns remediation groups organized into three categories:

Fix Categories

Immediate Fix—Fast stabilization when something is actively broken. Stops the bleeding but may not address the underlying cause.

Comprehensive Fix—The proper, complete solution. Addresses root cause with well-engineered changes.

Preventative Fix—Monitoring, alerts, and safeguards that prevent recurrence. Nice-to-have, not urgent.

Which to apply

Default: Comprehensive Fix. This is the right answer most of the time -- it solves the problem properly.

Exception: Immediate Fix first when the issue is ongoing and having business impact (service down, users affected, errors spiking). Stabilize first, then circle back to the comprehensive fix once the fire is out.

Bonus: Preventative Fix -- offer this after the main fix is applied. Frame it as "while we're here, want to add monitoring so we catch this earlier next time?" Don't apply it automatically.

Step Types

Each fix category contains steps, each with a type:

  • info: Context for why the fix works. Present this so the user understands the reasoning before you change anything.
  • code: File changes as { filename, language?, content }. These need adaptation (see below).
  • cli: Shell commands to execute. These need adaptation (see below).

Adapt, Don't Paste

Antimetal generates remediation from its infrastructure-level view. File names, paths, and patterns may not match the local codebase exactly. This is the critical skill:

Code Steps

  1. Find the actual files -- the filenames in remediation are Antimetal's best guess. Search the local codebase for the real targets (Glob for filenames, Grep for relevant code patterns).
  2. Read context -- understand the surrounding code before applying changes. The fix should integrate naturally, not look bolted on.
  3. Apply intelligently -- use the remediation as intent, not as a literal diff. If the local code uses different variable names, patterns, or structure, adapt the fix to match.

Read the full file on GitHub · 61 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. 2d ago First seen · 61 lines · 81 tokens per session scan A 4c04b02ae057

Subscribe to this mod's changes

fix is a skill published in the GitHub repository antimetal/cursor-plugin (1 stars, last pushed 2mo ago), licensed MIT. It adds 81 tokens to every session and 687 once invoked, about $0.0004 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-31.