Migrate
What it does
Takes notes or rules exported from other tools, sorts each piece into the right place, and records its source. It is for people moving years of notes into a new system without sorting everything by hand.
When to use it
- ✓When you want to bring in notes from an Obsidian, Notion or Apple Notes export.
- ✓When you have an old CLAUDE.md or Cursor rules file to move over.
- ✓When you have a large pile of journal or note files to organize.
Skill link
https://github.com/danielmiessler/LifeOS/blob/main/LifeOS/install/skills/Migrate/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Import my old Obsidian notes into my system and sort each section into the right place.”
5 new skills a week. 1 minute to read.
How it works
The skill proposes a destination for each chunk with a confidence score. High-confidence chunks are approved automatically, while medium and low ones wait for you. Each committed piece records its source file and section.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Migrate — external-content intake and classification
Contents: Ideal State · Anti-criteria · Inputs · Tool contract · Output format · Gotchas · Examples · References · Data & Config
Migrate intakes external content, classifies each chunk against the LifeOS taxonomy, and commits it to the right destination with provenance. New LifeOS users usually arrive with years of notes (a CLAUDE.md, a markdown vault, journal dumps, rules from another tool) that map onto no LifeOS structure, and sorting hundreds of chunks by hand never gets done. Migrate proposes a destination for every chunk with a confidence score: high-confidence chunks auto-approve, medium ones ask for confirmation, low ones get a walk-through. Unlike /interview, which asks questions to fill gaps, /migrate already has the content and only classifies and routes it.
Ideal State
- Every committed chunk lands in a LifeOS destination that fits it and carries provenance: an HTML comment naming source file, section and timestamp.
- The principal sees the whole routing proposal (chunks per target, average confidence, UNCLEAR and under-40% counts) before anything is written, and picks how to approve it.
- Each chunk under 60% confidence is approved one at a time, each UNCLEAR chunk is routed by the principal's own call, and each chunk under 40% is walked through with them first (a conversational rule; the tool does not enforce the 40% line).
- Every AI collaboration rule reaches a constitutional surface (a CLAUDE.md operational rule, a hook, a
settings.jsonpermission, or the relevant skill's Gotchas), and every knowledge chunk becomes a new typed note with source metadata. - The run closes with what was committed per target, what is still UNCLEAR, and whether
/interviewshould fill what the migration left sparse.
Anti-criteria
Each of these is refused in code by LIFEOS/TOOLS/MigrateApprove.ts; the parenthesis names the mechanism. MigrateApprove.test.ts covers the threshold, UNCLEAR, protected-target and duplicate refusals.
- A chunk lands in PRINCIPAL_IDENTITY.md or under IDEAL_STATE/ without the principal's yes on that exact chunk. Identity is load-bearing, and IDEAL_STATE is fully private and curated, so each dimension is the principal's call. (Refused unless the single-item command carries
--confirm-protected <id>; every bulk command rejects that flag.) - A chunk under 60% confidence, or an UNCLEAR chunk, is committed by a bulk command. (
--approve-alltakes only chunks at or aboveBULK_MIN_CONFIDENCEand leaves the rest pending; UNCLEAR is refused until--modifyretargets it.) - A rule chunk is written to the harness
memory/feedback_*.mddirectory. Every feedback memo is a missed system patch (LIFEOS/RULES/SelfHealing.md§ Self-Healing Infrastructure, the "Override of harness auto-memory" paragraph), so rule chunks are walked through one by one to a constitutional surface. (Amemory/feedbacktarget is refused until--modifyretargets it.) - A chunk is committed to a target that already holds its text. (Text is compared lowercased with whitespace collapsed against the target file or knowledge dir; a match is reported and left pending, and
--reject <id>drops it.)
Inputs
MigrateScan classifies into a routing table; MigrateApprove commits per the user's chosen path.
Sources supported in V1
- Files:
.md,.markdown,.txt(single file or directory recursion) - Stdin: piped content or pasted directly
- Other LifeOS installs: point at their
USER/TELOS/orMEMORY/KNOWLEDGE/directories - Agent-harness rule files:
CLAUDE.md,.cursorrules, OpenAI Custom Instructions export - Exports: Obsidian vaults (markdown), Notion exports (markdown), Apple Notes exports (.txt), raw journal dumps
Collect the source path from the user; pasted content goes in through --stdin.
Tool contract
Run the scanner:
bun ~/.claude/LIFEOS/TOOLS/MigrateScan.ts --source <path>
# or
echo "$CONTENT" | bun ~/.claude/LIFEOS/TOOLS/MigrateScan.ts --stdin
# preview the routing without writing the approval queue
bun ~/.claude/LIFEOS/TOOLS/MigrateScan.ts --source <path> --dry-run
Scanner output includes total chunks found, the proposed routing table (how many chunks per target), average classification confidence, the count of UNCLEAR chunks, and the count of low-confidence (<40%) chunks.
Then approve along the path the user picks:
Fast path (they say "approve all trusted"):
bun ~/.claud
FAQ
Will it change anything without asking?
Only high-confidence chunks are approved automatically. Medium and low ones wait for your confirmation.
How do I know where a piece came from?
Every committed piece carries a note naming its source file, section and time.
Is it meant for editing a single file?
No. It is built for bulk intake, so small single-file edits are better done directly.
Details
Original description by the author
Intakes external content (notes, CLAUDE.md, Cursor rules, Obsidian/Notion/Apple Notes exports), classifies chunks against the LifeOS taxonomy, and commits with provenance after confidence-tiered approval. USE WHEN /migrate, migrate content, import from other LifeOS, bring in old notes, import Cursor rules, import CLAUDE.md, bulk import, Obsidian/Notion/Apple Notes import. NOT FOR single-file edits, conversational interviews, identity edits.
repo: danielmiessler/LifeOS
Popularity
- GitHub stars
- 20k
- Ranking position
- #10438
- License
- MIT
- Updated
- 10/28/2026
Comments
- …
More skills from this repository
LifeOS
20kHelps your agent set up LifeOS, a personal system that maps your current state to your ideal state through an interview and a dashboard.
AnnualReports
20kHelps your agent find and compare cybersecurity annual reports from major vendors, such as breach and ransomware trends, with a source for every figure.
ApertureOscillation
20kTeaches your agent to test one design question at a narrow scope and a wide scope, then name where the two answers clash before you build.
Aphorisms
20kLets your agent find, match, and track attributed quotes from a curated collection, avoiding ones recently used in your newsletter.
Similar skills
knowledge-automation
394kHelps your agent set up a recurring job that brings new content into your Knowledge vault on a schedule, then checks that the job runs.
knowledge-source-ingest
394kHelps your agent keep a Knowledge vault current with new items from chat channels, feeds, or mailboxes, without re-adding what it already has.
benchmark
280kHelps your agent measure code speed and performance. It's useful for ensuring things are fast and finding slowness issues.