hotfix

hotfix is a skill for Claude Code, Codex from fall-out-bug/sdp. It costs 23 tokens per session (672 once invoked), scanned A, original, MIT.

A workflow skill for urgent, highest-priority production fixes. It creates a hotfix branch, applies only the necessary change, runs a critical-path check, and prepares the change for release.

In plain words
What is it for?
Use it for P0 production incidents, minimal bug fixes, smoke testing, merging the fix into the main branch, tagging a release, and pushing the result.
Why use it?
It provides a short, controlled path for incidents such as a serious outage or risk of data loss, while requiring a write plan before files are changed.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it for P0 production incidents, minimal bug fixes, smoke testing, merging the fix into the main branch, tagging a release, and pushing the result.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/fall-out-bug/sdp/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 fall-out-bug/sdp --skill hotfix
Clone the repo
git clone --depth 1 https://github.com/fall-out-bug/sdp

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/fall-out-bug/sdp/hotfix/github.svg)](https://agentmods.dev/skills/fall-out-bug/sdp/hotfix)
Your own site
<a href="https://agentmods.dev/skills/fall-out-bug/sdp/hotfix"><img src="https://agentmods.dev/badge/skills/fall-out-bug/sdp/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/fall-out-bug/sdp/hotfix"><img src="https://agentmods.dev/badge/skills/fall-out-bug/sdp/hotfix.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 672 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.00023 $0.00672
Opus 5.5 $0.00009 $0.00269
Sonnet 5.5 $0.00005 $0.00134
Haiku 4.5 $0.00002 $0.00067

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

prompts/skills/hotfix/SKILL.md · 64 lines

How it starts

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

@hotfix

Emergency production fixes. Minimal changes, fast testing, merge to master with tag.

When to Use

  • P0 CRITICAL only
  • Production down or severely degraded
  • Data loss/corruption risk

Workflow

  1. Branch — git checkout master && git pull && git checkout -b hotfix/{id}-{slug}
  2. Minimal fix — No refactoring, fix bug only
  3. Smoke test — Critical path verification
  4. Merge — git checkout master && git merge hotfix/{branch} --no-edit
  5. Tag — git tag -a v{VERSION} -m "Hotfix: {description}"
  6. Push — git push origin master --tags

Write Plan (F101)

Before modifying any file, emit a write plan:

  1. Enumerate — List every file the skill will CREATE / MODIFY / DELETE with a one-line reason (fix files and version file).
  2. Flags:
    • --dry-run — Emit write plan only. Do NOT create, modify, or delete any file.
    • --yes — Skip confirmation prompt. Execute immediately. Intended for CI/non-interactive.
  3. Confirm — Present the plan to the user and wait for explicit approval (unless --yes).
  4. Log — Append write plan event to .sdp/log/events.jsonl (sanitize file paths before logging: strip newlines, ensure valid JSON escaping):
    {"spec_version":"v1.0","event_id":"<uuid>","timestamp":"<ISO-8601>","source":{"system":"sdp-lab","component":"hotfix"},"event_type":"decision.made","payload":{"decision_type":"write_plan","plan":[{"path":"...","action":"CREATE|MODIFY|DELETE","reason":"..."}]},"context":{"feature_id":"<F-id if known>","workstream_id":"<ws-id if applicable>"}}
    
    Include context fields only when the ID is known at plan time. Omit unavailable fields rather than inventing placeholders.

    Note: Phase 1 uses prompt-level write boundaries (CLI out of scope). Aligns with sdp/schema/contracts/orchestration-event.schema.json via event_type: "decision.made". Phase 2 CLI will emit natively.

Output format:

WRITE PLAN for @hotfix <target>:
  CREATE: path/to/new/file — <reason>
  MODIFY: path/to/existing/file — <reason>
  DELETE: path/to/removed/file — <reason>

Proceed? [y/n]

Read the full file on GitHub · 64 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 · 64 lines · 23 tokens per session scan A b4a2ce39e8c5

Subscribe to this mod's changes

hotfix is a skill published in the GitHub repository fall-out-bug/sdp (19 stars, last pushed 4mo ago), licensed MIT. It adds 23 tokens to every session and 672 once invoked, about $0.0001 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-08-30.

Related

Other skills, from other repositories

git-workflow-and-versioning

Structures git workflow practices. Use when making any code change. Use when committing, branching, resolving conflicts, splitting uncommitted work in a messy working tree into clean atomic commits, opening or reviewing a pull request (PR), pushing to a remote, or when you need to organize work across multiple…

addyosmani/agent-skills · 89 tokens

finishing-a-development-branch

A process for finishing a completed development branch. A branch is a separate line of code changes that can later be merged or submitted as a pull request.

jnMetaCode/superpowers-zh · 25 tokens

release

Cut a brooks-lint release: set the version in package.json, propagate it across all four plugin manifests and every version-bearing text file (README badges, docs site metadata), write the CHANGELOG entry, validate, then commit, push, tag, and publish the GitHub release. Triggers when the maintainer asks to "release"…

hyhmrright/brooks-lint · 135 tokens

release-rollback

Roll a release back for real when post-deploy regression goes red — apc release rollback flips the current version to pulled and the last good version back to current in the release ledger, and (with --mirror) repoints the bare mirror ref. Behind an approval gate; with no previous good version it BLOCKS instead of…

Prismer-AI/PrismerCloud · 96 tokens

release-tag

Cut a release tag behind a real tier gate and cloud approval readback. The approval, task, approved commit, and resulting tag are bound; self-approval and HEAD drift fail closed. Prod prefixes remain refused.

Prismer-AI/PrismerCloud · 46 tokens

github-release-briefing-skill

Create a source-linked briefing for the latest published GitHub release of a public repository. Use for engineering teams tracking a dependency release; do not use it to publish releases or change repositories.

FrancyJGLisboa/agent-skill-creator · 45 tokens