ccbox
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chineseccbox
ccbox
Inspect local agent session logs via CLI and produce quick, evidence-based insights.
ccbox通过 CLI检查本地Agent会话日志,快速生成基于证据的洞察报告。
ccboxQuick start
快速开始
- List discovered projects:
bash
ccbox projects- List sessions for the current folder (auto-detect project):
bash
ccbox sessions
ccbox sessions --limit 50 --offset 0 --size- Inspect the latest session for the current folder:
bash
ccbox history
ccbox history --full
ccbox history --limit 200 --offset 0 --full --size- Inspect a specific project or log file:
bash
ccbox sessions "/abs/path/to/project"
ccbox history "/abs/path/to/project" --full
ccbox history "/abs/path/to/session.jsonl" --full- 列出已发现的项目:
bash
ccbox projects- 列出当前文件夹的会话(自动检测项目):
bash
ccbox sessions
ccbox sessions --limit 50 --offset 0 --size- 检查当前文件夹的最新会话:
bash
ccbox history
ccbox history --full
ccbox history --limit 200 --offset 0 --full --size- 检查特定项目或日志文件:
bash
ccbox sessions "/abs/path/to/project"
ccbox history "/abs/path/to/project" --full
ccbox history "/abs/path/to/session.jsonl" --fullWorkflow (recommended)
推荐工作流程
- Confirm is available (
ccbox).ccbox --help - Gather facts first (do not guess):
- Use to select the latest session for the current folder, or
ccbox sessionsfor an explicit project.ccbox sessions "/abs/project/path" - Copy the from the first line.
log_path - Run to capture evidence (tool calls, tool outputs, errors).
ccbox history "/abs/log.jsonl" --full
- Use
- Produce an insights report:
- What the user wanted (first USER prompt).
- What the agent did (sequence of tool calls + key outputs).
- What changed (files/commands visible in tool outputs).
- What failed or is risky (warnings, truncated timelines, panics/errors in outputs).
- Next steps (concrete verification commands and follow-ups).
- 确认可用(执行
ccbox)。ccbox --help - 先收集事实(不要猜测):
- 使用选择当前文件夹的最新会话,或使用
ccbox sessions指定明确的项目。ccbox sessions "/abs/project/path" - 复制第一行的。
log_path - 运行来获取证据(工具调用、工具输出、错误信息)。
ccbox history "/abs/log.jsonl" --full
- 使用
- 生成洞察报告:
- 用户需求(第一条USER提示)。
- Agent执行的操作(工具调用序列 + 关键输出)。
- 发生的变更(工具输出中可见的文件/命令)。
- 失败或有风险的内容(警告、截断的时间线、输出中的崩溃/错误)。
- 后续步骤(具体的验证命令和跟进事项)。
References
参考资料
- CLI commands + output formats:
references/cli.md - Insights checklist + report template:
references/insights.md
- CLI命令 + 输出格式:
references/cli.md - 洞察检查清单 + 报告模板:
references/insights.md