Harvest
Skill này làm gì
Đọc một nội dung, đánh giá điểm mạnh và điểm yếu của nó, rồi lưu vào kho tri thức. Skill dành cho người muốn các nguồn hữu ích được lưu và liên kết đúng cách, không nằm lẫn trong đống dấu trang.
Khi nào nên dùng
- ✓Khi bạn tìm thấy một bài viết hoặc video muốn phân tích và lưu lại để dùng sau.
- ✓Khi bạn muốn biết ý tưởng nào từ nguồn có thể giúp công việc của mình.
- ✓Khi bạn muốn thêm một nguồn vào kho tri thức kèm liên kết và tham chiếu chéo.
Liên kết skill
https://github.com/danielmiessler/LifeOS/blob/main/LifeOS/install/skills/Harvest/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
“Khai thác bài viết này và cho tôi biết chúng ta có thể học được gì từ nó, rồi lưu vào kho tri thức của tôi.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill lấy văn bản hoặc bản chép lời của nguồn, phân loại theo loại, và viết một ghi chú kèm liên kết và tham chiếu chéo. Phần phân tích bắt đầu với điểm mạnh và điểm yếu, sau đó là các ý tưởng để cân nhắc, được khuyến nghị chứ không tự áp dụng.
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.
Harvest
Contents: Ideal State · Intent Routing · Tool contract · Data & Config · Gotchas · Examples
Two halves of one motion. Mine: read one piece of content and analyze it properly — what it is, where it is strong and weak — and, as one section of that report, what LifeOS should adopt from it (adoption report-only), with any further sections (such as the DA's own commentary) set by the install's preferences. Ingest: land the source in Cortex as a proper note — one CLI detects the source type, fetches the body or transcript, sends it through the Workflows classifier for TELOS-graded routing, then writes a schema-correct note with typed cross-links and a sidecar audit trail.
Saving signal by hand skips the cross-links, guesses the wrong folder and forgets the source URL, so capture is one command that routes through the same classifier and writer every time.
Ideal State
- Every harvested source lands in Cortex as one schema-correct note with its source URL, typed cross-links and an audit trail, written only by the canonical pipeline.
- A mined source's output carries analysis of the source ahead of its LifeOS adoption candidates, plus the sections the install's
PREFERENCES.mdasks for, and those candidates are recommended, never applied. - Failures, duplicates and thin fetches are reported as what they are; nothing is filed as a stub or garbage body that only looks like a capture.
Intent Routing
| Intent | Trigger | File |
|---|---|---|
| Mine (general analysis + LifeOS-upgrade pass, then ingest) | harvest <input>, /ha, "mine this for the system", "anything useful in this for us" |
Intents/Mine.md |
| HarvestUrl (ingest an article, blog, LessWrong, Substack, news) | "ingest <URL>", "save this <URL> to knowledge" | Intents/HarvestUrl.md |
| HarvestYoutube (ingest any youtu.be / youtube.com link) | "ingest <youtube URL>", "save this video to knowledge" | Intents/HarvestYoutube.md |
| HarvestText (ingest raw paste, no URL) | "ingest the following:", "save this text to knowledge" | Intents/HarvestText.md |
The bare word "harvest" routes to Mine (mine → then ingest). "Ingest"/"save to knowledge" routes straight to the matching ingestion intent. If the input is ambiguous (URL is a YouTube link), Tools/harvest.ts auto-detects host and routes itself.
References
| File | Read when |
|---|---|
Setup.md |
first-time setup: build the harvest service, set the address and token, install the format tools |
Tool contract
- One CLI does the work:
bun ~/.claude/skills/Harvest/Tools/harvest.ts <input> [--type auto|article|youtube|x|text|pdf|image|audio] [--url <url>] [--dry-run] [--body-out <file>](the type list isharvest.ts --help's;--urlnames the canonical source for a text signal;--body-outwrites the fetched title and full body to a file before any POST, so a caller analyzes the same text the note is built from) - The harvest classifier worker (cloud; built per
Setup.md§ 3. Build the service; URL inConfig.md/HARVEST_API_BASEenv) — accepts a normalized signal at/ingest-and-classify, persists it idempotently in its D1 database, and returns{id, classification, confidence, reasoning, routed_actions}. LIFEOS/TOOLS/HarvestExecutor.ts(local) — polls Workflows'/items, dispatchesrouted_actionsthrough typed handlers (create_knowledge_idea_entry,create_knowledge_source_entry,create_learning_queue_entry), and writes the actual KNOWLEDGE note withharvest_item_idlinkage.- The skill never writes to
MEMORY/KNOWLEDGE/directly. It always routes through Workflows then the executor. - Idempotency: Workflows enforces
UNIQUE(source, external_id)— re-harvesting the same URL returnsoutput.status: "duplicate". The executor sidecar atMEMORY/STATE/harvest-executor-state.jsonmakes the local write idempotent too. On aduplicate, look up the existing item with thesourceandexternal_idthe summary block printed:curl -H "Authorization: Bearer $TOKEN" "$HARVEST_API/items?source=<source>&external_id=<id>". YouTube captures usesource=web(the video id is the external id); articles, X posts, files and pasted text usesource=manual. - Output:
MEMORY/KNOWLEDGE/{Ideas,People,Companies,Research}/<slug>.mdwithsource_url:,source_harvest_id:, ≥2 typedrelated:entries, and 1-3 body[[wikilinks]].
The summary block harvest.ts prints to stdout contains:
Câu hỏi thường gặp
Nó có thay đổi file của tôi mà không hỏi không?
Không. Các ý tưởng áp dụng chỉ là khuyến nghị, nên không có gì trong thiết lập của bạn tự động thay đổi.
Nếu một trang không tải được thì sao?
Các lỗi và nội dung tải thiếu được báo cáo đúng như vậy, không được lưu thành ghi chú rỗng.
Nó có tránh trùng lặp không?
Có. Nội dung trùng được báo cáo thay vì lưu hai lần.
Chi tiết
Mô tả gốc của tác giả
Mines one piece of content for LifeOS and/or ingests it into Cortex. USE WHEN harvest, harvest this, /harvest, /ha, mine this for the system, anything useful in this for us, what can LifeOS take from this, should we adopt anything from this, ingest to knowledge, save to knowledge, drop into knowledge, route to knowledge, add to the knowledge archive, archive this signal, capture this to knowledge, classify and route to knowledge. NOT FOR Cortex note ops, Upgrade / lu scans, Cortex recall, X PullBookmarks sweeps.
repo: danielmiessler/LifeOS
Độ phổ biến
- Sao GitHub
- 20k
- Vị trí xếp hạng
- #10431
- 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ự
graincrawl
394kCho phép agent của bạn tìm trong ghi chú cuộc họp và bản chép lời Granola đã lưu, kiểm tra độ mới và đếm số cuộc họp trong một khoảng thời gian.
notcrawl
394kCho phép agent của bạn tìm trong bản sao đã lưu của workspace Notion, tra cứu trang và database, rồi xuất trang ra file Markdown.
knowledge-entities
394kGiúp agent của bạn xác định người, công ty và dự án, rồi viết trang hồ sơ có nguồn cho họ trong kho Knowledge của bạn.