بنقرة واحدة
knowledgebase-file-ingestion
Ingest user-provided files into the shared agents knowledgebase and verify retrieval.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Ingest user-provided files into the shared agents knowledgebase and verify retrieval.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Create and configure role-scoped GitHub Apps for VibeTeam, map credentials to agents placeholders, and validate installation permissions/identity.
Run VibeTeam GitHub/Slack handoff validation with unit tests, Slack evals, GitHub webhook evals, and permission checks. Use when validating multi-agent GitHub communication (issues, discussions, PR comments) or when asked to prove changes via tests/evals and record status.
Create and configure VibeTeam Slack apps (one ingress app plus role-scoped responder apps), wire role tokens/secrets, and validate routing/identity behavior.
Final completion gate for VibeTeam tasks. Use at the end of implementation to verify diff quality, real testing, GitHub/Slack multi-agent communication evidence, and PR health before declaring done.
Search shared knowledgebase content using docs_tools (BM25 + fallback keyword scoring) before answering from memory.
Shared workflow for knowledgebase retrieval using docs_tools and injected OpenClaw context.
| name | knowledgebase-file-ingestion |
| description | Ingest user-provided files into the shared agents knowledgebase and verify retrieval. |
/app/agents/shared/knowledgebaseagents/shared/knowledgebaserunbooks/, product/, ops/, evals/).agent_service/shared/docs_tools.py..txt, .json, .yaml), keep original file and create a markdown companion (<filename>.md) so KB search can retrieve it.agents/shared/knowledgebase/inbox/.agents/shared/knowledgebase (or /app/agents/shared/knowledgebase in runtime)...) or absolute paths outside KB root.mkdir -p "$(dirname "$DEST_PATH")"
TMP_PATH="${DEST_PATH}.tmp.$$"
cat > "$TMP_PATH" <<'EOF'
<FILE_CONTENTS>
EOF
mv "$TMP_PATH" "$DEST_PATH"
COMPANION_MD="${DEST_PATH}.md"
cat > "$COMPANION_MD" <<'EOF'
# Knowledgebase Entry: <ORIGINAL_FILENAME>
Source file: `<ORIGINAL_FILENAME>`
---BEGIN SOURCE---
<FILE_CONTENTS>
---END SOURCE---
EOF
test -s "$DEST_PATH"
sha256sum "$DEST_PATH"
wc -l "$DEST_PATH"
sed -n '1,120p' "$DEST_PATH"
search_docs:uv run python - <<'PY'
from agent_service.shared.docs_tools import rebuild_index, search_docs
print(rebuild_index())
print(search_docs("unique phrase from file", max_results=3))
PY
get_doc_content:uv run python - <<'PY'
from agent_service.shared.docs_tools import get_doc_content
print(get_doc_content("agents/shared/knowledgebase/<path>/<file>.md"))
PY
search_docs output (title/path/line snippet).search_docs retrieval proof line is included.