knowledge-source-ingest
できること
このスキルは、外部ソースから新しい項目を繰り返し取り込み、すでに取り込んだものを追跡しながらナレッジボールトに追加する手順を、AIエージェントに示します。ボールトに新しい資料を安定して流し込みたい人のためのものです。
使う場面
- ✓チャットチャンネルの新しいメッセージや投稿を、定期的にボールトへ追加したいとき。
- ✓前回の実行以降に変わった項目だけを取り込みたいとき。
- ✓ソースから項目が削除され、ボールトもそれに合わせて更新したいとき。
スキルのリンク
https://github.com/openclaw/openclaw/blob/main/extensions/knowledge/skills/knowledge-source-ingest/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“チームのフィードの新しい投稿でナレッジボールトを更新し、すでに保存したものは飛ばしてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
このスキルは、安定したプロバイダーキーでソースを特定し、各実行が対象とした範囲を記録します。後の実行では、新しい一覧を以前のスナップショットと比べ、変わったものだけを追加、更新、または削除します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
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
よくある質問
重複をどのように防ぎますか?
実行ごとに安定した項目IDとコンテンツのハッシュを追跡するため、新規か変更かを区別できます。
マニフェストには全項目の本文が入っていますか?
いいえ。マニフェストにはIDとハッシュを保存し、元のコンテンツは許可されている場合に別途保存されます。
表示名でソースを識別しますか?
いいえ。表示名はラベルにすぎないため、代わりに安定したプロバイダーキーを使います。
詳細
作者による元の説明
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
人気
- GitHubのスター
- 394k
- ランキング
- #33
- ライセンス
- MIT
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
discord-user-post
394kエージェントが、承認済みのお知らせをDiscordのデスクトップアプリからあなたとして投稿できるよう支援します。投稿前に正確なチャンネルを確認します。
discrawl
394k保存済みのローカルなDiscordメッセージのアーカイブを検索して要約し、その新しさを確認し、ダイレクトメッセージを読めるようエージェントを支援します。
gitcrawl
394k保存されたGitHubのイシューとプルリクエストのアーカイブを検索し、重複をまとめ、GitHub上の現在の状態を確認するようエージェントを支援します。
graincrawl
394k保存されたGranolaのミーティングメモとトランスクリプトを検索し、その新しさを確認して、一定期間の件数を数えるようエージェントを支援します。
似ているスキル
benchmark
280kエージェントがコードの速度とパフォーマンスを測定できるようにします。処理が速いことを確認し、遅い箇所を見つけるのに役立ちます。
content-hash-cache-pattern
280kエージェントがコンテンツハッシュを使って、ファイル処理の結果をキャッシュできるようにします。同じ作業の繰り返しを避け、内容が変わるとキャッシュを自動的に消去します。
parallel-execution-optimizer
280kエージェントが複雑なタスクを小さな部分に分け、並列で実行することで作業を高速化できるようにします。最後にすべての内容が検証されることを保証します。