By bitocta
Step-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.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub bitocta/pypeep --plugin pypeepAuthoring guide for slayd — structure markdown files into slides with layouts, diagrams, and math that render correctly.
Kolo is a text-based Python debugger for AI agents. Capture every executed function, return value, local variable, HTTP request, and SQL query into greppable trace files.
Interactively debug source code — set breakpoints, step through execution, inspect live variables, evaluate expressions, and trace root causes.
Pause execution and inspect runtime state via DAP. Set breakpoints, evaluate expressions, test fixes in-place. Attach to running processes by PID — no restart, no code changes, no manual setup.
PHP debugging and analysis tools using Xdebug. Trace execution, step debug, profile performance, and analyze code coverage.
Debug issues systematically with root cause analysis and execution tracing
Use this agent when working with Python code that requires advanced features, performance optimization, or comprehensive refactoring. Examples: <example>Context: User needs to optimize a slow Python function that processes large datasets. user: "This function is taking too long to process our data, can you help optimize it?" assistant: "I'll use the python-expert agent to analyze and optimize your Python code with advanced techniques and performance profiling."</example> <example>Context: User wants to implement async/await patterns in their existing synchronous Python code. user: "I need to convert this synchronous code to use async/await for better performance" assistant: "Let me use the python-expert agent to refactor your code with proper async/await patterns and concurrent programming techniques."</example> <example>Context: User needs help implementing complex Python design patterns. user: "I want to implement a factory pattern with decorators for my API endpoints" assistant: "I'll use the python-expert agent to implement advanced Python patterns with decorators and proper design principles."</example>