PKM Knowledge Base Retrieval
Paste the following prompt into your AI chat to install this skill:
Please install @user_e3c9e60f/test123 according to https://skillhub.cn/install/skillhub.md.
About this skill
Problem
When the target information is stored in an avatar PKM, not the web or product docs, raw retrieval can mix relevant chunks with noisy PDF or image-preview fragments. This skill fixes the workflow: ask for the missing dataset_id, call the retrieval endpoint, and summarize the best result without assuming internal mappings or hardcoding secrets.
How It Works
- Config: Load
base_urlandapi_keyfromskills/pkm-retrieval/config.json; do not embed secrets in instructions. - Input check: Require
dataset_idand a retrievalquery; do not derive it fromavatar_idunless the user explicitly asks for the internal admin flow. - Call: Use
POST /v1/datasets/{dataset_id}/retrieve; UI Vector Search maps tosemantic_search. - Result handling: Prefer the highest-score chunk, ignore noisy PDF or image-preview fragments, and return a concise summary with source document names when helpful.
Boundaries
Best for customer-maintained PKM datasets. Not for general web or product questions, cases with only avatar_id, or tasks that belong in the Avatar chat workflow. If nothing relevant is found, say so clearly instead of guessing.
Use Cases
- Use a known dataset_id to search an avatar PKM and return a concise note summary.
- Retrieve uploaded files or reference material without dumping long raw fragments.
- Only avatar_id is available, so ask for the PKM dataset_id before calling search.
- Summarize the highest-score chunk and include source document names when useful.
Best For
- Support-system engineers querying avatar PKM with customer dataset IDs
- Backend engineers summarizing retrieval results and citing source documents
- Application developers handling missing dataset_id prompts before search
- Product tech leads separating PKM retrieval from avatar chat workflows
Related Skills
Reads conversation-trace files to generate an animal- or mythology-based soul mirror card and Johari Window insights.
A Deling knowledge-base research workflow that clarifies intent, runs broad and vertical searches, supplements with web sources, validates diversity, and traces key claims.
A SiYuan knowledge-base management skill for double-link parent indexes, MOCs, numbered documents, tags, repo sync, and WeChat import workflows.
A structured workflow for academic literature reviews, covering multi-database search, screening, thematic synthesis, citation validation, and PDF output.