daily-capture
Capture fleeting ideas in Yuque and periodically organize them into structured thematic notes. Use when the user wants to jot…
Search personal Yuque knowledge bases with natural-language queries and synthesize answers with source links. Use when the user wants to find information in their own documents; trigger phrases include “搜一下我的文档”, “我的知识库里有没有...”, “搜索我的语雀/知识库”, and “search my Yuque”.
$ npx -y skills add yuque/yuque-ecosystem --skill smart-search --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/smart-searchContext preview
The summary Claude sees to decide when to auto-load this skill.
Search personal Yuque knowledge bases with natural-language queries and synthesize answers with source links. Use when the user wants to find information in their own documents; trigger phrases include “搜一下我的文档”, “我的知识库里有没有...”, “搜索我的语雀/知识库”, and “search my Yuque”.
name: smart-search description: "Search personal Yuque knowledge bases with natural-language queries and synthesize answers with source links. Use when the user wants to find information in their own documents; trigger phrases include “搜一下我的文档”, “我的知识库里有没有...”, “搜索我的语雀/知识库”, and “search my Yuque”." license: MIT compatibility: Requires the yuque-mcp MCP server connected with a personal Yuque token metadata: author: yuque version: "2.0"
Search across your personal Yuque knowledge bases using natural language, read relevant documents, and synthesize a clear answer with references.
All tools are from the `yuque-mcp` server:
From the user's natural language query, extract 1-3 concise Chinese keywords. Yuque search works best with short, specific terms.
Examples:
Call `yuque_search` with the extracted keywords:
Tool: yuque_search Parameters: query: "<keywords>" type: "doc"
If the search returns no results: 1. Try alternative keywords (synonyms, broader terms) 2. Try splitting compound terms (e.g., "部署流程" → "部署" or "流程") 3. If still no results, tell the user honestly: "在你的语雀知识库中未找到相关文档,建议尝试其他关键词或确认文档是否存在。"
From the search results, select the top 3-5 most relevant documents based on:
For each selected document, fetch the full content:
Tool: yuque_get_doc Parameters: repo_id: "<namespace>" # e.g., "username/my-notes" (from search result's book.namespace) doc_id: "<slug>" # e.g., "api" (from search result's target.slug)
Note: The search result contains nested data. Extract these key fields:
Read up to 3 documents. If the first document fully answers the question, you may skip the rest.
Compose the answer in the following format:
## 回答 [直接回答用户的问题,2-4 句话,简洁明了] ## 关键要点 - **要点 1**:[从文档中提取的关键信息] - **要点 2**:[从文档中提取的关键信息] - **要点 3**:[从文档中提取的关键信息] ## 参考文档 1. [文档标题](文档链接) — 来自「知识库名称」,更新于 YYYY-MM-DD 2. [文档标题](文档链接) — 来自「知识库名称」,更新于 YYYY-MM-DD
| Situation | Action | |-----------|--------| | `yuque_search` returns empty | Try alternative keywords, then inform user | | `yuque_get_doc` fails (404) | Skip this doc, note it may have been deleted | | `yuque_get_doc` fails (403) | Tell user they may lack permission to access this doc | | API timeout | Retry once, then inform user of connectivity issue | | Too many results | Focus on top 3 by relevance, mention there are more results available |
Yuque AI Ecosystem — MCP Server, Skills & Plugin for Yuque (语雀)
Capture fleeting ideas in Yuque and periodically organize them into structured thematic notes. Use when the user wants to jot…
Analyze Yuque documents to uncover related topics, complementary notes, and cross-reference opportunities. Use when the user…
Polish rough Yuque notes into structured, readable documents while preserving their meaning. Use when the user wants to clean up…
Extract core insights, golden quotes, and action items from articles, then create structured Yuque reading notes. Use when the…
Summarize a Yuque document or knowledge base at one-line, key-point, or detailed granularity. Use when the user wants a quick…
Scan a Yuque knowledge base for stale or outdated documents and recommend updates or archiving. Use when the user is cleaning up,…