Debug-trace
by @sergeypetrakov
Execution breakdown of a request: read it via recent_tasks(limit=3, include_results=true, include_traces=true), skip the task still running, report header «N раундов · X USD · K вызовов · E ошибок», the trace, then bullets: что отработало, сложности, результат, как пофиксить. Amounts only as «6.31 USD» — never the $ sign: the chat renders text between two $ as a formula.
clawhub install debug📖 About This Skill
debug
Analyze error messages, stack traces, and logs to diagnose issues and suggest fixes. Covers Python, Node.js, Go, Bash, Docker, Git, and database errors.
Usage
debug analyze
debug explain
debug suggest
Commands
analyze — Parse and diagnose an error message or log file, identify root causeexplain — Explain what an error code or message means in plain languagesuggest — Provide actionable fix suggestions for a given errorExamples
# Analyze a Python traceback
debug analyze "TypeError: 'NoneType' object is not subscriptable"Explain an error code
debug explain "ECONNREFUSED"Get fix suggestions from a log file
debug suggest error.log
Requirements
When to Use
Use when you encounter error messages, stack traces, or cryptic error codes and need quick diagnosis and fix suggestions without leaving the terminal.
⚡ When to Use
Use when you encounter error messages, stack traces, or cryptic error codes and need quick diagnosis and fix suggestions without leaving the terminal.
💡 Examples
# Analyze a Python traceback
debug analyze "TypeError: 'NoneType' object is not subscriptable"Explain an error code
debug explain "ECONNREFUSED"Get fix suggestions from a log file
debug suggest error.log