openclaw-memory-docs

openclaw-memory-docs is a skill for Claude Code, Codex from davidtoby/agent-skills. It costs 27 tokens per session (497 once invoked), scanned A, original, MIT.

A local documentation memory plugin for OpenClaw, an AI gateway platform. It lets users explicitly save notes in a searchable JSONL file and can redact common secrets such as tokens and private keys.

In plain words
What is it for?
Saving documentation-grade notes with `/remember-doc` and finding them later with a search tool using local semantic-style matching.
Why use it?
It prevents important project notes from being lost while keeping storage local and under explicit user control. Redaction reduces the chance of saving common secret formats accidentally.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/davidtoby/agent-skills/openclaw-memory-docs
Any agent
npx skills add davidtoby/agent-skills --skill openclaw-memory-docs
Clone the repo
git clone --depth 1 https://github.com/davidtoby/agent-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for openclaw-memory-docs

README.md
[![agentmods](https://agentmods.dev/badge/skills/davidtoby/agent-skills/openclaw-memory-docs.svg)](https://agentmods.dev/skills/davidtoby/agent-skills/openclaw-memory-docs)
Your own site
<a href="https://agentmods.dev/skills/davidtoby/agent-skills/openclaw-memory-docs"><img src="https://agentmods.dev/badge/skills/davidtoby/agent-skills/openclaw-memory-docs.svg" alt="Measured on agentmods" height="20"></a>
Per session 27 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 497 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00027 $0.00497
Opus 5 $0.00014 $0.00249
Sonnet 5 $0.00005 $0.00099
Haiku 4.5 $0.00003 $0.00050

Measured 4d ago against content hash d6b67847b95e, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

openclaw-memory-docs scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (index.ts), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/.archive/umbrella-curation-2026-04-29/openclaw-imports/openclaw-memory-docs/SKILL.md · 86 lines

What it actually says

openclaw-memory-docs

This is an OpenClaw Gateway plugin (not an agent skill) that provides a conservative, audit-friendly memory store.

It is designed for project documentation and long-lived notes where you care about:

  • explicit control over what gets stored
  • no accidental storage of secrets
  • deterministic, local-first behavior

What it does

  • Adds a control command: /remember-doc <text>
  • Adds a search tool: docs_memory_search({ query, limit })
  • Stores entries in a local JSONL file (one record per line)
  • Uses a deterministic local embedder to enable semantic-ish search without external services
  • Optional redaction for common secret formats (API keys, tokens, private key blocks)

Install

ClawHub

clawhub install openclaw-memory-docs

Dev

openclaw plugins install -l ~/.openclaw/workspace/openclaw-memory-docs
openclaw gateway restart

Usage (Convention)

Save

Use /remember-doc for anything that is documentation-grade and should be stable.

Example:

/remember-doc Dubai: decide A vs B, then collect facts, then prepare a tax advisor briefing.

The plugin will store the note and reply with a confirmation. If it detects secrets, it will redact them and still store the redacted version.

Search

Call the tool:

{ "query": "Dubai plan A vs B", "limit": 5 }

The tool returns a list of hits with scores and text snippets.

Configuration

{
  "plugins": {
    "entries": {
      "openclaw-memory-docs": {
        "enabled": true,
        "config": {
          "storePath": "~/.openclaw/workspace/memory/docs-memory.jsonl",
          "dims": 256,
          "redactSecrets": true,
          "defaultTags": ["docs"]
        }
      }
    }
  }
}

Notes

  • This plugin intentionally does not auto-capture messages.
  • If you want automatic capture, use openclaw-memory-brain.
Files

What ships with it

7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 86 lines · 27 tokens per session scan A d6b67847b95e

Subscribe to this mod's changes

openclaw-memory-docs is a skill published in the GitHub repository davidtoby/agent-skills (10 stars, last pushed 1mo ago), licensed MIT. It adds 27 tokens to every session and 497 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

zeroclaw

Help users operate and interact with their ZeroClaw agent instance — through both the CLI (zeroclaw commands) and the REST/WebSocket gateway API. Use this skill whenever the user wants to: send messages to ZeroClaw, manage memory or cron jobs, check system status, configure channels or providers, hit the gateway API…

zeroclaw-labs/zeroclaw · 167 tokens

product-help

Use this skill when the user asks about my own features, configuration, or usage — installation, skills, Web UI, CLI, API config, memory, sessions, encryption, white-label, publishing, pricing, troubleshooting, or restarting the server. Do NOT trigger for general coding tasks unrelated to me.

clacky-ai/openclacky · 63 tokens

recall-memory

Recall relevant long-term memories on demand. Given a topic or question, judges relevance from pre-loaded metadata, loads only relevant files, and returns a concise summary to the main agent.

clacky-ai/openclacky · 40 tokens

morph-ppt

Use this skill when the user wants a .pptx with smooth cross-slide animation — PowerPoint Morph transitions, Keynote-style continuous motion, shapes that grow / move / rotate as the slide advances. Trigger on: 'morph', 'morph transition', 'smooth transition', 'continuous animation across slides', 'Keynote-style…

iOfficeAI/OfficeCLI · 169 tokens

officecli-academic-paper

Use this skill to build academic-style .docx output: journal / conference / thesis chapters carrying formal citation style (APA, Chicago, IEEE, MLA), numbered equations, figure & table cross-references, footnotes/endnotes, bibliography, or multi-column journal layout. Trigger on: 'research paper', 'journal paper'…

iOfficeAI/OfficeCLI · 141 tokens

officecli-pptx

Use this skill any time a .pptx file is involved -- as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx file; editing, modifying, or updating existing presentations; combining or splitting slide files; working with…

iOfficeAI/OfficeCLI · 106 tokens