mempalace-read-docs

mempalace-read-docs is a skill for Claude Code, Codex from sefodo26/mempalace-server. It costs 58 tokens per session (731 once invoked), scanned A, original, MIT.

A read-only tool for retrieving documentation stored in MemPalace, a server for organizing and searching saved documents. It can search across documents, browse their structure, or export a complete document.

In plain words
What is it for?
Use it to find instructions, browse document groups, answer questions from the stored material, or reconstruct and export an entire document.
Why use it?
It lets you answer questions from stored documentation without manually opening and scanning every file.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to find instructions, browse document groups, answer questions from the stored material, or reconstruct and export an entire document.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sefodo26/mempalace-server/mempalace-read-docs
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.

Any agent
npx skills add sefodo26/mempalace-server --skill mempalace-read-docs
Clone the repo
git clone --depth 1 https://github.com/sefodo26/mempalace-server

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 mempalace-read-docs

README.md
[![agentmods](https://agentmods.dev/badge/skills/sefodo26/mempalace-server/mempalace-read-docs.svg)](https://agentmods.dev/skills/sefodo26/mempalace-server/mempalace-read-docs)
Your own site
<a href="https://agentmods.dev/skills/sefodo26/mempalace-server/mempalace-read-docs"><img src="https://agentmods.dev/badge/skills/sefodo26/mempalace-server/mempalace-read-docs.svg" alt="Measured on agentmods" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 731 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00058 $0.00731
Opus 5 $0.00029 $0.00365
Sonnet 5 $0.00012 $0.00146
Haiku 4.5 $0.00006 $0.00073

Measured 7d ago against content hash 841fc8c522e3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

mempalace-read-docs scanned grade A with 1 finding 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 7d ago.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

2. **REST API** (`/mp/api/v1`) via `curl` — when `ENABLE_REST_API=true`.
skills/mempalace-read-docs/SKILL.md · 71 lines

How it starts

The opening of the file, as written. The whole thing — 71 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Read documentation from MemPalace

This skill recalls documentation that was filed into MemPalace (see the mempalace-ingest-docs skill). It supports three jobs:

  1. Answer a question — semantic search across the docs.
  2. Browse — list what is stored (wings → rooms → drawers).
  3. Export — reassemble a whole document.

Access

You can reach the server two ways — use whichever is available:

  1. MCP tools (mempalace_*) — preferred when connected.
  2. REST API (/mp/api/v1) via curl — when ENABLE_REST_API=true.

A read-only API key is enough for everything in this skill.

Job 1 — Answer a question

  1. Run a semantic search with the user's question.
  2. Read the top results, then answer from them. Quote or cite the source_file / wing / room so the user can verify.
  3. If results are weak, broaden the query or raise the limit, and say so.
mempalace_search({ "query": "how do I rotate an API key?", "limit": 5 })

REST:

KEY="YOUR_READONLY_KEY"; BASE="http://localhost:8000/mp/api/v1"
curl -sS -X POST "$BASE/search" \
  -H "Authorization: Bearer $KEY" -H "Content-Type: application/json" \
  -d '{"query": "how do I rotate an API key?", "limit": 5}'

To stay inside one document, pass "wing": "acme-api-docs" in the search.

Job 2 — Browse

  • mempalace_list_wings → which documents exist.
  • mempalace_list_rooms({ "wing": "acme-api-docs" }) → its sections.
  • mempalace_list_drawers({ "wing": "...", "room": "..." }) → the chunks.
  • mempalace_get_drawer({ "drawer_id": "..." }) → one chunk in full.

REST equivalents: GET /wings, GET /rooms?wing=, GET /drawers?wing=&room=, GET /drawers/{id}.

Job 3 — Export a whole document

  1. list_rooms for the wing to get every section.
  2. For each room, list_drawers to get its chunks (use limit/offset to page through all of them — do not stop at the first page).
  3. Concatenate the drawer contents, grouped by room, in order. The breadcrumb line at the top of each drawer tells you where it belongs.
  4. Output clean Markdown.

Read the full file on GitHub · 71 lines

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. 7d ago First seen · 71 lines · 58 tokens per session scan A 841fc8c522e3

Subscribe to this mod's changes

mempalace-read-docs is a skill published in the GitHub repository sefodo26/mempalace-server (2 stars, last pushed 9d ago), licensed MIT. It adds 58 tokens to every session and 731 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.