← 返回 Skills 市场
billc8128

Scribe

作者 chenchen · GitHub ↗ · v1.0.1
cross-platform ⚠ suspicious
377
总下载
1
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install openclaw-scribe
功能描述
Autonomous session scribe — reads today's OpenClaw session logs, extracts decisions, preferences, framework sentences, and project updates, then writes a str...
安全使用建议
What to check before installing: - Review the two included Python scripts (scripts/scribe.py and scripts/setup-cron.py) yourself — they are the code that will run. - If you enable automation, setup-cron will use your OpenClaw gateway token to register a nightly job that runs the scribe script; only run setup-cron if you trust the repository and the gateway token's scope. - The scribe script sends extracted conversation text to https://openrouter.ai (OpenRouter) using an API key read from env or ~/.openclaw/openclaw.json. If you have privacy concerns, run scribe.py manually first and/or set SCRIBE_MODEL/OPENROUTER_API_KEY to a provider you trust or leave it unset to avoid network calls. - Run the script manually (python3 scripts/scribe.py) on a small sample day to verify outputs and ensure it only reads the intended session directory and writes to a dedicated memory folder. - If you do not want automatic scheduling, skip setup-cron and instead use a system cron or manual runs that you control. - Backup or inspect memory/ and MEMORY.md after first runs to confirm no sensitive tokens or unexpected content are being written.
功能分析
Type: OpenClaw Skill Name: openclaw-scribe Version: 1.0.1 The skill is classified as suspicious due to the use of prompt injection in `scripts/setup-cron.py` to instruct the OpenClaw agent to execute a local script. While this is for the skill's intended self-orchestration and not overtly malicious, it leverages a direct prompt injection vector (`payload.message`) which represents a significant vulnerability if the prompt were to be manipulated. Additionally, `scripts/scribe.py` uses `subprocess.run` with `curl` for external API calls, which, while seemingly handled safely in this instance, is a less robust and potentially risky method compared to dedicated HTTP libraries, contributing to the 'suspicious' classification as a risky capability.
能力评估
Purpose & Capability
Name/description match what the files do: scripts scan ~/.openclaw/agents/main/sessions, filter user messages, call an LLM (OpenRouter) and write structured memory files to the workspace. The optional env vars and gateway interactions are coherent with the advertised cron registration and LLM usage.
Instruction Scope
SKILL.md and README instruct only to copy the skill, run setup-cron (optional) or run scribe.py manually. Runtime instructions reference session JSONL files, the OpenClaw config for API keys, and writing memory files — all within the stated scope. There are no instructions to read unrelated system paths or exfiltrate data to unexpected endpoints.
Install Mechanism
No install spec or external downloads; the skill is instruction-only with included Python scripts. No archives or remote code pulls—low install risk.
Credentials
The scripts read an OpenRouter API key and (for cron setup) an OpenClaw gateway token from ~/.openclaw/openclaw.json or environment variables. These credentials are appropriate for the tasks (calling OpenRouter and registering a cron job) but are sensitive: the skill will send conversation text to openrouter.ai and will use the gateway token to register jobs. The number and type of credentials requested are proportional, but users should be aware these are required for full automation.
Persistence & Privilege
The skill is not 'always' enabled. The optional setup-cron registers a nightly job via the OpenClaw gateway API which grants automated periodic runs—this matches the skill's purpose. Granting the gateway token to this script enables it to create/modify cron jobs; ensure you trust the code before running setup-cron.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install openclaw-scribe
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /openclaw-scribe 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
Fix setup-cron.py: read token from gateway.auth.token, Python 3.9 compat
v1.0.0
Initial release — autonomous session memory extractor for OpenClaw
元数据
Slug openclaw-scribe
版本 1.0.1
许可证
累计安装 0
当前安装数 0
历史版本数 2
常见问题

Scribe 是什么?

Autonomous session scribe — reads today's OpenClaw session logs, extracts decisions, preferences, framework sentences, and project updates, then writes a str... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 377 次。

如何安装 Scribe?

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

Scribe 是免费的吗?

是的,Scribe 完全免费(开源免费),可自由下载、安装和使用。

Scribe 支持哪些平台?

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

谁开发了 Scribe?

由 chenchen(@billc8128)开发并维护,当前版本 v1.0.1。

💬 留言讨论