agent-tracing

Inspect agent execution snapshots and debug LLM calls via CLI.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/dodevproject/lobe-chat --skill agent-tracing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agent-tracing
Source: https://github.com/dodevproject/lobe-chat/tree/main/.agents/skills/agent-tracing
Command: npx skills add https://github.com/dodevproject/lobe-chat --skill agent-tracing

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a command-line interface to inspect and debug the execution of AI agents, allowing developers to understand LLM calls, context engine data, and agent steps.

Core Features & Use Cases

  • Inspect Execution Snapshots: View detailed logs of agent operations, including LLM interactions and tool calls.
  • Analyze Agent Steps: Drill down into specific steps of an agent's execution to understand its decision-making process.
  • Use Case: When an agent's behavior is unexpected, use this Skill to trace its execution, examine the exact prompts sent to the LLM, and review the data it processed to identify the root cause.

Quick Start

Use the agent-tracing CLI to view the latest agent execution trace.

Frequently Asked Questions about agent-tracing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I debug unexpected AI agent behavior and inspect LLM calls?

You can debug unexpected AI agent behavior by using a CLI tool to inspect execution snapshots, analyze context engine data, and review exact LLM prompts to identify the root cause of failures.

What is the best way to trace agent execution steps during development?

Tracing agent execution steps is best handled by analyzing detailed logs of agent operations via a command-line interface, allowing you to drill down into specific decision-making processes and tool interactions.

Do I need Node.js to view agent execution snapshots?

Yes, you need a Node.js environment to run the CLI and record agent execution snapshots for inspecting LLM interactions and troubleshooting execution failures.

Can I examine the exact prompts sent to the LLM during an agent run?

Yes, you can examine the exact prompts sent to the LLM by inspecting detailed execution snapshots, which log agent operations and interactions to help you understand the processed data.

Why does my agent tracing CLI fail to capture context engine data?

Agent tracing CLI failures often occur if the Node.js environment is not properly configured to record execution snapshots or if the agent execution lacks the necessary logging components for context engine data.