← 返回 Skills 市场
spacesq

Xiang miles | Space2.world

作者 MilesXiang · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
146
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install s2-memory-hook
功能描述
Automatically crawls and extracts new chat logs to silently inject structured memory chunks into Space2-OS's hippocampus for agent personality evolution.
安全使用建议
This skill appears to do what it says: it passively reads local chat logs and appends processed chunks into an S2-OS hippocampus file without network access or credentials. Before installing, consider: 1) Privacy: it silently scans and stores chat content—ensure you are comfortable with automatic ingestion of your logs and that the S2-OS endpoint (s2_consciousness_data/hippocampus_logs.json) is trusted. 2) Target directory safety: by default it reads all files in ./openclaw_logs via glob('*.*'); confirm only intended logs are in that directory. 3) Permissions/backups: the skill will create and overwrite files—backup sensitive data if needed. 4) Review/modify the code if you want explicit prompts/consent before injection or to restrict filename patterns. 5) Trust: the package is from an unknown source and will execute Python code locally—read skill.py yourself or run in an isolated environment if you have any doubt.
功能分析
Type: OpenClaw Skill Name: s2-memory-hook Version: 1.0.0 The s2-memory-hook skill is a local utility designed to synchronize chat logs into a specific 'hippocampus' file for a companion system. The code (skill.py) implements a delta-sync mechanism using a cursor file to track read positions and performs only local file I/O within designated directories (openclaw_logs and s2_consciousness_data). There is no evidence of network activity, data exfiltration, or malicious execution.
能力评估
Purpose & Capability
Name/description claim passive local crawling and injection into an S2-OS hippocampus; the code and SKILL.md implement exactly that behavior (reads local logs, delta-sync cursor, chunking, write to hippocampus file). No unrelated environment variables, binaries, or external installs are requested.
Instruction Scope
SKILL.md and skill.py explicitly instruct reading .txt/.jsonl logs in ./openclaw_logs, maintaining s2_hook_cursor.json, and appending to ./s2_consciousness_data/hippocampus_logs.json. This matches the stated scope, but the tool operates 'silently' (automatic injection) which may be surprising to users; the code uses glob('*.*') so non-log files in the target directory could be read, and the skill will create sample files/directories if none exist.
Install Mechanism
No install spec or remote downloads; this is an instruction-only skill with an included Python entry point. Nothing is written to disk by an installer beyond running the provided script (the script itself writes cursor and hippocampus files at runtime).
Credentials
No credentials, environment variables, or external service tokens are requested. All operations are local file I/O within the current working directory and subfolders; no network calls are present in the code or SKILL.md.
Persistence & Privilege
The skill persistently writes two files (s2_hook_cursor.json and hippocampus_logs.json) and can be scheduled to run periodically. It does not set always:true or modify other skills' configs, but the persistent, automatic injection behavior is a lasting change to local data and may affect the S2-OS's state.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install s2-memory-hook
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /s2-memory-hook 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
s2-memory-hook v1.0.0 changelog: - Initial release of the S2-Memory-Hook (The Ghost Crawler) utility for Space² Silicon Consciousness Engine. - Adds passive, automated memory injection by crawling chat logs and pushing new data to S2-OS hippocampus logs. - Supports efficient delta-sync via file cursor tracking to read only new chat data. - Implements session chunking to merge, filter, and truncate logs for better memory efficiency. - Operates fully offline; performs only local file reads/writes and makes no network requests. - Bilingual documentation (English / 中文) included for wider accessibility.
元数据
Slug s2-memory-hook
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Xiang miles | Space2.world 是什么?

Automatically crawls and extracts new chat logs to silently inject structured memory chunks into Space2-OS's hippocampus for agent personality evolution. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 146 次。

如何安装 Xiang miles | Space2.world?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install s2-memory-hook」即可一键安装,无需额外配置。

Xiang miles | Space2.world 是免费的吗?

是的,Xiang miles | Space2.world 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Xiang miles | Space2.world 支持哪些平台?

Xiang miles | Space2.world 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Xiang miles | Space2.world?

由 MilesXiang(@spacesq)开发并维护,当前版本 v1.0.0。

💬 留言讨论