fusion-tea: Skill for Claude Code

.agents/skills/python-debugger/SKILL.md

python-debugger is a skill for Claude Code, Codex from 1cFE/fusion-tea. It costs 87 tokens per session (1,093 once invoked), scanned A, original, MIT.

A Python debugging workflow that uses breakpoints, variable inspection, and stack traces. Python is a programming language; a breakpoint pauses a program so you can inspect its state while it runs.

In plain words
What is it for?
Use it to inspect values at specific lines, understand program state, and examine the context of exceptions in Python code.
Why use it?
It helps find runtime problems when reading code or adding print statements does not show why the program fails.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code; installed under .agents/ (shared by several agents); mentions Codex.

This is 1cFE/fusion-tea's own configuration. It tells Claude Code and Codex how to work on fusion-tea 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 fusion-tea configures →

Reuse

Borrowing it

Nothing to install: this file belongs to 1cFE/fusion-tea. 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/1cFE/fusion-tea/main/.agents/skills/python-debugger/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/1cFE/fusion-tea

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 python-debugger

README.md
[![agentmods](https://agentmods.dev/badge/skills/1cfe/fusion-tea/python-debugger/github.svg)](https://agentmods.dev/skills/1cfe/fusion-tea/python-debugger)
Your own site
<a href="https://agentmods.dev/skills/1cfe/fusion-tea/python-debugger"><img src="https://agentmods.dev/badge/skills/1cfe/fusion-tea/python-debugger/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 python-debugger

Your own site · 80×15
<a href="https://agentmods.dev/skills/1cfe/fusion-tea/python-debugger"><img src="https://agentmods.dev/badge/skills/1cfe/fusion-tea/python-debugger.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 87 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,093 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.00087 $0.01093
Opus 5.5 $0.00035 $0.00437
Sonnet 5.5 $0.00017 $0.00219
Haiku 4.5 $0.00009 $0.00109

Measured 24d ago against content hash 6dc5bbb496c5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

python-debugger 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 24d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/claude_debugger.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/python-debugger/SKILL.md · 120 lines

How it starts

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

Before executing this skill, read .agentic-mbse/claude.md in Claude Code or .agentic-mbse/codex.md in Codex. Resolve supporting paths from this skill’s installed directory; keep generated outputs in the project or a temporary directory. Read referenced skills from .agents/skills/<name>/SKILL.md when their guidance is needed.

Python Debugger Skill

This skill enables programmatic debugging of Python scripts by setting breakpoints, capturing variable state, and inspecting stack traces—all without interactive terminal sessions.

Core Capability

Run scripts/claude_debugger.py to debug Python code non-interactively:

# Set breakpoints at specific lines
uv run python .agents/skills/python-debugger/scripts/claude_debugger.py target.py --breakpoints 10,25,42

# Capture state only when exceptions occur (fastest)
uv run python .agents/skills/python-debugger/scripts/claude_debugger.py target.py --trace-exceptions

# Output to file for complex analysis
uv run python .agents/skills/python-debugger/scripts/claude_debugger.py target.py -b 10,25 -o debug_state.json

Quick Reference

Line Breakpoints

uv run python .agents/skills/python-debugger/scripts/claude_debugger.py script.py --breakpoints 15,30,45

Captures at each specified line: locals (with types/values), full stack trace.

Exception Capture (Post-Mortem)

uv run python .agents/skills/python-debugger/scripts/claude_debugger.py script.py --trace-exceptions

Runs script normally. On exception: captures all frame locals, full traceback.

Limit Captures

uv run python .agents/skills/python-debugger/scripts/claude_debugger.py script.py -b 10 --max-hits 3

Stops after 3 breakpoint hits (prevents runaway loops).

Pass Script Arguments

uv run python .agents/skills/python-debugger/scripts/claude_debugger.py script.py -b 10 -- --input data.txt

Output Format

JSON output contains:

{
  "status": "completed",
  "total_hits": 3,
  "captures": [
    {
      "event": "line_breakpoint",
      "file": "/path/to/script.py",
      "line": 15,
      "function": "process_data",
      "locals": {
        "x": {"repr": "42", "type": "int", "value": 42},
        "items": {"repr": "[1, 2, 3]", "type": "list", "length": 3}
      },
      "stack_trace": [
        {"file": "script.py", "line": 15, "function": "process_data"},
        {"file": "script.py", "line": 50, "function": "main"}
      ]
    }
  ]
}

Read the full file on GitHub · 120 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 24d ago Changed · +2 lines 6dc5bbb496c5
  2. 1mo ago First seen · 118 lines · 87 tokens per session scan A 716accd66c58

Subscribe to this mod's changes

python-debugger is a skill published in the GitHub repository 1cFE/fusion-tea (5 stars, last pushed 24d ago), licensed MIT. It adds 87 tokens to every session and 1,093 once invoked, about $0.0003 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-09-29.

Related

python-debugger compared with skills from other repositories

python-debugger next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
python-debugger1cFE/fusion-teaSkill524d agoMITA87Claude Code, Codex
systematic-debuggingopen-metadata/OpenMetadataSkill16kyesterdayApache-2.0A37Claude Code
log-error-digestzebbern/claude-code-guideSkill4.7k3d agoMITA71Claude Code, Codex
cwv-optimizeradobe/skillsSkill319yesterdayApache-2.0A112Claude Code
ci-fixersipyourdrink-ltd/bernsteinSkill1.2kyesterdayApache-2.0A15Claude Code, Codex
incident-response-incident-responsermyndharis/antigravity-skillsSkill1.9k23d agoMITA36Claude Code
triaging-web-analytics-supportPostHog/posthogSkill41kyesterdaynoneA151Claude Code, Codex