Migrate
できること
このスキルは、他のツールからエクスポートされたメモやルールを取り込み、各部分を適切な場所に振り分けて、その出所を記録します。何年分ものメモを、一つずつ手で仕分けせずに新しい仕組みに移したい人向けです。
使う場面
- ✓Obsidian、Notion、Apple メモのエクスポートから、メモを取り込みたいとき。
- ✓古い CLAUDE.md や Cursor のルールファイルを移したいとき。
- ✓日記やメモのファイルの大量の山を整理したいとき。
スキルのリンク
https://github.com/danielmiessler/LifeOS/blob/main/LifeOS/install/skills/Migrate/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“古い Obsidian のメモを私の仕組みに取り込んで、各セクションを適切な場所に仕分けてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
スキルは、塊ごとに移動先を信頼度とともに提案します。信頼度の高い塊は自動で承認され、中程度と低いものはあなたの確認を待ちます。確定した各部分には、元のファイルとセクションが記録されます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)を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
よくある質問
確認なしに何かを変更しますか?
信頼度の高い塊だけが自動で承認されます。中程度と低いものは、あなたの確認を待ちます。
どこから来た部分か、どうやってわかりますか?
確定したすべての部分には、元のファイル、セクション、時刻を示すメモが付きます。
一つのファイルの小さな編集にも使えますか?
いいえ。大量の取り込みのために作られているため、小さな単一ファイルの編集は直接行う方がよいです。
詳細
作者による元の説明
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
人気
- GitHubのスター
- 20k
- ランキング
- #10438
- ライセンス
- MIT
- 更新日
- 2026/10/28
コメント
- …
このリポジトリの他のスキル
LifeOS
20kインタビューとダッシュボードを通じて、現在の状態を理想の状態へ結びつける個人システム LifeOS を、エージェントが設定するのを支援します。
AnnualReports
20k主要ベンダーのサイバーセキュリティの年次レポートを探して比較し、侵害やランサムウェアの傾向などをまとめます。すべての数字に出典を付けます。
ApertureOscillation
20k一つの設計上の問いを、狭い範囲と広い範囲の両方でテストし、構築する前に二つの答えが食い違う箇所を指摘するよう、エージェントに教えます。
Aphorisms
20k新聞の編集テーマに合う、出典の確かな引用を、キュレーションされたコレクションから見つけ、照合し、最近使ったものを避けて管理するよう、エージェントを支援します。