expect: Skill for Claude Code

.agents/skills/debug-agent/SKILL.md

debug-agent is a skill for Claude Code, Codex from millionco/expect. It costs 60 tokens per session (2,356 once invoked), scanned A, original, no licence file.

A structured method for debugging software from runtime evidence. It records events as newline-delimited JSON logs, tests possible causes, and uses the logs to identify the proven root cause.

In plain words
What is it for?
Use it for unexpected behavior, reported bugs, reproduction steps, runtime logging, and investigating which hypothesis explains a failure.
Why use it?
It replaces guesswork with a repeatable process for reproducing bugs and checking what actually happened. Findings can be tied to specific log entries.

Skill for Claude CodeCodex

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing. Also seen: installed under .agents/ (shared by several agents).

This is millionco/expect's own configuration. It tells Claude Code and Codex how to work on expect itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything expect configures →

Reuse

Borrowing it

Nothing to install: this file belongs to millionco/expect. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/millionco/expect/main/.agents/skills/debug-agent/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/millionco/expect

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 debug-agent

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/millionco/expect/debug-agent"><img src="https://agentmods.dev/badge/skills/millionco/expect/debug-agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,356 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 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.1 $0.00060 $0.02356
Opus 5.5 $0.00024 $0.00942
Sonnet 5.5 $0.00012 $0.00471
Haiku 4.5 $0.00006 $0.00236

Measured 2mo ago against content hash 48574ff34c6e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

debug-agent 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 2mo 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.

.agents/skills/debug-agent/SKILL.md · 173 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

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. 2mo ago First seen · 173 lines · 60 tokens per session scan A 48574ff34c6e

Subscribe to this mod's changes

debug-agent is a skill published in the GitHub repository millionco/expect (3,561 stars, last pushed 5mo ago), with no licence file. It adds 60 tokens to every session and 2,356 once invoked, about $0.0002 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

triage-issues

Triage GitHub issues in the googleapis/mcp-toolbox repo: propose the correct labels (type / priority / product / status), check for duplicates, verify a bug has enough info to act on, and draft a triage comment. Use whenever a maintainer asks you to triage, label, categorize, prioritize, or "look at" an issue (or a…

googleapis/mcp-toolbox · 164 tokens

adk-debug

Diagnoses misbehaving ADK agents by inspecting sessions, events, tool calls, and the exact request that reached the model. Covers the adk run CLI and the adk web dev server with its session, trace, and debug HTTP endpoints. Use when an agent returns the wrong answer, ignores a tool or swallows a tool error, hangs…

google/adk-python · 191 tokens

cvm-ai-doctor

A health-diagnosis workflow for servers, computers, virtual machines, and containers on Linux, macOS, or Windows.

TencentCloud/Octop · 60 tokens

browser-edge-cases

SOP for debugging browser automation failures on complex websites. Use when browser tools fail on specific sites like LinkedIn, Twitter/X, SPAs, or sites with Shadow DOM.

aden-hive/hive · 40 tokens

rubber-duck

Adversarial "rubber duck" review that turns explaining-out-loud into a hallucination check. The main session is the PRESENTER (it did the work — a design doc, investigation, or analysis — and holds the real reasoning) and reconstructs the topic to a LISTENER — a spawned subagent pinned to a DIFFERENT-vendor model that…

kirodotdev/KiroCrew · 161 tokens

scanner-overview

Stage 1 broad-spectrum scanner playbook. Sharded sweep over very large codebases producing CANDIDATE nodes for the Detector to reason about. Load at scanner-agent startup.

PurpleAILAB/Decepticon · 40 tokens