session-investigator
仓库创建 2025年1月19日最近提交 12 小时前SkillHot 收录 20 天前
▸ 精选理由
定位会话元数据与消息流的故障点,便于排查。
这个 Skill 做什么
分析 fast-agent 会话与历史文件以诊断异常和工具循环问题。
分析 fast-agent 的 session 与历史文件来排查会话异常、工具循环或子代理痕迹,把时间线、工具调用和消息关联起来还原问题。会话意外结束、调试无限调用或需追踪子会话时就用。熟悉 .fast-agent/sessions 目录结构、session.json 和 history 文件格式,能定位常见故障模式并给出排查方向。
▸ 展开 SKILL.md 英文原文
Investigate fast-agent session and history files to diagnose issues. Use when a session ended unexpectedly, when debugging tool loops, when correlating sub-agent traces with main sessions, or when analyzing conversation flow and timing. Covers session.json metadata, history JSON format, message structure, tool call/result correlation, and common failure patterns.
3.9k
Stars
422
Forks
2
仓库内 Skill
+20
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/evalstate/fast-agent/main/examples/hf-toad-cards/skills/session-investigator/SKILL.md或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/evalstate/fast-agent/main/examples/hf-toad-cards/skills/session-investigator/SKILL.md"SKILL.MD 节选查看完整文件 ↗
# Session Investigator
Diagnose fast-agent session issues by examining session and history files.
## Session Directory Structure
Sessions are stored in `.fast-agent/sessions/<session-id>/`:
```
2601181023-Kob2h3/
├── session.json # Session metadata
├── history_<agent>.json # Current agent history
└── history_<agent>_previous.json # Previous save (rotation backup)
```
Session IDs encode creation time: `YYMMDDHHMM-<random>` (e.g., `2601181023` = 2026-01-18 10:23).
## Key Files
### session.json
```json
{
"name": "2601181023-Kob2h3",
"created_at": "2026-01-18T10:23:24.116526",
"last_activity": "2026-01-18T10:39:42.873467",
"history_files": ["history_dev_previouvia SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有