Dspy Debugging Observability
Provides detailed logs, metrics, and visualizations to diagnose and improve dspy test suite performance and accuracy.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add dspy-debugging-observability npx -- -y @trustedskills/dspy-debugging-observability
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"dspy-debugging-observability": {
"command": "npx",
"args": [
"-y",
"@trustedskills/dspy-debugging-observability"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
The dspy-debugging-observability skill provides tools for inspecting and understanding the internal state of AI agents during execution. It allows you to view intermediate steps, track variable values, and identify potential bottlenecks or errors within complex agent workflows. This capability is crucial for diagnosing issues and improving agent performance.
When to use it
- Troubleshooting unexpected behavior: When an agent isn't producing the desired results, this skill helps pinpoint where things are going wrong.
- Understanding complex reasoning chains: For agents with multiple tools or steps, observe the decision-making process at each stage.
- Optimizing performance: Identify slow operations or redundant actions that can be streamlined to improve overall agent speed.
- Debugging tool usage: Track how and why an agent is selecting specific tools within its environment.
Key capabilities
- Inspect intermediate states of the agent's execution.
- Track variable values throughout the workflow.
- Identify bottlenecks in the agent’s reasoning process.
- Provides observability into tool selection decisions.
Example prompts
- "Show me the internal state after each step."
- "What was the value of 'search_results' before calling the email tool?"
- "Explain why the agent chose to use the calculator tool in this situation."
Tips & gotchas
This skill requires a suitable environment that supports observability features. Ensure your agent framework is configured to expose internal state information for debugging purposes.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.