AI Agent Hub
Back to skills
TraceAI CLI Diagnostics and Reports icon

TraceAI CLI Diagnostics and Reports

AI Agent Updated 2026.08.30

Paste the following prompt into your AI chat to install this skill:

Please follow https://skillhub.cn/install/skillhub.md to install @user_88d335e9/traceai.

About this skill

Problem Addressed

After agent tool calls, MCP events, and SDK activity, engineers often need a stable entry point to confirm whether traceai is available, whether storage is healthy, and whether failures point to parameter design rather than code bugs. This skill organizes installation, validation, metrics, and reporting into actionable steps.

How It Works

It treats traceai as the default command and favors local builds with SQLite storage, using traceai.db as the default database name. A typical path is to confirm the binary and version injection with version, check storage and service health with health, inspect runtime metrics with metrics, then analyze tool heat, error rates, behavior profiles, and agent usage through report and export. Reports commonly include Tool Heatmap, Error Rate Ranking, Behavior Profile, Failure Reasons, Agent Usage, and Trend; exports are CSV or JSON for spreadsheet review or further analysis.

Boundaries

It is suitable for command execution, release validation, configuration checks, database path, permission, and log troubleshooting. It is not for product roadmap discussion, feature-value debate, or tasks that do not require running commands. If health fails, inspect storage path and permissions instead of assuming missing data; empty export output does not mean command failure; do not seed demo data by default.

Use Cases

  • After validating a local agent build, confirm that version, health, and metrics commands run correctly.
  • Analyze MCP tool-call data to find frequently used tools, unused features, and error-rate rankings.
  • When health checks fail, inspect the SQLite path, file permissions, and variables such as TRACEAI_CONFIG.
  • Export CSV or JSON reports for developer follow-up analysis or spreadsheet review.

Best For

  • Backend engineers maintaining agent tool calls, who need to distinguish parameter design issues from code faults.
  • Platform engineers supporting MCP services, who need to review tool heat, error rates, and usage trends.
  • DevOps engineers validating local release builds, who need to verify traceai commands and storage paths.
  • Data engineers analyzing SDK events, who need to export JSON or CSV for further analysis.