← Back to Skills Marketplace
alinxus

usewhisper-autohook

by Alinxus · GitHub ↗ · v1.0.0
cross-platform ✓ Security Clean
696
Downloads
0
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install usewhisper-autohook
Description
Automatically fetches and injects Whisper memory context before responses and ingests conversation turns after, optimizing token usage for Telegram agents.
Usage Guidance
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).
Capability Analysis
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`.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install usewhisper-autohook
  3. After installation, invoke the skill by name or use /usewhisper-autohook
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug usewhisper-autohook
Version 1.0.0
License
All-time Installs 1
Active Installs 1
Total Versions 1
Frequently Asked Questions

What is usewhisper-autohook?

Automatically fetches and injects Whisper memory context before responses and ingests conversation turns after, optimizing token usage for Telegram agents. It is an AI Agent Skill for Claude Code / OpenClaw, with 696 downloads so far.

How do I install usewhisper-autohook?

Run "/install usewhisper-autohook" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is usewhisper-autohook free?

Yes, usewhisper-autohook is completely free (open-source). You can download, install and use it at no cost.

Which platforms does usewhisper-autohook support?

usewhisper-autohook is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created usewhisper-autohook?

It is built and maintained by Alinxus (@alinxus); the current version is v1.0.0.

💬 Comments