hapo:debug

A diagnostic guide for finding the root cause of bugs, failed tests, delivery-pipeline failures, incidents, slow performance, interface regressions, and unexpected behavior.

In plain words
What is it for?
Use it to investigate failures, form and test explanations, map the possible impact, and prepare a verification plan.
Why use it?
It helps separate evidence from guesses and clarifies which parts of a system may be affected before a fix is attempted.

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/haposoft/cafekit/debug
Any agent
npx skills add haposoft/cafekit --skill debug
Clone the repo
git clone --depth 1 https://github.com/haposoft/cafekit

Made for: Claude Code, Codex.

Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,665 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown 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.00053 $0.02665
Opus 5 $0.00026 $0.01333
Sonnet 5 $0.00011 $0.00533
Haiku 4.5 $0.00005 $0.00266

Measured yesterday against content hash fd9eb00ece52, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

hapo:debug 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.

packages/spec/src/claude/skills/debug/SKILL.md · 286 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

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 · 286 lines · 53 tokens per session scan A fd9eb00ece52

Subscribe to this mod's changes

hapo:debug is a skill published in the GitHub repository haposoft/cafekit (54 stars, last pushed 3d ago), with no licence file. It adds 53 tokens to every session and 2,665 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.

Related

Other skills, from other repositories

troubleshooting

Skill "troubleshooting" from chaterm/terminal-skills, covering kubernetes 故障排查, 概述, 集群状态检查, 节点状态 and 查看节点.

chaterm/terminal-skills · 11 tokens

fault-localizer

自动故障定位 - 给定错误堆栈或失败测试,通过频谱分析和AST导航定位根因代码.

chainlesschain/chainlesschain · 30 tokens

debugging-strategies

Systematic bug hunting. Invoke when stuck on a bug, when symptoms don't match your mental model, or when "fixing" the same area repeatedly.

orlando-japan/claude-code-setting · 37 tokens

bug-diagnosis

Use this skill to systematically diagnose the root cause of a bug before attempting a fix. Activates when a bug is reported, a test is failing, or unexpected behavior is observed. Prevents guess-and-check debugging that introduces additional bugs while chasing symptoms.

karthikrshet/aiskills · 60 tokens

anti-cheat-systems

Guide for modern game anti-cheat architecture, Windows kernel monitoring, and detection tradeoffs. Use this skill when analyzing EAC, BattlEye, Vanguard, FACEIT AC, kernel callbacks, handle protection, manual-map detection, boot-start drivers, BYOVD, DMA threats, or behavioral telemetry in game security research.

gmh5225/awesome-game-security · 71 tokens

reverse-engineering-tools

Guide for reverse engineering protected games and anti-cheat components across user mode, kernel mode, and hypervisor-aware environments. Use this skill when analyzing drivers, IOCTL protocols, callback registration, injected-code artifacts, integrity checks, protected binaries, or debugging security-sensitive game…

gmh5225/awesome-game-security · 60 tokens