Install
openclaw skills install @ssesweb/everything-search-ipcopenclaw skills install @ssesweb/everything-search-ipc通过 scripts/search_everything.py 查询正在运行的 Everything 后台索引。默认先使用 SDK IPC;当 SSH、Windows 服务或计划任务与 Everything 搜索客户端不在同一 Windows Session,且 SDK 返回 IPC 错误码 2 时,自动回退到本机 HTTP JSON。优先返回真实搜索结果,不使用递归遍历磁盘代替 Everything 查询。
--dll 或环境变量 EVERYTHING_SDK_DLL 可覆盖内置载荷;只使用与 Python 架构一致的可信文件。--transport auto。SDK IPC 错误码 2 时,从 EVERYTHING_HTTP_URL、--http-url 或 Everything.ini 的 http_server_port 发现本机 HTTP 服务并重试。127.0.0.1、localhost 或 ::1,避免把本机索引查询意外发送到外部主机。搜索文件和文件夹:
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"
SSH 或 Windows 服务中直接使用 HTTP:
python scripts/search_everything.py "everything" --transport http --limit 100
显式指定本机 HTTP 地址:
python scripts/search_everything.py "everything" --transport http --http-url "http://127.0.0.1:22080/"
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 或 HTTP 查询服务。127.0.0.1,并关闭不需要的文件下载能力。不要把无认证的 Everything HTTP 服务暴露到局域网或公网。auto 模式下会自动尝试本机 HTTP。http://127.0.0.1:<端口>/ 访问。