Prompt Log技能使用说明
2026-03-29
新闻来源:网淘吧
围观:19
电脑广告
手机广告
提示日志
快速开始
在会话文件上运行捆绑脚本:
scripts/extract.sh <session-file>
输入
- 会话文件:一个
.jsonl来自Clawdbot、Claude Code或Codex的会话日志。 - 可选过滤器:
--after和--beforeISO时间戳。 - 可选输出:
--outputMarkdown转录本的路径。
输出
- 写入Markdown转录本。默认输出到
.prompt-log/YYYY-MM-DD-HHMMSS.md在当前项目中。
示例
scripts/extract.sh ~/.codex/sessions/2026/01/12/abcdef.jsonl
scripts/extract.sh ~/.claude/projects/my-proj/xyz.jsonl --after "2026-01-12T10:00:00" --before "2026-01-12T12:00:00"
scripts/extract.sh ~/.clawdbot/agents/main/sessions/123.jsonl --output my-transcript.md
依赖项
- 需要
jq在PATH中。 - 使用
gdate如果在macOS上可用;否则回退到date。
文章底部电脑广告
手机广告位-内容正文底部
上一篇:Developer技能使用说明
下一篇:Aliyun TTS技能使用说明


微信扫一扫,打赏作者吧~