# Skill: Kb Retriever (kb-retriever) Description: 面向本地知识库目录的检索和问答助手。核心流程:(1)分层索引导航 (2)遇到PDF/Excel时必须先读取references学习处理方法 (3)处理文件后再检索。按文件类型组合使用 grep、Read、pdfplumber、pandas 进行渐进式检索,避免整文件加载。用户问题涉及"从知识库目录回答问题/检索信... Repository: https://github.com/ConardLi/garden-skills Skill Path: skills/kb-retriever Branch: main License: MIT Version: latest ## Supported Agents & Install Guides ### Claude Code Global Location: ~/.claude/skills/kb-retriever/SKILL.md Project Location: /.claude/skills/kb-retriever/SKILL.md Manual Steps: 1. Create the skill folder: mkdir -p ~/.claude/skills/kb-retriever 2. Copy the SKILL.md file into that folder. 3. Copy any supporting files (scripts/, references/) into the same folder. 4. Reload skills in Claude Code with the /reload-skills command. Agent Prompt: Please install the "Kb Retriever" skill from https://github.com/ConardLi/garden-skills. 1. Clone or download the repository from https://github.com/ConardLi/garden-skills 2. Copy the folder "skills/kb-retriever" to ~/.claude/skills/kb-retriever/SKILL.md 3. The skill files should now be at: ~/.claude/skills/kb-retriever/SKILL.md 4. Confirm what was installed and verify the SKILL.md file exists. --- ### Codex CLI Global Location: ~/.codex/AGENTS.md Project Location: /AGENTS.md Manual Steps: 1. Copy the skill's instructions to your project's AGENTS.md file at the repo root. 2. For global use, add them to ~/.codex/AGENTS.md instead. 3. Codex reads AGENTS.md files from the repo root down to your current directory. 4. Restart your Codex session to pick up the changes. Agent Prompt: Please install the "Kb Retriever" skill from https://github.com/ConardLi/garden-skills. 1. Clone or download the repository from https://github.com/ConardLi/garden-skills 2. Copy the folder "skills/kb-retriever" to ~/.codex/AGENTS.md 3. The skill files should now be at: ~/.codex/AGENTS.md 4. Confirm what was installed and verify the SKILL.md file exists. --- ### Cursor Global Location: Cursor Settings → Rules (global rules UI) Project Location: /.cursor/rules/.mdc Manual Steps: 1. Create the rules directory: mkdir -p .cursor/rules/ 2. Save the skill as a .mdc file with YAML frontmatter (description, globs). 3. Example: .cursor/rules/my-skill.mdc 4. Cursor auto-loads .mdc files from .cursor/rules/ on session start. Agent Prompt: Please install the "Kb Retriever" skill from https://github.com/ConardLi/garden-skills. 1. Clone or download the repository from https://github.com/ConardLi/garden-skills 2. Copy the folder "skills/kb-retriever" to Cursor Settings → Rules (global rules UI) 3. The skill files should now be at: Cursor Settings → Rules (global rules UI) 4. Confirm what was installed and verify the SKILL.md file exists. --- ### Gemini CLI Global Location: ~/.gemini/skills/kb-retriever/SKILL.md Project Location: /.gemini/skills/kb-retriever/SKILL.md Manual Steps: 1. Create the skill folder: mkdir -p ~/.gemini/skills/kb-retriever 2. Copy the SKILL.md file and any supporting files into that folder. 3. Or run: gemini skills install to install from a GitHub URL. 4. Use --scope workspace to install into the project instead of globally. Agent Prompt: Please install the "Kb Retriever" skill from https://github.com/ConardLi/garden-skills. 1. Clone or download the repository from https://github.com/ConardLi/garden-skills 2. Copy the folder "skills/kb-retriever" to ~/.gemini/skills/kb-retriever/SKILL.md 3. The skill files should now be at: ~/.gemini/skills/kb-retriever/SKILL.md 4. Confirm what was installed and verify the SKILL.md file exists. ---