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.
npx skills add sefodo26/mempalace-server --skill mempalace-ingest-docsgit clone --depth 1 https://github.com/sefodo26/mempalace-serverWrote 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.
[](https://agentmods.dev/skills/sefodo26/mempalace-server/mempalace-ingest-docs)<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.
<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>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.
| Model | Per session | Once 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 |
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 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:
- MCP tools (
mempalace_*) — if the MemPalace MCP server is connected to this client. Preferred. - REST API (
/mp/api/v1) viacurl— ifENABLE_REST_API=trueon 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
-
Read the document. Load the file the user points to (or the text they paste).
-
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.
- Pick one wing = a slug for the whole document (e.g.
-
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 keysto the content. -
Avoid duplicates. For each chunk, call
mempalace_check_duplicate(or skip if re-ingesting on purpose). Skip chunks that already exist. -
File each chunk with
mempalace_add_drawer:wing= the document slugroom= the section slugcontent= the breadcrumb + chunk textsource_file= the original file pathadded_by=docs-ingest
-
Link related sections (optional). If two sections in different wings are related, create a
mempalace_create_tunnelbetween their rooms.
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.
- 8d ago First seen · 104 lines · 66 tokens per session scan A a25061d6becf
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.
Other skills, from other repositories
obsidian
Obsidian vault: search/read/write notes, backlinks, Bases, Canvas.
loopx-doc-registry
Use when a connected LoopX project is asked to read, remember, record, index, register, or use a durable project material such as a Lark/wiki/design doc, research note, SOP, owner packet, migration report, benchmark paper, or external material source. Use even when the user does not mention LoopX or doc registry.
mindos-zh
A local knowledge-base assistant for storing and finding decisions, meeting notes, procedures, troubleshooting lessons, and preferences across conversations and coding agents. It works only with the MindOS knowledge base.
excel-author
Create and edit Excel (.xlsx) workbooks with openpyxl. Supports formulas, charts, formatting, and data analysis.
ppt-author
Create and edit PowerPoint (.pptx) presentations programmatically. Requires python-pptx.
ocr-document
Extract text from PDFs, images, and scanned documents. Uses pymupdf (local) or optional cloud OCR APIs.