news 2026/7/5 19:20:02

CANN/cannbot-skills智能体观测工具

作者头像

张小明

前端开发工程师

1.2k 24
文章封面图
CANN/cannbot-skills智能体观测工具

CANNBot-Insight

【免费下载链接】cannbot-skillsCANNBot 是面向 CANN 开发的用于提升开发效率的系列智能体,本仓库为其提供可复用的 Skills 模块。项目地址: https://gitcode.com/cann/cannbot-skills

Session-level observability tool for LLM coding agents. Helps analyze long-context usage patterns, detect model hallucination issues, and govern context window growth across agent sessions.

中文文档

Features

Import opencode sessions.db or Claude Code JSONL logs, then analyze Agent sessions turn-by-turn:

  • Tokens & Cost— 5-item token breakdown per turn with bar chart relative to model context window; cost estimation from token usage and model pricing
  • Context Growth— Context growth chart per subagent session; animated replay of context window evolution with subagent spawn/death markers;/compactmarkers with context-drop annotations across multiple compactions
  • Context Governance— View LLM input context composition: visible messages + stable "System (hidden)" overhead; input window correctly truncated at each/compactboundary
  • Subagent Tracking— Identify subagent sessions, build dispatch→response bridges; SVG diagram showing main↔subagent connections
  • Skill Events— Track skill load/invoke/use events per turn
  • Workflow— Divide a session into phases by the workflow skill's own progress markers (阶段一/二/三/四 in non-thinking assistant output; future-tense mentions like "后续可继续执行阶段二" are ignored); skills attach to whichever phase their dispatch root turn falls in, so a session that only completed 阶段一 shows as a single 阶段一 — not every session runs the full workflow. Falls back to skill-family gap heuristics when no markers exist
  • Concept Tracing— Search keywords across turns, view propagation chain and DAG graph
  • File Read Analysis— Detect duplicate and unnecessary file reads
  • Session Compare— Compare two sessions on tokens, cost, latency, tool calls, and subagents

Option 1: Web UI

Requires Node.js >= 20.x(v18.19.x fails to install better-sqlite3 / Prisma 6). If you have nvm,start.shauto-switches to Node 20 LTS.

Log file locations:

  • opencode:~/.local/share/opencode/sessions.db
  • Claude Code:~/.claude/projects/<hash>/sessions/<id>.jsonl, or point to a directory to scan all .jsonl files
./start.sh # Auto install + migrate + start Web UI on port 21025 ./start.sh -u # Update dependencies + migrate + start Web UI ./start.sh -f # Fresh build (clear .next cache, rebuild from scratch)

Openhttp://localhost:21025. After importing a log file, click a session to explore 9 analysis tabs.

Web UI also supports: exporting sessions to standalone SQLite or hierarchical Markdown; uploading sessions to CANNBay with a description dialog.

Option 2: CLI Upload + Web Analysis

Designed for SSH remote servers, Web IDEs, and other environments without a browser. CLI imports and uploads in one step, then analyze in Web UI.

Log file locations:

  • opencode:~/.local/share/opencode/sessions.db
  • Claude Code:~/.claude/projects/<hash>/sessions/<id>.jsonl, or point to a directory to scan all .jsonl files
# Upload from source file (source type auto-detected from file extension) npx tsx src/cli/index.ts upload --file ./sessions.db # Interactive picker if multiple sessions npx tsx src/cli/index.ts upload --file ./logs/ # Claude JSONL (directory)

Upload triggers an interactive description prompt. Backend auto-starts if not running and stops after upload completes.

After upload, view analysis in Web UI: click theCANNBaybutton during import to select and import DB files directly from the repository — no manual download needed.

【免费下载链接】cannbot-skillsCANNBot 是面向 CANN 开发的用于提升开发效率的系列智能体,本仓库为其提供可复用的 Skills 模块。项目地址: https://gitcode.com/cann/cannbot-skills

创作声明:本文部分内容由AI辅助生成(AIGC),仅供参考

版权声明: 本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若内容造成侵权/违法违规/事实不符,请联系邮箱:809451989@qq.com进行投诉反馈,一经查实,立即删除!
网站建设 2026/7/5 19:19:47

Kali Linux下Log4j2漏洞靶场搭建与JNDI注入攻击复现实战

1. 项目概述与核心价值 最近几年&#xff0c;安全圈里提起“核弹级”漏洞&#xff0c;Log4j2 的 CVE-2021-44228 绝对榜上有名。这个漏洞的波及范围之广、利用门槛之低、危害性之大&#xff0c;让所有安全从业者和开发者都捏了一把汗。光看理论分析报告和漏洞公告&#xff0c;总…

作者头像 李华
网站建设 2026/7/5 19:18:59

CANN/docs - 算子精度问题定位流程

问题定位流程 【免费下载链接】docs 该仓库用于维护cann公共文档 项目地址: https://gitcode.com/cann/docs 图 1 定位流程 ![](https://raw.gitcode.com/cann/docs/raw/a173bdbfa81bbfd36d1c4da672d78301fb678d36/docs/app-dev/zh/figures/定位流程.png "定位流程…

作者头像 李华
网站建设 2026/7/5 19:18:39

FXTest数据库架构深度解析:SQLite与MySQL双引擎支持的设计原理

FXTest数据库架构深度解析&#xff1a;SQLite与MySQL双引擎支持的设计原理 【免费下载链接】FXTest 接口自动化测试平台——pythonflask版&#xff0c;支持http协议,java 版本开发完毕https://github.com/liwanlei/plan 项目地址: https://gitcode.com/gh_mirrors/fx/FXTest …

作者头像 李华
网站建设 2026/7/5 19:18:18

如何扩展Varnish Dashboard功能:自定义插件与API集成教程

如何扩展Varnish Dashboard功能&#xff1a;自定义插件与API集成教程 【免费下载链接】varnish-dashboard Advanced realtime Varnish dashboard with support for multiple servers and advanced management tasks 项目地址: https://gitcode.com/gh_mirrors/va/varnish-das…

作者头像 李华
网站建设 2026/7/5 19:18:01

Perlite目录导航:移动端优化的TOC系统让文档浏览更高效

Perlite目录导航&#xff1a;移动端优化的TOC系统让文档浏览更高效 【免费下载链接】Perlite A web-based markdown viewer optimized for Obsidian 项目地址: https://gitcode.com/GitHub_Trending/pe/Perlite Perlite作为一款为Obsidian优化的网页版Markdown查看器&am…

作者头像 李华
网站建设 2026/7/5 19:17:30

SickGear未来roadmap:即将推出的5大令人期待的新功能

SickGear未来roadmap&#xff1a;即将推出的5大令人期待的新功能 【免费下载链接】SickGear SickGear has proven the most reliable stable TV fork of the great Sick-Beard to fully automate TV enjoyment with innovation. 项目地址: https://gitcode.com/gh_mirrors/si…

作者头像 李华