git clone --depth 1 https://github.com/UnicomAI/wanwu /tmp/knowledge-spider && cp -r /tmp/knowledge-spider/configs/microservice/bff-service/configs/agent-skills/clawhub/knowledge-spider ~/.claude/skills/knowledge-spiderSKILL.md
name: knowledge-spider description: "本地知识库,支持存储、查询、删除和统计用户偏好、事实等信息。当用户提及「本地知识库」「我的知识库」或要求保存/查询/统计信息时使用。" --- # 本地知识库技能 ## When to use (必须使用本技能的场景) - **存储信息**:当用户说“保存到本地知识库”、“记到我的知识库里”、“把这条信息加入知识库”等包含「本地知识库」「我的知识库」关键词的指令时,**必须**使用本技能。 - **查询信息**:当用户问“我的知识库里有什么?”、“从本地知识库查找...”、“我的知识库中有关于...的记录吗?”时,**必须**使用本技能。 - **删除信息**:当用户说“从知识库中删除...”、“忘掉这条记录”时,**必须**使用本技能。 - **统计信息**:当用户问“我的知识库里有多少条记录?”、“统计一下我的知识库”、“知识库的状态如何”时,**必须**使用本技能进行统计并返回记录总数。 ## 使用原则 - **优先使用知识库内容**:当回答用户问题时,如果知识库中已有相关信息(如用户偏好、历史事实),应优先采用知识库中的内容进行回答,使回复更个性化和准确。 - **自然语言存储**:当用户要求保存信息时,自动提取核心内容存入知识库。 ## 触发词示例 - 保存到本地知识库 - 记到我的知识库里 - 从知识库查找... - 我的知识库中有...吗? - 统计我的知识库 - 知识库有多少记录 ## 执行流程 1. **识别意图**:判断是存储、查询、删除还是统计 2. **提取内容**:清理"记录一下"等指令词,保留纯内容 3. **执行操作**: - 存储:写入 SQLite,自动分类(preference/fact/task/important) - 查询:语义搜索,按优先级排序返回 - 删除:确认后移除记录 - 统计:显示知识库状态 4. **返回结果**:用自然语言回复用户 ## 分类标记 自动检测内容类型: | 分类 | 检测关键词 | 说明 | |-----|----------|------| | preference | 喜欢、偏好、习惯、讨厌 | 用户偏好设置 | | important | 重要、关键、密码、密钥 | 关键信息 | | task | 任务、待办、截止、期限 | 待办事项 | | fact | 事实是、数据、研究表明 | 客观事实 | | general | 其他 | 一般信息 | ## 约束 - 存储前自动去重检测 - 查询结果按时效性、频率、类型优先级排序 - 删除前必须确认 - 所有数据本地存储,不上传云端
万悟平台 SSE 子会话递归嵌套与三明治序列渲染架构指南。涵盖 parentId 领养、order 绝对排序、动静 Chunk 分层及 Vue 2 响应式引用协议。
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.
Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.
Build apps with the Claude API or Anthropic SDK. TRIGGER when: code imports `anthropic`/`@anthropic-ai/sdk`/`claude_agent_sdk`, or user asks to use Claude API, Anthropic SDKs, or Agent SDK. DO NOT TRIGGER when: code imports `openai`/other AI SDK, general programming, or ML/data-science tasks.
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision docs, or similar structured content. This workflow helps users efficiently transfer context, refine content through iteration, and verify the doc works for readers. Trigger when user mentions writing docs, creating proposals, drafting specs, or similar documentation tasks.
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files). Triggers include: any mention of 'Word doc', 'word document', '.docx', or requests to produce professional documents with formatting like tables of contents, headings, page numbers, or letterheads. Also use when extracting or reorganizing content from .docx files, inserting or replacing images in documents, performing find-and-replace in Word files, working with tracked changes or comments, or converting content into a polished Word document. If the user asks for a 'report', 'memo', 'letter', 'template', or similar deliverable as a Word or .docx file, use this skill. Do NOT use for PDFs, spreadsheets, Google Docs, or general coding tasks unrelated to document generation.
Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML/CSS layouts, or when styling/beautifying any web UI). Generates creative, polished code and UI design that avoids generic AI aesthetics.