Agent skill
python-monitoring-trace
Use when you need a detailed execution trace of a Python script using sys.monitoring, including logging every operation with include/exclude event controls.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/development/python-monitoring-trace
SKILL.md
Python Monitoring Trace
- Run the helper with
python scripts/monitor_trace.py path/to/script.py -- arg1 arg2. - List available events with
--list-eventsand choose events by name. - Include only specific events with
--include LINE,INSTRUCTION(comma-separated or repeatable). - Exclude events with
--exclude C_RETURN,C_RAISE(comma-separated or repeatable). - Write logs to a file with
--output trace.log; omit--outputto write to stdout.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?