Project Knowledge Graph
Paste the following prompt into your AI chat to install this skill:
Install @user_fa4109f3/summary-v2 according to https://skillhub.cn/install/skillhub.md.
About this skill
Problem
When agents work with knowledge bases, the hard part is often not whether an API exists, but which API should be called, how to locate the target base, how to write files, web pages, notes, or URLs safely, and how to present internal identifiers as user-facing names. This skill targets knowledge base workflows built on openapi/wiki/v1 and maps user intent to concrete APIs and parameter constraints.
How it works
- Write workflows: For file uploads, run prechecks and
check_repeated_namesbeforecreate_media, COS upload, validation, andadd_knowledge. Batch uploads can check up to 2000 file names at once. - Content sources: Add web or WeChat articles via
import_urls, add notes withadd_knowledgeandmedia_type=11, or ingest URLs. If a URL points to a file-type resource such as PDF/Word/PPT, handle it through the file upload flow. - Discovery and browsing: If the user knows a name but not an ID, use
search_knowledge_base; if no target base is specified, useget_addable_knowledge_base_listand let the user choose. Browse withget_knowledge_listand search withsearch_knowledge. - Source documents: Use
get_media_infoto retrieve original-content metadata. For export or download, appendresponse-content-typeandresponse-content-dispositionso the browser downloads the file with the intended name.
Boundaries and notes
This skill is useful when natural-language tasks need to be grounded in specific knowledge base APIs, especially for uploading, searching, browsing, locating folders, and exporting source documents. Read operations are not subject to the upload safety gate, but write operations must follow repeated-name checks, COS upload, and validation. User-facing output should hide knowledge_base_id, media_id, and folder_id, and batch results should summarize successes and failures instead of exposing every internal step.
Use Cases
- When organizing product docs, upload local PDFs and Word files to a target folder and check for duplicate names.
- During competitive research, batch-add web links to a knowledge base, then search documents and folders by keyword.
- When preparing reports, locate files in a knowledge base, fetch source URLs, and append parameters for named downloads.
- When answering customer queries, find the named knowledge base, browse its content, and summarize citable materials.
Best For
- Engineers integrating knowledge bases: need to write files, web pages, and notes to the correct target base.
- Agent workflow developers: need to map user intent to concrete APIs such as `search_knowledge_base`.
- Documentation operators: need to batch-upload local documents and check for duplicate file names first.
- Researchers: need to search knowledge base content, locate specific files, and download source documents.
Related Skills
Search Huawei Cloud official docs and product pages to find ECS, OBS, RDS, CCE product specs, parameters, documentation, and API references without login.
OCR-based recognition for movie, train, flight, and event tickets in images or PDFs, extracting key fields into Markdown or JSON reports.
Turns notes, research, and meeting summaries into actionable next moves, plans, decisions, experiments, and decision-changing gaps.
A local wiki knowledge base manager that compiles raw documents into sourced, indexed Markdown pages with wikilinks, query support, and health checks.