mempalace-ingest-docs

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

A document-import tool that breaks Markdown, README files, specifications, and handbooks into organized sections in a MemPalace server. MemPalace is a system for storing information so it can later be found by meaning.

In plain words
What is it for?
Use it to load documentation into MemPalace for later recall. It supports importing a file or pasted text when a MemPalace server and write access are available.
Why use it?
It removes the manual work of dividing long documents into searchable pieces and filing them under a clear structure.

Skill for Claude CodeCodex

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

Good fit Use it to load documentation into MemPalace for later recall. It supports importing a file or pasted text when a MemPalace server and write access are available.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/sefodo26/mempalace-server/mempalace-ingest-docs/github.svg)](https://agentmods.dev/skills/sefodo26/mempalace-server/mempalace-ingest-docs)
Your own site
<a href="https://agentmods.dev/skills/sefodo26/mempalace-server/mempalace-ingest-docs"><img src="https://agentmods.dev/badge/skills/sefodo26/mempalace-server/mempalace-ingest-docs/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for mempalace-ingest-docs

Your own site · 80×15
<a href="https://agentmods.dev/skills/sefodo26/mempalace-server/mempalace-ingest-docs"><img src="https://agentmods.dev/badge/skills/sefodo26/mempalace-server/mempalace-ingest-docs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,030 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.00066 $0.01030
Opus 5 $0.00033 $0.00515
Sonnet 5 $0.00013 $0.00206
Haiku 4.5 $0.00007 $0.00103

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

Security

Grade A, and why

mempalace-ingest-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 8d 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` — if `ENABLE_REST_API=true` on the
skills/mempalace-ingest-docs/SKILL.md · 104 lines

How it starts

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

Ingest documentation into MemPalace

This skill loads a long document into a MemPalace server so it can be recalled later by meaning. A document is broken into small pieces and filed using the palace structure:

  • Wing — the whole document or product (e.g. acme-api-docs)
  • Room — a top-level section (e.g. authentication, getting-started)
  • Drawer — one chunk of content (a subsection or a few paragraphs)

Before you start

You need a running MemPalace server and a write API key. You can reach it two ways — use whichever is available:

  1. MCP tools (mempalace_*) — if the MemPalace MCP server is connected to this client. Preferred.
  2. REST API (/mp/api/v1) via curl — if ENABLE_REST_API=true on the server. Use the same write key.

If neither the wing/room are given, ask the user for the document and a short wing name (a slug for the doc/product).

Steps

  1. Read the document. Load the file the user points to (or the text they paste).

  2. Plan the taxonomy.

    • Pick one wing = a slug for the whole document (e.g. acme-api-docs).
    • Use each top-level heading (# / ##) as a room (slug it, e.g. "Getting Started" → getting-started).
    • Keep the original heading path at the top of each chunk so it stays readable on its own.
  3. Chunk the content. Split each section into drawers of roughly 200–400 words. Never split in the middle of a code block or table. Each drawer must make sense on its own — prepend a one-line breadcrumb such as # Acme API > Authentication > API keys to the content.

  4. Avoid duplicates. For each chunk, call mempalace_check_duplicate (or skip if re-ingesting on purpose). Skip chunks that already exist.

  5. File each chunk with mempalace_add_drawer:

    • wing = the document slug
    • room = the section slug
    • content = the breadcrumb + chunk text
    • source_file = the original file path
    • added_by = docs-ingest
  6. Link related sections (optional). If two sections in different wings are related, create a mempalace_create_tunnel between their rooms.

Read the full file on GitHub · 104 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. 8d ago First seen · 104 lines · 66 tokens per session scan A a25061d6becf

Subscribe to this mod's changes

mempalace-ingest-docs is a skill published in the GitHub repository sefodo26/mempalace-server (2 stars, last pushed 11d ago), licensed MIT. It adds 66 tokens to every session and 1,030 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.