网淘吧来吧,欢迎您!

Prompt Log技能使用说明

2026-03-29 新闻来源:网淘吧 围观:17
电脑广告
手机广告

提示日志

快速开始

在会话文件上运行捆绑脚本:

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
免责申明
部分文章来自各大搜索引擎,如有侵权,请与我联系删除。
打赏
文章底部电脑广告
手机广告位-内容正文底部

相关文章

您是本站第326306名访客 今日有221篇新文章/评论