Step-by-step Python execution tracer using sys.settrace(). Debug programs, verify fixes, understand code flow, and detect common Python gotchas.
npx claudepluginhub bitocta/pypeepStep-by-step Python execution tracer using sys.settrace(). Debug programs, verify fixes, understand code flow, and detect common Python gotchas.
An AI coding skill that traces Python execution step-by-step. Captures every line, variable state, function calls, exceptions, and stdout — so your AI agent can debug, explain, and verify Python code.
Try the interactive debugger.
sys.settrace()overview (changed vars only), locals (all locals), full (locals + globals)__id__ reveals aliasing bugs, cycle detection built-in/plugin marketplace add BITOCTA/pypeep
/plugin install pypeep@pypeep
PyPeep uses the SKILL.md standard — supported by 20+ AI editors.
Clone the skill into your editor's skills directory:
# Cursor
git clone https://github.com/BITOCTA/pypeep.git ~/.cursor/skills/pypeep
# Codex CLI
git clone https://github.com/BITOCTA/pypeep.git ~/.codex/skills/pypeep
# Gemini CLI
git clone https://github.com/BITOCTA/pypeep.git ~/.gemini/skills/pypeep
# GitHub Copilot (project-level)
git clone https://github.com/BITOCTA/pypeep.git .copilot/skills/pypeep
Or copy just the skills/pypeep/ folder into your editor's skills directory.
Once installed, the AI agent automatically uses PyPeep when you:
Just describe what you need in natural language:
Debug why this script prints the wrong output
Explain what this code does step by step
I fixed the bug — can you verify it works now?
Why does this function share state between calls?
The agent receives a JSON trace of every execution step:
{
"event": "line",
"line": 5,
"function": "main",
"locals": { "x": 42 },
"stdout": "hello\n"
}
Complex objects show identity (__id__), type, and contents — making aliasing bugs immediately visible.
See skills/pypeep/SKILL.md for full skill documentation including output format, analysis guide, and usage details.