Migrate
Skill này làm gì
Lấy các ghi chú hoặc quy tắc được xuất từ công cụ khác, xếp mỗi phần vào đúng chỗ và ghi lại nguồn của nó. Skill dành cho người chuyển nhiều năm ghi chú sang hệ thống mới mà không phải phân loại bằng tay.
Khi nào nên dùng
- ✓Khi bạn muốn đưa ghi chú từ bản xuất của Obsidian, Notion hoặc Apple Notes vào.
- ✓Khi bạn có một file CLAUDE.md hoặc quy tắc Cursor cũ cần chuyển sang.
- ✓Khi bạn có một đống file nhật ký hoặc ghi chú lớn cần sắp xếp.
Liên kết skill
https://github.com/danielmiessler/LifeOS/blob/main/LifeOS/install/skills/Migrate/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Nhập các ghi chú Obsidian cũ của tôi vào hệ thống và xếp từng phần vào đúng chỗ.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill đề xuất nơi đến cho từng đoạn kèm điểm tin cậy. Các đoạn có độ tin cậy cao được tự động duyệt, còn đoạn trung bình và thấp chờ bạn xác nhận. Mỗi phần được lưu ghi lại file nguồn, mục và thời điểm.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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
Câu hỏi thường gặp
Nó có thay đổi gì mà không hỏi không?
Chỉ các đoạn có độ tin cậy cao được tự động duyệt. Các đoạn trung bình và thấp chờ bạn xác nhận.
Làm sao tôi biết một phần đến từ đâu?
Mọi phần đã lưu đều có ghi chú nêu file nguồn, mục và thời gian.
Nó có dùng để sửa một file đơn lẻ không?
Không. Nó được xây cho việc nhập hàng loạt, nên sửa nhỏ một file thì nên làm trực tiếp.
Chi tiết
Mô tả gốc của tác giả
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
Độ phổ biến
- Sao GitHub
- 20k
- Vị trí xếp hạng
- #10438
- Giấy phép
- MIT
- Cập nhật
- 28/10/2026
Bình luận
- …
Thêm skill từ kho mã này
LifeOS
20kGiúp agent của bạn thiết lập LifeOS, một hệ thống cá nhân ánh xạ trạng thái hiện tại tới trạng thái lý tưởng qua một cuộc phỏng vấn và một bảng điều khiển.
AnnualReports
20kGiúp agent của bạn tìm và so sánh báo cáo an ninh mạng thường niên từ các nhà cung cấp lớn, như xu hướng vi phạm và ransomware, có nguồn cho mọi số liệu.
ApertureOscillation
20kDạy agent của bạn kiểm tra một câu hỏi thiết kế ở phạm vi hẹp và phạm vi rộng, rồi chỉ ra chỗ hai câu trả lời mâu thuẫn trước khi bạn xây dựng.
Aphorisms
20kCho phép agent của bạn tìm, ghép và theo dõi các câu trích dẫn có ghi tác giả từ một bộ sưu tập được chọn lọc, tránh những câu vừa được dùng trong bản tin.
Skill tương tự
knowledge-automation
394kGiúp agent của bạn thiết lập tác vụ định kỳ đưa nội dung mới vào kho Knowledge theo lịch, rồi kiểm tra tác vụ có chạy không.
knowledge-source-ingest
394kGiúp agent của bạn cập nhật Knowledge vault với các mục mới từ kênh chat, nguồn tin hoặc hộp thư, mà không thêm lại những gì đã có.
benchmark
280kGiúp agent của bạn đo tốc độ và hiệu suất của code, hữu ích để đảm bảo mọi thứ nhanh và tìm ra những chỗ chậm.