Agent skill

Comet Hotfix

by rpamis in rpamis/comet

Comet preset path: Bug fix / hotfix. An agent skill from rpamis/comet.

MITAuto-check passedDevelopment

Install Comet Hotfix

skills CLI
$ npx skills add rpamis/comet --skill comet-hotfix -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install rpamis/comet comet-hotfix --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/rpamis/comet.git skills-src && mkdir -p .claude/skills && cp -r skills-src/eval/local/skills/benchmarks/039-release/comet-classic-039-hotfix .claude/skills/comet-hotfix && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
comet-hotfix
GitHub stars
3.2k
Token cost
~2.6k tokens
SKILL.md length
1,189 words
Files
1
Skills in repo
52
Repo updated
First seen
Licence
MIT

At a glance

Comet preset path: Bug fix / hotfix. An agent skill from rpamis/comet.

  • Works in 6 steps: Output Language Constraint → Quick Open (preset open) → Direct Build (preset build) → …
  • Tasks that involve Debugging
  • SKILL.md covers Process (preset workflow, 6…, Continuous Execution Mode, Upgrade Conditions and Exit Conditions, plus 1 more section
  • Calls mvn and npm

What it does

Comet Hotfix is an agent skill from rpamis/comet. Comet preset path: Bug fix / hotfix. Skip brainstorming, directly open → build → verify → archive. Applicable for behavior fixes, scenarios not involving new capability design.

Its SKILL.md is about 2.6k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Debugging and Brainstorming. The repository describes itself as: Comet: agent skill harness for turning ideas into evaluated workflows. The licence is MIT.

When your agent uses it

  • Tasks that involve Debugging
  • Tasks that involve Brainstorming

Example prompts

  • “/comet-hotfix”

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Output Language Constraint
  2. Quick Open (preset open)
  3. Direct Build (preset build)
  4. Root Cause Elimination Check
  5. Verification (preset verify)
  6. Archive (preset archive)

What it can do on your machine

Read from SKILL.md and the folder at commit 0fd42a0. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • mvn
    • npm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use npm, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Comet Hotfix loads about 2.6k tokens when it runs. Until then it costs about 47 tokens; SKILL.md has 1,189 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~47
When it runs · the whole SKILL.md, loaded when a task matches
~2.6k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from rpamis/comet at commit 0fd42a0, republished under its MIT licence (© rpamis). 1,189 words, ~2,559 tokens.

Download SKILL.mdSave it as .claude/skills/comet-hotfix/SKILL.md (or your agent's skills folder).
name
comet-hotfix
description
Comet preset path: Bug fix / hotfix. Skip brainstorming, directly open → build → verify → archive. Applicable for behavior fixes, scenarios not involving new capability design.

Comet Preset Path: Hotfix

Quick bug fix workflow: open → build → verify → archive. Skip brainstorming and full plan, applicable for behavior fixes not involving new capability design.

Applicable conditions (all must be met):

  1. Fix bugs in existing functionality, no new capability
  2. No interface changes or architecture adjustments
  3. Change scope is predictable (usually ≤ 2 files)

Not applicable: If fix process discovers need for architecture adjustments, should upgrade to full /comet workflow.


Process (preset workflow, 6 steps)

0. Output Language Constraint

Streamlined OpenSpec artifacts must use the language of the user request that triggered this workflow.

Execution chain: open → build → root cause check → verify → archive. Hotfix provides default decisions for each phase: streamlined open, direct build, root cause confirmation, scale-based verification, and final archive confirmation after verification passes.

Locate Comet scripts before starting:

bash
COMET_ENV="${COMET_ENV:-$(find . "$HOME"/.*/skills "$HOME/.config" "$HOME/.gemini" -path '*/comet/scripts/comet-env.sh' -type f -print -quit 2>/dev/null)}"
if [ -z "$COMET_ENV" ]; then
  echo "ERROR: comet-env.sh not found. Ensure the comet skill is installed." >&2
  return 1
fi
. "$COMET_ENV"
1. Quick Open (preset open)

Reuse Comet open capability to create change, but use hotfix defaults: do not execute openspec-explore long exploration, directly enter streamlined change creation.

Immediately execute: Use the Skill tool to load the openspec-new-change skill. Skipping this step is prohibited.

After the skill loads, follow its guidance to create streamlined artifacts:

  • proposal.md — problem description + root cause analysis + fix goal (no solution comparison needed)
  • design.md — fix solution (one is enough, no multi-solution comparison needed)
  • tasks.md — fix task list
  • No delta spec needed (unless fix changes existing spec acceptance scenarios)

Initialize Comet state file:

bash
"$COMET_BASH" "$COMET_STATE" init <name> hotfix

Verify initialized state:

bash
"$COMET_BASH" "$COMET_STATE" check <name> open

Run phase guard to transition open → build:

bash
"$COMET_BASH" "$COMET_GUARD" <change-name> open --apply

Check auto_transition to decide whether to continue:

bash
"$COMET_BASH" "$COMET_STATE" next <name>
  • NEXT: auto → continue to Step 2
  • NEXT: manual → pause, follow HINT to prompt user to run /<SKILL> manually
2. Direct Build (preset build)

Use hotfix defaults: build_mode: direct. Skip Superpowers brainstorming and writing-plans (unless tasks > 3; if exceeds 3 tasks, transfer to /comet-build's plan and execution method selection — note this does NOT trigger full workflow upgrade, only switches execution method).

Before continuing or starting changes, handle uncommitted changes through comet/reference/dirty-worktree.md. If attribution shows the fix scope exceeds hotfix, handle it through this file's "Upgrade Conditions".

Immediately execute: Execute tasks one by one according to tasks.md:

  1. Read openspec/changes/<name>/tasks.md, get incomplete task list
  2. For each incomplete task:
    • Modify code according to task description
    • Run project formatter (e.g., mvn spotless:apply, npm run format)
    • Run related tests to confirm pass
    • Check corresponding - [ ] to - [x] in tasks.md
    • Commit code, commit message format: fix: <brief fix description>
  3. After all tasks complete, explicitly run relevant project tests and build commands

If fix affects existing spec acceptance scenarios:

  • Create delta spec in openspec/changes/<name>/specs/<capability>/spec.md
  • Only include ## MODIFIED Requirements section

During hotfix execution, whenever a crash, unexpected behavior, test failure, or build failure appears while running the program, tests, build, or manual verification, must use the Skill tool to load the Superpowers systematic-debugging skill. Before root-cause investigation is complete, must not propose or implement source-code fixes.

For specific investigation, minimal failing test, fix verification, and keeping the current change verification loop, follow comet/reference/debug-gate.md.

3. Root Cause Elimination Check

Execute before running build guard, ensuring the fix actually eliminates the root cause:

  1. Read bug description and root cause in proposal.md
  2. Search and verify problem code no longer exists
  3. If root cause not eliminated, return to Step 2 to continue fix (still in build phase, no state transition needed)

Upgrade conditions:

  • Root cause check reveals deep architecture issues → Stop hotfix, handle per "Upgrade Conditions" section
  • Fix requires additional interface changes → Stop hotfix, handle per "Upgrade Conditions" section

After root cause is confirmed eliminated, run phase guard to transition build → verify:

bash
"$COMET_BASH" "$COMET_GUARD" <change-name> build --apply

State automatically updates to phase: verify, verify_result: pending, then enter verification.

4. Verification (preset verify)

Reuse /comet-verify, with comet-verify's scale assessment deciding lightweight or full verification.

Immediately execute: Use the Skill tool to load the comet-verify skill. Skipping this step is prohibited.

Small-scale hotfixes without delta spec usually meet lightweight verification conditions (≤ 3 tasks, ≤ 2 files), comet-verify's scale assessment will select the lightweight verification path (6 quick checks, including lightweight code review). If hotfix created delta spec, enter full verification path according to comet-verify's scale assessment rules.

After verification passes, record .comet.yaml verify_result as pass according to /comet-verify rules, must not skip this status before archiving. After verification passes, still enter /comet-archive's final archive confirmation; do not automatically run the archive script.

Show full SKILL.md (488 more words)Show less
5. Archive (preset archive)

Reuse /comet-archive. Must satisfy verify_result: pass in .comet.yaml before archiving, and wait for /comet-archive's final archive confirmation.

Immediately execute: Use the Skill tool to load the comet-archive skill to archive. Skipping this step is prohibited. If there is delta spec, sync to main spec according to comet-archive rules, and handle associated Design Doc and Plan archiving annotations.


Continuous Execution Mode

<IMPORTANT>
Hotfix workflow is **one-time continuous execution**. After invoking `/comet-hotfix`, agent must automatically advance through hotfix steps, without pausing to wait for user input mid-way.

Exception: when .comet.yaml has auto_transition: false, after each phase guard advances phase, do not auto-invoke the next skill. In this case, use "$COMET_BASH" "$COMET_STATE" next <name> output and pause for manual continuation as instructed.

The following situations must also pause and wait for user confirmation:

  1. Encountering upgrade conditions (see "Upgrade Conditions" section). Must use the current platform's available user input/confirmation mechanism to pause and wait for the user to explicitly confirm upgrading to full workflow
  2. workspace isolation and execution-method selection when tasks exceed 3 and transfer to /comet-build
  3. verify phase (comet-verify) verification-failure and branch-handling decisions
  4. Final archive confirmation (before comet-archive runs the archive script)

Execution order: quick open → direct build → root cause check → verification → archive → complete

After each step completes, immediately enter next step. Within each phase, must still call corresponding Comet/OpenSpec/Superpowers skill according to above requirements; if the called skill has its own user decision points, follow that skill's rules. </IMPORTANT>


Upgrade Conditions

Upgrade to full /comet when any of the following conditions are met:

ConditionExplanation
Change involves 3+ filesExceeds single-point fix scope
Architecture changesNew modules, new interfaces, new dependencies
Database schema changesStructural adjustments
Introduces new public APIFix creates new external interface
Fix scope exceeds single function/moduleRequires coordinated changes

When upgrade conditions are met, must follow the comet/reference/decision-point.md protocol to pause and wait for the user to explicitly confirm upgrading to the full /comet workflow. Do not directly enter /comet-design, and do not automatically supplement Design Doc.

After user confirms upgrade, must first update the workflow and phase fields before entering full flow:

bash
"$COMET_BASH" "$COMET_STATE" set <name> workflow full
"$COMET_BASH" "$COMET_STATE" set <name> phase design

Then on current change basis, supplement Design Doc: Immediately use the Skill tool to load the comet-design skill, proceed normally with full workflow. If user does not confirm upgrade, stop hotfix and report that current change has exceeded hotfix scope.


Exit Conditions

  • Bug fixed, tests pass
  • Change archived
  • If spec changes, synced to main spec
  • Phase guard: Before build → verify run "$COMET_BASH" "$COMET_GUARD" <change-name> build --apply; before verify → archive follow /comet-verify and run "$COMET_BASH" "$COMET_GUARD" <change-name> verify --apply

Automatic Handoff to Next Phase

Follow comet/reference/auto-transition.md. Key command:

bash
"$COMET_BASH" "$COMET_STATE" next <name>
  • NEXT: auto → invoke the skill pointed to by SKILL to continue hotfix workflow (phase: build returns comet-hotfix, verify returns comet-verify, archive returns comet-archive)
  • NEXT: manual → do not invoke the next skill; prompt user to manually run /<SKILL> per HINT
  • NEXT: done → workflow is complete, no further action needed

© rpamis, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in eval/local/skills/benchmarks/039-release/comet-classic-039-hotfix of rpamis/comet.

Open the folder on GitHubat commit 0fd42a0

Compare with similar skills

Comet Hotfix next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Comet Hotfix compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Comet Hotfix this skillrpamis/comet3.2k—~2.6kAutomated safety check: PassMIT
Trellis Session Insightmindfold-ai/Trellis15k4 repos~1.7kAutomated safety check: PassAGPL-3.0
Context FieldsNeoVertex1/context-field147—~1.3kAutomated safety check: PassNone
Brainstormingfeiskyer/claude-code-settings1.7k—~985Automated safety check: PassMIT
ScopeAlexZio00/sovereign-skills140—~4kAutomated safety check: PassMIT
Odoo Workflowunclecatvn/agent-skills143—~4.7kAutomated safety check: PassMIT

Similar skills

  • Trellis Session Insight

    mindfold-ai/Trellis

    Reach into past AI conversation history through the trellis mem CLI.

    15k GitHub starsUsed in 4 repos~1.7k tokens
    DevelopmentAuto-check passed
  • Context Fields

    NeoVertex1/context-field

    Apply cognitive constraints that reshape thinking. An agent skill from NeoVertex1/context-field.

    147 GitHub stars~1.3k tokensUpdated 8 mo ago
    DevelopmentAuto-check passed
  • Brainstorming

    feiskyer/claude-code-settings

    Explore user intent, requirements, and design options through collaborative dialogue before implementation.

    1.7k GitHub stars~985 tokensUpdated 12 days ago
    DevelopmentAuto-check passed
  • Scope

    AlexZio00/sovereign-skills

    Scope definition before implementation — two modes. An agent skill from AlexZio00/sovereign-skills.

    140 GitHub stars~4k tokensUpdated today
    DevelopmentAuto-check passed
  • Odoo Workflow

    unclecatvn/agent-skills

    Mandatory pre-code gate and definition-of-done for ANY Odoo change (add field, override method, inherit view/xpath, OWL/JS patch, wizard, cron, controller, report, security, migration, bug fix…

    143 GitHub stars~4.7k tokensUpdated 15 days ago
    DevelopmentAuto-check passed
  • Qnn

    iblameandrew/open-deepthink

    Launch a Qualitative Neural Network (QNN) — a layered, multi-epoch brainstorm of agent personas that maps divergent strategies before implementation.

    151 GitHub stars~7.1k tokensUpdated 1 mo ago
    Agent WorkflowsAuto-check passed

More from rpamis/comet

All 52 skills in this repo
  • Comet

    rpamis/comet

    A skill your agent uses when 用户要启动或恢复 Comet 工作流,需要根据 active change、.comet.yaml、hotfix/tweak 意图路由到对应阶段 Skill。

    3.2k GitHub stars~2.7k tokensUpdated today
    Auto-check passed
  • Comet

    rpamis/comet

    Comet workflow entry. An agent skill from rpamis/comet.

    3.2k GitHub stars~686 tokensUpdated today
    Auto-check passed
  • Comet

    rpamis/comet

    Comet — OpenSpec + Superpowers dual-star development workflow.

    3.2k GitHub stars~4.4k tokensUpdated today
    Auto-check passed
  • Comet Archive

    rpamis/comet

    Archive and deliver a Classic change. An agent skill from rpamis/comet.

    3.2k GitHub stars~3.9k tokensUpdated today
    Auto-check passed
  • Comet Classic

    rpamis/comet

    Comet Classic workflow entry. An agent skill from rpamis/comet.

    3.2k GitHub stars~3k tokensUpdated today
    Auto-check passed
  • Comet Design

    rpamis/comet

    Complete the Classic technical design and obtain user confirmation.

    3.2k GitHub stars~4.3k tokensUpdated today
    Auto-check passed

Questions about Comet Hotfix

What does Comet Hotfix do?

Comet preset path: Bug fix / hotfix. An agent skill from rpamis/comet. Comet Hotfix is an agent skill from rpamis/comet. Comet preset path: Bug fix / hotfix.

When should I use Comet Hotfix?

Comet Hotfix fits situations like: tasks that involve Debugging; tasks that involve Brainstorming.

How do I install Comet Hotfix in Claude Code?

Run `npx skills add rpamis/comet --skill comet-hotfix -a claude-code`. Or copy the skill folder (eval/local/skills/benchmarks/039-release/comet-classic-039-hotfix in rpamis/comet) into .claude/skills/comet-hotfix in your project. Claude Code loads it when a task matches its description.

How do I install Comet Hotfix in Codex?

Run `npx skills add rpamis/comet --skill comet-hotfix -a codex`. Or copy the skill folder (eval/local/skills/benchmarks/039-release/comet-classic-039-hotfix in rpamis/comet) into .agents/skills/comet-hotfix in your project. Codex loads it when a task matches its description.

Can I use Comet Hotfix in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add rpamis/comet --skill comet-hotfix -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/comet-hotfix, .gemini/skills/comet-hotfix, .github/skills/comet-hotfix and .opencode/skills/comet-hotfix in your project.

What does Comet Hotfix need to run?

Going by SKILL.md and its folder, Comet Hotfix needs the command-line tools its instructions call (mvn and npm).

Does Comet Hotfix access the network?

SKILL.md contains no URLs. Its commands use npm, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Comet Hotfix safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Comet Hotfix use?

Comet Hotfix is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Comet Hotfix use?

About 2.6k tokens (SKILL.md is roughly 10k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Comet Hotfix?

Skills that share tags, products or a category with Comet Hotfix: Trellis Session Insight (mindfold-ai/Trellis, 15k stars), Context Fields (NeoVertex1/context-field, 147 stars), Brainstorming (feiskyer/claude-code-settings, 1.7k stars) and Scope (AlexZio00/sovereign-skills, 140 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Comet Hotfix?

rpamis (a GitHub organization) maintains it in rpamis/comet, which has 3,166 GitHub stars. The repository holds 52 skills in this directory. The repository was last updated on October 9, 2026.

Source: rpamis/comet on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.