Install
openclaw skills install claw-traceTrack and visualize the OpenClaw agent's work process. Record tool call inputs, outputs, duration, and status, and present them in an easy-to-read format. **...
openclaw skills install claw-traceThis Skill is used to record and display the AI agent's work process.
User can say "enable XX feature" or "use simple mode" to switch.
| Step | Tool | Input | Result | Duration |
|---|---|---|---|---|
| 1 | web_search | query: "xxx" | ❌ Failed | 0ms |
| 2 | web_fetch | url: "xxx" | ✅ Success | 230ms |
[User Request] ↓
📊 Work Statistics
⏱️ Total Time: 8.5s
🔧 Tool Calls: 15 times
✅ Success Rate: 87% (13/15)
📈 Tool Usage Ranking:
1. web_fetch - 10 times (67%)
2. exec - 3 times (20%)
Record complete input/output for each call (except sensitive info).
Generate Markdown report saved to workspace.
Filter tool calls by various criteria:
| Filter Type | Command | Example |
|---|---|---|
| By tool name | "filter: tool_name" | "filter: web_search" |
| By result | "filter: success" / "filter: failed" | "filter: failed" |
| By time | "filter: last N calls" | "filter: last 5 calls" |
| By keyword | "filter: keyword in output" | "filter: error" |
Multiple filters can be combined: "filter: web_search and failed"
Choose export format:
The Skill has a config file config.json with the following options:
{
"enable": false, // Whether to enable by default (default: false, on-demand)
"mode": "simple", // Mode: simple / full
"enabledModules": {
"table": true, // Call table
"flowchart": true, // Flowchart
"statistics": false, // Statistics
"detailedLog": false,// Detailed log
"saveToFile": false // Save to file
},
"language": "auto" // Language: auto / zh / en
}
User can modify config through conversation:
| Command | Action |
|---|---|
| "enable trace" | enable = true |
| "disable trace" | enable = false |
| "use simple mode" | mode = simple |
| "use full mode" | mode = full |
| "enable statistics" | statistics = true |
| "enable filters" | filters = true |
| "filter: tool_name" | filter by tool name |
| "filter: success/failed" | filter by result |
| "filter: last N calls" | filter by count |
| "output in English" | language = en |
| "output in Chinese" | language = zh |
config.json first to get current configWhen enable = true, trace output MUST be included in EVERY reply after tool calls automatically, without waiting for user to say "show trace"!
Before displaying any tool call input/output, you MUST redact the following:
Must redact:
key=, token=, password=, Authorization:)How to redact:
[REDACTED] or [HIDDEN]{"api_key": "sk-xxx"} → {"api_key": "[REDACTED]"}Default configuration is set to:
enable: false (off by default, user must explicitly enable)detailedLog: false (don't record full inputs/outputs)saveToFile: false (don't persist to disk)