WPS Personal Knowledge Base
Paste the following prompt into your AI chat to install this skill:
Please install @user_009be1b6/wps-knowledgebase according to https://skillhub.cn/install/skillhub.md.
About this skill
Problem Addressed
When an agent operates on a WPS personal knowledge base, the hard part is not calling a single API, but coordinating workspace discovery, file-node operations, authentication, link construction, and irreversible actions such as deletion. WPS KnowledgeBase makes kwiki MCP tools the primary execution surface, so the agent does not bypass MCP with curl, Python, or hand-written JSON-RPC calls.
How It Works
The skill covers knowledge base and file-node management: create, query, update, and close knowledge bases; list child nodes; upload local files; import cloud documents; create, move, rename, and delete files; get download links; and convert Markdown into smart documents. Before executing user requests, the agent should perform version self-checks. Token acquisition is script-driven and stored only in mcporter configuration, not in .env or other unsafe locations. url values returned by MCP are often relative paths, and full links should use https://www.kdocs.cn. After write operations, results should be verified with independent read calls. Deletion requires user confirmation, and moving files should preserve the original location for rollback.
Boundaries And Notes
The skill only supports the documented operations. If a request is not listed, the agent should say it is unsupported instead of searching the codebase for substitute endpoints. Calls must keep kuid, file_id, and link_id separate and avoid mixing IDs. When passing parameters through mcporter call, use --args for JSON instead of --json. Tokens must not be displayed in plaintext or written to unsafe locations.
Use Cases
- When organizing project docs, upload local Markdown files to a WPS knowledge base and convert them into online smart documents.
- When migrating legacy docs, import cloud documents into a personal knowledge base, create folders, and move files into target directories.
- When cleaning expired docs, list knowledge base files, rename items for archiving, delete one file, and verify with a list call.
- When maintaining metadata, query knowledge bases and details, update name, description, visibility, and confirm by reading config.
Best For
- Product engineers maintaining personal knowledge need to store technical notes in a WPS knowledge base and manage file nodes.
- Developers building agent workflows need to call WPS knowledge base APIs safely through MCP.
- Operations staff organizing document assets need to upload files, import cloud docs, and build clear directory structures.
- Knowledge base maintainers need to query, move, delete files, and update knowledge base settings.
Related Skills
Provides Bazi, Liu Yao, Qimen, Meihua, and date-selection guidance from classical references, with plain-language explanations and actionable suggestions.
A fast CLI for summarizing URLs, local files, and YouTube links with multi-model support, length control, and JSON output.
Automatically classifies ideas and saves them as tagged, structured Markdown notes in a desktop inspiration library.
Manages Baidu NetDisk files under /apps/bdpan/, including uploads, downloads, sharing, search, and limited agent memory backup/restore.