knowledge-source-ingest
Skill này làm gì
Skill hướng dẫn một agent AI liên tục kéo các mục mới từ nguồn bên ngoài vào Knowledge vault, đồng thời theo dõi những gì đã được lưu. Dành cho người muốn kho của mình luôn có nội dung mới đều đặn.
Khi nào nên dùng
- ✓Khi bạn muốn tin nhắn hoặc bài đăng mới từ một kênh chat được thêm vào kho đều đặn.
- ✓Khi bạn chỉ muốn lấy những mục đã thay đổi kể từ lần chạy trước.
- ✓Khi một mục đã bị xóa khỏi nguồn và bạn muốn kho được cập nhật cho khớp.
Liên kết skill
https://github.com/openclaw/openclaw/blob/main/extensions/knowledge/skills/knowledge-source-ingest/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
“Cập nhật Knowledge vault của tôi với các bài đăng mới từ nguồn tin của nhóm, và bỏ qua những gì chúng ta đã lưu.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill xác định nguồn bằng một khóa ổn định và ghi lại phạm vi mỗi lần chạy. Ở các lần sau, nó so sánh danh sách mới với các bản chụp trước đó và chỉ thêm, cập nhật hoặc xóa những gì đã thay đổi.
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.
Source Ingest Skill
Use this for bounded collections such as chat channels, issue streams, feeds, or
mailboxes where later runs can overlap prior coverage. Read
shared conventions,
publication, and the
manifest protocol. After acquisition, route
documents and conversations through knowledge-ingest, which uses
knowledge-entities for entity enrichment. Route meetings through
knowledge-meeting-ingest. This skill owns source identity and coverage; the
ingestion workflows turn the retained content into useful connected knowledge.
For creating recurring ingestion jobs, use knowledge-automation first.
Contract
- Resolve a stable provider/source key before reading content. Display names are labels, never identity.
- Maintain one canonical
sourcepage withsource_role: canonical,provider, andsource_key. Reuse it on every run. - For each bounded observation, preserve the generated manifest as an attachment on a
sourcepage withsource_role: snapshot, exact coverage, observation time, manifest hash, count, completeness, watermark, and dependency on the canonical source page. - Manifests retain stable item IDs and content hashes, not source text. Preserve original/exported content separately as evidence where authorized.
- Query prior snapshot pages for the same provider/source key before planning. Download their manifests, verify attachment hashes, and pass all overlapping snapshots to the planner. Do not rely on conversation memory.
- Reuse unchanged source bytes and existing records. Continue previously omitted enrichment from those retained sources when requested; an unchanged manifest does not mean entity enrichment already happened. Ingest added items. Reconcile changed items against existing pages/claims. Treat deletion as observed source state, not permission to erase Knowledge; correct or withdraw only when the evidence warrants it.
- A complete snapshot can establish absence inside its exact coverage. Partial or unknown snapshots cannot; unresolved missing IDs remain unresolved.
Procedure
- Inspect
knowledge_statusandknowledge_ontologyfor the intended vault scope and thesourcefields, then search Knowledge for the canonical source and prior snapshots by provider/source key. If an owner-private ingestion unexpectedly resolves to a conversation scope or an empty vault after a restart, stop before writing and restore the intended authorized scope; never infer that prior coverage is absent from the wrong scope. - Acquire a bounded export with an approved reader. For Discrawl, run
scripts/discrawl-normalize.mjswith its configured read-only archive, exact channel ID when known, and[since,before)RFC3339 bounds. The normalized payload includes stable author IDs plus archive-observed display fields. Preserve the raw JSONL, and create a separate line-stable readable transcript when human review or line citations are needed. - Generate a deterministic manifest with
scripts/source-manifest.mjs snapshot. Attach it before publishing the snapshot page; record the returned SHA-256. - Download all overlapping prior manifests and run
scripts/source-manifest.mjs plan. Inspect covered/uncovered intervals and the added/changed/deleted/unchanged/unresolved lists. - Test 3–5 substantive items or discussions, then ingest through
knowledge-ingest(orknowledge-meeting-ingestfor meetings). For chat, group related messages with their reply context; useknowledge-entitiesto enrich relevant people, companies, projects and concepts from their contributions. Carry supported developments into State, dated claims and source notes, not only a channel digest. Use stable external IDs in source citations and the retained snapshot as a dependency. Reuse its originals rather than uploading one copy per discussion. - Publish or update derived records, then publish the snapshot page. A snapshot is
completeonly when acquisition and manifest creation covered the declared interval; derived extraction may still be partial and must be reported as such. - Read back the canonical page, snapshot page, attachment, derived records, and source-dependent connections. Verify hashes and exact coverage.
Discrawl example
node scripts/discrawl-normalize.mjs --config /approved/discrawl.yaml \
--channel 1234567890 --since 2026-09-21T00:00:00-07:00 \
--before 2026-09-28T00:00:00-07:00 --output me
Câu hỏi thường gặp
Làm sao nó tránh thêm trùng lặp?
Nó theo dõi mã mục ổn định và mã băm nội dung của mỗi lần chạy, nên có thể nhận ra mục nào mới hoặc đã thay đổi.
Manifest có giữ toàn bộ nội dung của mọi mục không?
Không. Manifest chỉ giữ mã và mã băm, còn nội dung gốc được lưu riêng ở nơi được phép.
Tên hiển thị có dùng để nhận diện nguồn không?
Không. Tên hiển thị chỉ là nhãn, nên skill dùng một khóa nhà cung cấp ổn định.
Chi tiết
Mô tả gốc của tác giả
Incrementally ingest enumerable external sources into Knowledge with canonical source identity, retained snapshot manifests, overlap-aware diffing, and reconciliation of changed or deleted items. Includes a generic manifest tool and a read-only Discrawl adapter.
repo: openclaw/openclaw
Độ phổ biến
- Sao GitHub
- 394k
- Vị trí xếp hạng
- #33
- Giấy phép
- MIT
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
discord-user-post
394kCho phép agent của bạn đăng tin nhắn đã duyệt lên Discord dưới tên bạn qua app Discord trên máy tính, sau khi xác nhận đúng kênh.
discrawl
394kCho phép agent của bạn tìm kiếm và tóm tắt kho lưu trữ tin nhắn Discord trên máy, kiểm tra độ mới của dữ liệu và đọc tin nhắn trực tiếp.
gitcrawl
394kCho phép agent của bạn tìm trong kho lưu trữ issue và pull request GitHub, gom các mục trùng lặp và kiểm tra trạng thái hiện tại trên GitHub.
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.
Skill tương tự
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.
content-hash-cache-pattern
280kGiúp agent của bạn lưu kết quả xử lý file vào bộ nhớ đệm bằng content hash, tránh làm lại việc đã làm và tự xóa cache khi nội dung thay đổi.
parallel-execution-optimizer
280kGiúp agent của bạn tăng tốc các tác vụ phức tạp bằng cách chia nhỏ và chạy song song. Đảm bảo mọi thứ được kiểm tra ở cuối.