memory-ingest
БесплатноБез исполняемых скриптовНе проверенIngest a source into any consumer's semantic memory by reading the topology contract
от jmagly★ 233 звезды на GitHubОб этом скилле
memory-ingest
This remains the canonical semantic synthesis workflow. Dataset Intelligence can register its source and evidence, but raw dataset ingestion does not replace summary, entity, contradiction, topology, or cross-reference behavior. See the dataset migration guide.
Ingest an external source into a consumer framework's semantic memory. Reads the consumer's memory.topology contract to know where pages live, then extracts, summarizes, integrates, and cross-references — all topology-agnostic.
Session catalog sources
For normalized session events or catalog candidates, first use
aiwg show skill session-harvest --body. Session knowledge uses the catalog's exact
candidate-version review and sessions promote gateway, retaining the
source-event → candidate → destination receipt. Do not flatten session output
into an external-source file to bypass that review path. General semantic
synthesis may consume an authorized promoted page while retaining its lineage;
ordinary external documents continue through the workflow below.
When to Use
When new knowledge (a document, paper, URL, config file, or directory of files) needs to enter a consumer's semantic memory. This is the primary write path for external information.
Parameters
source (required)
Path to the source material. Supports: markdown (.md), PDF (.pdf), HTML (.html), YAML (.yaml/.yml), JSON (.json), a directory of files, or a URL.
--consumer (optional)
Consumer ID to ingest into. Resolved via ADR-021 D4 precedence:
- Explicit —
--consumer research-complete - Wrapper — set by a calling skill or orchestrator
- Auto-detect — cwd detection or active framework in
.aiwg/frameworks/registry.json
--dry-run (optional)
Preview what would be created/modified without writing any files. Outputs the planned page list, cross-references, and contradiction flags.
--non-interactive (optional)
Skip the discussion step and proceed directly to extraction and page writing. Use for batch ingestion or CI pipelines.
Operation
1. Resolve consumer
Determine which consumer's memory to target using ADR-021 D4 precedence. Fail with a clear error if no consumer can be resolved.
2. Load schema
Read memory.topology from the consumer's manifest.json. Extract:
rootDir— base path for all memory pagesderivedPages.summary— where summary pages are writtenpageTemplate— structure the summary must conform tocrossRefStyle— how cross-references are formatted (e.g., wiki-links, markdown links)indexPath— location of the consumer's memory indexlog— path to.log.jsonlingestRequires— optional list of required post-ingest actions (e.g.,"provenance")
3. Read source
Parse the source material based on type:
- Markdown/HTML — extract text, headings, and structure
- PDF — extract text content (use page ranges for large documents)
- YAML/JSON — parse structured data, identify key entities
- Directory — recursively read all supported files, treating each as a sub-source
- URL — fetch content, then parse based on content type
4. Discuss (interactive default)
Default behavior (no --non-interactive flag):
- Present a concise summary of the source to the user
- Highlight key takeaways, entities, and concepts found
- Ask the user what to emphasize, de-prioritize, or reframe
- Incorporate user guidance into the extraction strategy
This discussion-first pattern ensures the memory reflects human judgment, not just mechanical extraction.
5. Extract and summarize
Use LLM to produce a structured summary conforming to the consumer's pageTemplate. The summary captures:
- Key claims and findings
- Named entities (people, systems, concepts)
- Relationships between entities
- Source metadata (title, author, date, URI)
6. Integrate
- Write summary page to
derivedPages.summarypath - Update entity/concept pages — for each entity or concept mentioned, update or create the relevant page under the consumer's entity directory, adding the new information with source attribution
- Insert cross-references — link the summary page to entity pages and vice versa, using the consumer's
crossRefStyle
7. Contradiction detection
Compare new claims against existing pages. When a contradiction is found:
- Flag inline on the affected existing page using a callout:
> [!contradiction] > Source "paper.pdf" (2026-04-14) claims X, but this page states Y. > Ingested via memory-ingest — awaiting human resolution. - Log the contradiction in
.log.jsonlwith"contradictions"count and details - Do not auto-resolve — surface contradictions for human judgment
8. Update index
Regenerate the entry for the new summary page in the consumer's index at indexPath. Include title, source reference, date, and cross-ref targets.
9. Append log
Установить memory-ingest в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл memory-ingest?
Ingest a source into any consumer's semantic memory by reading the topology contract
Как установить скилл memory-ingest?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл memory-ingest запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic