Install
openclaw skills install @ssesweb/everything-search-ipcopenclaw skills install @ssesweb/everything-search-ipc通过 scripts/search_everything.py 查询正在运行的 Everything 后台索引。优先返回真实搜索结果,不使用递归遍历磁盘代替 Everything 查询。
--dll 或环境变量 EVERYTHING_SDK_DLL 可覆盖内置载荷;只使用与 Python 架构一致的可信文件。搜索文件和文件夹:
python scripts/search_everything.py "everything" --limit 100
仅搜索文件夹:
python scripts/search_everything.py "everything" --type folder --limit 100
仅搜索文件:
python scripts/search_everything.py "everything" --type file --limit 100
输出带类型信息的 JSON:
python scripts/search_everything.py "everything" --type folder --json
显式指定 SDK DLL:
python scripts/search_everything.py "everything" --dll "C:\path\Everything64.dll"
Codex 通常把活动会话日志写入当前用户目录下的 .codex\sessions\年\月\日\rollout-*.jsonl,归档会话可能位于 .codex\archived_sessions。先使用 Everything 按路径、日期、文件名或会话 ID 定位 JSONL,再读取候选文件查找具体对话内容。
按会话 ID 精确定位日志:
python scripts/search_everything.py "019f8805-4c12-7941-a107-aec371a7eebb ext:jsonl" --type file
列出指定日期下的会话日志:
python scripts/search_everything.py "path:\"<用户目录>\.codex\sessions\2026\07\22\" ext:jsonl" --type file
列出全部活动会话日志:
python scripts/search_everything.py "path:\"<用户目录>\.codex\sessions\" ext:jsonl" --type file --limit 1000
定位日志后,使用 rg -n -i "对话关键词" "完整的 rollout JSONL 路径" 搜索正文;需要结构化处理时,逐行解析 JSON,不要把整个 .jsonl 文件当作一个 JSON 数组。
优先关注 session_meta、turn_context、event_msg 和 response_item 记录。活动会话文件可能持续增长,因此报告文件大小和修改时间时注明这是当前快照。只提取用户要求的会话和字段,不整份输出日志;发现令牌、Cookie、密钥或其他敏感值时不得回显。
ext:xlsx 供应商、path:"D:\资料"。--type folder 自动添加 folder:;使用 --type file 自动添加 file:。Everything.exe 当作标准输出客户端;它负责维护索引和提供 IPC 服务,脚本通过 SDK DLL 获取结果。