← 返回 Skills 市场
696
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install usewhisper-autohook
功能描述
Automatically fetches and injects Whisper memory context before responses and ingests conversation turns after, optimizing token usage for Telegram agents.
安全使用建议
This skill appears to do what it says: it queries a Whisper Context service before responses and ingests turns afterwards, and it can run a local proxy to reduce token usage. Before installing or running it, consider: 1) Privacy: the script will transmit full user messages and assistant replies to the external Whisper Context API (and may auto-create the project); do not use for sensitive or regulated data unless you trust the provider and understand their retention policy. 2) Local files: it stores small state (context_hash) under your user home directory to enable delta compression — inspect the script to find the exact path if you need to manage it. 3) Proxy usage: if you run the proxy you must supply your upstream OPENAI/ANTHROPIC API key; run the proxy only on a local/private host and ensure the port is not publicly accessible. 4) Review the source: the author recommends reviewing the script before use; if you are not comfortable, don't provide API keys or run the proxy. If you want a deeper check, provide the full untruncated usewhisper-autohook.mjs for line-by-line review (I reviewed the provided excerpts).
功能分析
Type: OpenClaw Skill
Name: usewhisper-autohook
Version: 1.0.0
The OpenClaw skill 'usewhisper-autohook' is designed for memory management by integrating with the Whisper Context API. It makes outbound HTTPS requests to `context.usewhisper.dev` and user-configured upstream LLM APIs (OpenAI/Anthropic), using API keys provided via environment variables. It persists a `context_hash` locally in `~/.openclaw/.cache/usewhisper-autohook/state.json` for delta compression, which is a benign caching mechanism. The proxy modes (`serve_openai_proxy`, `serve_anthropic_proxy`) start local HTTP servers to intercept and modify LLM API calls, injecting memory context. All observed behaviors, including network calls, local file writes, and environment variable access, are directly aligned with the stated purpose of providing automatic memory for AI agents. There is no evidence of intentional malicious activity such as unauthorized data exfiltration, arbitrary code execution, persistence mechanisms beyond caching, or deceptive prompt injection attempts in `SKILL.md`.
能力评估
Purpose & Capability
The skill's name and SKILL.md describe automatic pre-query context retrieval and post-response ingestion for a Whisper Context service; the code implements those exact actions, plus an optional local proxy to reduce tokens. Required env vars (WHISPER_CONTEXT_API_KEY, WHISPER_CONTEXT_PROJECT, optional WHISPER_CONTEXT_API_URL) match the described external service. No unrelated credentials or binaries are requested.
Instruction Scope
Instructions ask the agent to call get_whisper_context before responding and ingest_whisper_turn after responses (and provide a system-prompt snippet to enforce this). This is consistent with the skill's goal but is prescriptive ('Always do this. Never skip.') — functionally normal for a memory helper, but it means the agent will routinely send user messages and assistant replies to an external service (privacy/PD concerns). The SKILL.md documents required headers and proxy usage; it does not instruct reading arbitrary local files or unrelated env vars.
Install Mechanism
This is an instruction-only skill with an included Node script; there is no install spec that downloads arbitrary code. The repository ships a single .mjs file which is run via node; no external install URLs or archive extracts are used.
Credentials
Declared env vars (WHISPER_CONTEXT_API_KEY, WHISPER_CONTEXT_PROJECT, optional WHISPER_CONTEXT_API_URL) are proportionate to the purpose. The script optionally uses OPENAI_API_KEY or ANTHROPIC_API_KEY when run as a proxy; SKILL.md documents this. Users should be aware that running the proxy requires providing an upstream API key (the script will use it to call the upstream provider) and that the Whisper Context API key will be used to send full user/assistant content to the external service.
Persistence & Privilege
The skill persists a per-user/session context_hash to the local filesystem (in the user's home directory) to enable delta compression — this is consistent with its stated behavior but creates local files. The skill does not request always:true and does not modify other skills or system-wide agent settings. If you run the HTTP proxy, it will accept requests and forward them to an upstream provider using your upstream API key — run it only on trusted/private networks and protect that key.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install usewhisper-autohook - 安装完成后,直接呼叫该 Skill 的名称或使用
/usewhisper-autohook触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of usewhisper-autohook.
- Provides automatic memory management for OpenClaw agents through pre-response context injection and post-response ingestion.
- Includes easy CLI tools for retrieving and ingesting memory via `get_whisper_context` and `ingest_whisper_turn`.
- Supports automatic context compression, caching, and project creation with stable user/session ID handling (Telegram-focused).
- Adds built-in OpenAI and Anthropic-compatible proxy servers to minimize prompt token usage for agents that replay full chat history.
- Requires only Node.js and minimal environment variables; no other npm dependencies needed.
元数据
常见问题
usewhisper-autohook 是什么?
Automatically fetches and injects Whisper memory context before responses and ingests conversation turns after, optimizing token usage for Telegram agents. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 696 次。
如何安装 usewhisper-autohook?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install usewhisper-autohook」即可一键安装,无需额外配置。
usewhisper-autohook 是免费的吗?
是的,usewhisper-autohook 完全免费(开源免费),可自由下载、安装和使用。
usewhisper-autohook 支持哪些平台?
usewhisper-autohook 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 usewhisper-autohook?
由 Alinxus(@alinxus)开发并维护,当前版本 v1.0.0。
推荐 Skills