memory-import

memory-import is a skill for Claude Code, Codex from Prismer-AI/PrismerCloud. It costs 111 tokens per session (625 once invoked), scanned A, original, MIT.

A workflow for importing an outside knowledge base, document set, or notes into workspace memory. It first stores searchable source documents, then turns them into organized topic pages with descriptions and sources.

In plain words
What is it for?
Use it to migrate documents or notes, create topic pages, and retain the original material as a reference layer.
Why use it?
It separates raw reference material from the shorter, usable knowledge distilled from it. This prevents a direct document dump from being mistaken for curated memory.

Skill for Claude CodeCodex

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

Good fit Use it to migrate documents or notes, create topic pages, and retain the original material as a reference layer.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/prismer-ai/prismercloud/memory-import
About the project

Prismer Cloud is an infrastructure layer for AI agents that provides shared learning, compressed context, persistent memory, collaboration, messaging, tasks, identity, and workspaces. It is for agents and the people building or using long-running agent systems that need information and outcomes to persist across sessions. The catalogue entries provide skills, hooks, agents, instructions, and a plugin for using Prismer Cloud.

Prismer-AI/PrismerCloud · 1,386 stars · on GitHub · prismer.cloud

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 Prismer-AI/PrismerCloud --skill memory-import
Clone the repo
git clone --depth 1 https://github.com/Prismer-AI/PrismerCloud

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 memory-import

README.md
[![agentmods](https://agentmods.dev/badge/skills/prismer-ai/prismercloud/memory-import/github.svg)](https://agentmods.dev/skills/prismer-ai/prismercloud/memory-import)
Your own site
<a href="https://agentmods.dev/skills/prismer-ai/prismercloud/memory-import"><img src="https://agentmods.dev/badge/skills/prismer-ai/prismercloud/memory-import/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 memory-import

Your own site · 80×15
<a href="https://agentmods.dev/skills/prismer-ai/prismercloud/memory-import"><img src="https://agentmods.dev/badge/skills/prismer-ai/prismercloud/memory-import.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 111 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 625 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00111 $0.00625
Opus 5.5 $0.00044 $0.00250
Sonnet 5.5 $0.00022 $0.00125
Haiku 4.5 $0.00011 $0.00063

Measured 17d ago against content hash 5eb79347bc47, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

memory-import 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 17d 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.

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.

sdk/cloud/catalog/skills/memory-import/SKILL.md · 52 lines

How it starts

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

Memory Import

Bulk-import external material into workspace memory through a session — the unit of quota, audit, and gate evaluation. Three layers, two of which are yours:

Layer 1 — land the documents (zero LLM, do this first)

cloud memory imports open --workspace <ws>          # → { id }
cloud memory imports write-documents <id> --workspace <ws> --documents '[{"name":"…","content":"…"}]'

Raw documents become searchable in seconds. No quality bar here — that is Layer 2's job.

Layer 2 — distill (YOUR LLM, your compute)

Read the landed documents, then author candidate pages and submit them:

  • One page per coherent topic, attached under the right hub (<hub>/<topic>.pkf, relative to the Memory root; do not prepend another memory/).
  • Every candidate MUST carry the memory frontmatter block — the pipeline rejects the whole batch otherwise: {"type":"note","title":"…","description":"…","memory":{"memoryRole":"knowledge|procedure|action_result","source":"<where this came from, in words a human can read>"}}.
  • Distill, don't dump: conclusions and procedures, not transcripts. The raw documents stay in Layer 1 as the reference layer.
cloud memory imports write-batch <id> --workspace <ws> --candidates '[{"pagePath":"…","contentDiff":"<full PKF body>"}]'

Layer 3 — commit (cloud-side gate, zero negotiation)

cloud memory imports commit <id> --workspace <ws>   # runs the evolution gate
cloud memory imports status <id> --workspace <ws>   # per-candidate verdicts

The gate REJECTS batches that lose retrieval coverage (a candidate replacing a page must not delete its keywords) or lack metadata. A rejected commit is final for the session: read the verdict, fix the candidates, open a NEW session, resubmit. Never re-submit an identical rejected batch — the Ledger rejects same-shape candidates for 30 days.

Routing: raw archive / small batch → L1 + owner review. Knowledge-base migration / high-quality distillation → L1 → L2 → L3 (semantic work on YOUR compute; the cloud only gates and records).

Read the full file on GitHub · 52 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. 17d ago First seen · 52 lines · 111 tokens per session scan A 5eb79347bc47

Subscribe to this mod's changes

memory-import is a skill published in the GitHub repository Prismer-AI/PrismerCloud (1,386 stars, last pushed 2d ago), licensed MIT. It adds 111 tokens to every session and 625 once invoked, about $0.0004 per session on Opus 5.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-09-29.