vellum-memory-v3-migration

Migrates a memory-v2 concept corpus into the section-grain memory-v3 wiki format.

1.2k|166|Updated Feb 7, 2026
One-click install
npx skills add https://github.com/vellum-ai/vellum-assistant --skill vellum-memory-v3-migration
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: vellum-memory-v3-migration
Source: https://github.com/vellum-ai/vellum-assistant/tree/main/skills/vellum-memory-v3-migration
Command: npx skills add https://github.com/vellum-ai/vellum-assistant --skill vellum-memory-v3-migration

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Reorganizing an existing memory-v2 corpus of flat bullet pages into the memory-v3 section-grain wiki format risks silent information loss and retrieval regressions, and doing it live can corrupt an assistant's only copy of its knowledge.

Core Features & Use Cases

  • Loss-proof staging: Snapshots the live corpus, freezes consolidation triggers, and authors all rewrites into a separate staging tree with per-article provenance so nothing is edited live until a verified cutover.
  • Assistant-reviewed authoring: Designs a topical hub taxonomy, fans out cluster-grain authoring through the workflow engine, repairs cross-links, and runs a mandatory mechanical plus semantic loss audit before approval.
  • Retrieval eval gate: Mines real conversation turns, runs blind A/B judging of v2 versus staged retrieval, and blocks cutover unless the eval-tally gate passes.
  • Use Case: When a Vellum assistant's memory/concepts/ directory still holds v2-style flat pages with summary frontmatter, run this migration to reshape them into lead-plus-section articles, prove nothing was lost, and flip memory.v3.live only after the eval gate passes.

Quick Start

Ask the assistant to migrate the memory wiki to the v3 section-grain format and confirm the staging, audit, and eval-gate plan before it begins.

Frequently Asked Questions about vellum-memory-v3-migration

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I migrate a memory-v2 corpus to the memory-v3 wiki format?▼

Run the migration skill, which snapshots memory/concepts/, freezes consolidation triggers, authors v3 articles into a staging tree, audits for lost content, and cuts over only after a retrieval eval gate passes. The live corpus is never edited until the final step.

What is the difference between memory v2 and memory v3 retrieval?▼

Memory v3 retrieves at section grain: each article's lead acts as a retrieval card and individual ## sections are independently matchable. Flat v2 pages with bullets and summary frontmatter collapse into one bloated card under v3, which is why reshaping is required.

When should I not run the memory v3 migration?▼

Skip it when the corpus is already in v3 article shape and memory.v3.live is true, or when memory/concepts/ is empty or near-empty. In the empty case, run the vellum-memory-v2-migration skill first since there is nothing to reorganize.

How does the migration prevent losing memory content?▼

It works on a read-only snapshot, writes only to a staging tree, and records provenance mapping every staged article to its source pages. A mechanical quote-screen plus a semantic reader panel audit then verify no load-bearing fact was dropped before cutover.

What happens if the retrieval eval gate fails?▼

Cutover is blocked. The failing turns identify clusters that under-retrieve, typically due to thin leads, over-merged articles, or missing links; you repair the staged articles, re-run the eval on the same pinned turn set, and re-judge until the gate passes.

Can I roll back after cutting over to memory v3?▼

Yes. The cutover step creates a timestamped backup of memory/concepts/ before deploying. Restore it with rsync, set memory.v3.live back to false, and the restored consolidation triggers resume v2-shape operation on the restored corpus.