hotfix

hotfix is a skill for Claude Code, Codex from andrewvaughan/agent-council. It costs 59 tokens per session (1,230 once invoked), scanned A, original, MIT.

A shortened workflow for fixing a small, urgent software problem, such as a production bug, security patch, or serious regression. It applies the fix, reviews it, creates a pull request, and can monitor automated checks.

In plain words
What is it for?
Use it for focused emergency fixes that do not add new functionality or substantially change user-facing behaviour.
Why use it?
It reduces the time needed to handle a critical problem when waiting for the normal feature-planning process would cause harm.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions AGENTS.md.

Good fit Use it for focused emergency fixes that do not add new functionality or substantially change user-facing behaviour.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/andrewvaughan/agent-council/hotfix
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.

Any agent
npx skills add andrewvaughan/agent-council --skill hotfix
Clone the repo
git clone --depth 1 https://github.com/andrewvaughan/agent-council

Made for: Claude Code, Codex.

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 hotfix

README.md
[![agentmods](https://agentmods.dev/badge/skills/andrewvaughan/agent-council/hotfix/github.svg)](https://agentmods.dev/skills/andrewvaughan/agent-council/hotfix)
Your own site
<a href="https://agentmods.dev/skills/andrewvaughan/agent-council/hotfix"><img src="https://agentmods.dev/badge/skills/andrewvaughan/agent-council/hotfix/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 hotfix

Your own site · 80×15
<a href="https://agentmods.dev/skills/andrewvaughan/agent-council/hotfix"><img src="https://agentmods.dev/badge/skills/andrewvaughan/agent-council/hotfix.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,230 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.00059 $0.01230
Opus 5 $0.00030 $0.00615
Sonnet 5 $0.00012 $0.00246
Haiku 4.5 $0.00006 $0.00123

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

Security

Grade A, and why

hotfix 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 9d 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.

canonical/skills/hotfix/SKILL.md · 172 lines

How it starts

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

Hotfix Workflow

Apply an urgent fix through a streamlined pipeline that skips the full planning cycle. This skill is for production bugs, security patches, and critical regressions.

[!CAUTION] This is NOT a shortcut for feature work. If the change adds new functionality, changes user-facing behavior, or touches more than ~100 lines, use /plan-feature instead. Hotfixes should be small, focused, and clearly scoped.

[!CAUTION] Scope boundary: This skill implements the fix, reviews it, creates a PR, and monitors CI. It covers the full lifecycle for urgent fixes so the user does not need to chain multiple skills.

Step 1: Define the Fix

CHECKPOINT: Confirm Hotfix Scope

Ask the user to describe the issue. Gather:

  1. What is broken? (symptom, error message, affected users)
  2. Where is the bug? (file, endpoint, component — if known)
  3. How urgent? (production down, data corruption, security vulnerability, degraded experience)
  4. GitHub issue number (if one exists)

If the user provides a GitHub issue number, fetch it:

gh issue view <number> --json title,body,labels,state,number

Present a summary and ask the user to confirm this is appropriate for hotfix (not a feature).

Step 2: Create Branch and Investigate

  1. Ensure you are on main and up to date:

    git fetch origin
    git checkout main
    git pull origin main
    
  2. Create a fix/ branch:

    git checkout -b fix/<short-description>
    
  3. If a GitHub issue exists, add the in-progress label (following AGENTS.md label management rules — remove from any other issue first).

  4. Investigate the bug: read relevant files, reproduce the issue if possible, identify the root cause.

Present the root cause analysis to the user before proceeding.

Step 3: Apply the Fix

  1. Make the minimal change needed to resolve the issue.

  2. Write or update tests to cover the bug (regression test).

  3. Run self-checks:

    pnpm type-check
    pnpm lint
    pnpm test
    

Read the full file on GitHub · 172 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. 9d ago First seen · 172 lines · 59 tokens per session scan A 7d8410161266

Subscribe to this mod's changes

hotfix is a skill published in the GitHub repository andrewvaughan/agent-council (13 stars, last pushed 6mo ago), licensed MIT. It adds 59 tokens to every session and 1,230 once invoked, about $0.0003 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-30.