/ima-knowledge-base
通过 IMA OpenAPI 处理知识库任务。支持知识库内容搜索、命中详情查看、条目浏览、列出知识库、上传文件、导入网页。用户提到知识库、资料库、上传到知识库、导入网页、搜知识库时使用。
$ npx -y skills add countbot-ai/CountBot --skill ima-knowledge-base --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/ima-knowledge-base
Context preview
The summary Claude sees to decide when to auto-load this skill.
通过 IMA OpenAPI 处理知识库任务。支持知识库内容搜索、命中详情查看、条目浏览、列出知识库、上传文件、导入网页。用户提到知识库、资料库、上传到知识库、导入网页、搜知识库时使用。
SKILL.md
ima-knowledge-base.SKILL.mdname: ima-knowledge-base
description: 通过 IMA OpenAPI 处理知识库任务。支持知识库内容搜索、命中详情查看、条目浏览、列出知识库、上传文件、导入网页。用户提到知识库、资料库、上传到知识库、导入网页、搜知识库时使用。
IMA Knowledge Base
入口:
python skills/ima-knowledge-base/scripts/ima_kb_tool.py <command> ...
执行规则
- 用户说“搜、查、找、看看有没有”时,先 `search-kb`
- 默认直接返回命中片段,不堆字段
- `search-kb` 搜的是内容,不是知识库列表
- 用户给了 `kb-id` 或 `kb-name` 时,加定向参数
- 默认优先 `--keyword`,只有明确要把多个词合成一次搜索串时才用 `--query`
- 宽搜建议加 `--show 5 --limit 10`;知识库很大再加 `--search-pages 2` 或更高
查看单条结果
- 默认先 `show-kb-hit`
- 只有命中像图片、截图、OCR 文档、菜单图,或 `show-kb-hit` 太短时,才用 `inspect-kb-hit`
- 一条 `--keyword "推荐 菜单 餐厅 美食"` 会拆成多次搜索,同一标题可能重复出现
- 宽搜后稳定定位优先级:更窄关键词 > `--title` > `--media-id` > `--pick`
常用命令
python skills/ima-knowledge-base/scripts/ima_kb_tool.py search-kb --keyword "orslow"
python skills/ima-knowledge-base/scripts/ima_kb_tool.py search-kb --keyword "推荐 菜单 餐厅 美食" --show 5 --limit 10
python skills/ima-knowledge-base/scripts/ima_kb_tool.py search-kb --kb-name "个人知识库" --keyword "菜单"
python skills/ima-knowledge-base/scripts/ima_kb_tool.py show-kb-hit --keyword "orslow" --pick 1
python skills/ima-knowledge-base/scripts/ima_kb_tool.py inspect-kb-hit --keyword "orslow" --pick 1
python skills/ima-knowledge-base/scripts/ima_kb_tool.py list-kb
python skills/ima-knowledge-base/scripts/ima_kb_tool.py list-kb-items --kb-name "个人知识库" --limit 20
python skills/ima-knowledge-base/scripts/ima_kb_tool.py upload-file --kb-name "个人知识库" --file "/path/to/report.pdf"
python skills/ima-knowledge-base/scripts/ima_kb_tool.py import-url --kb-name "个人知识库" --url "https://example.com"
推荐类问题
用户问“知识库里有什么推荐”时:
1. 先宽搜:`search-kb --keyword "推荐 菜单 餐厅 美食" --show 5 --limit 10` 2. 命中太杂就补对象词,例如 `search-kb --keyword "orslow 推荐"` 3. 锁定单条后先 `show-kb-hit` 4. 只有需要 OCR 扩展片段时才 `inspect-kb-hit`
写入安全
- `upload-file`、`import-url` 会真实写入知识库,执行前先确认目标知识库
- 需要配置时查看 `scripts/config.json` 和 `config.help.md`
如何配置
下载最新的IMA客户端(比如Android),登陆后点击 “我” --> Claw配置 --> 复制 client_id和api_key参数,提供给CountBot后会自动调用文件编辑工具修改config.json。
Read more
name: ima-knowledge-base description: 通过 IMA OpenAPI 处理知识库任务。支持知识库内容搜索、命中详情查看、条目浏览、列出知识库、上传文件、导入网页。用户提到知识库、资料库、上传到知识库、导入网页、搜知识库时使用。
IMA Knowledge Base
入口:
python skills/ima-knowledge-base/scripts/ima_kb_tool.py <command> ...
执行规则
- 用户说“搜、查、找、看看有没有”时,先 `search-kb`
- 默认直接返回命中片段,不堆字段
- `search-kb` 搜的是内容,不是知识库列表
- 用户给了 `kb-id` 或 `kb-name` 时,加定向参数
- 默认优先 `--keyword`,只有明确要把多个词合成一次搜索串时才用 `--query`
- 宽搜建议加 `--show 5 --limit 10`;知识库很大再加 `--search-pages 2` 或更高
查看单条结果
- 默认先 `show-kb-hit`
- 只有命中像图片、截图、OCR 文档、菜单图,或 `show-kb-hit` 太短时,才用 `inspect-kb-hit`
- 一条 `--keyword "推荐 菜单 餐厅 美食"` 会拆成多次搜索,同一标题可能重复出现
- 宽搜后稳定定位优先级:更窄关键词 > `--title` > `--media-id` > `--pick`
常用命令
python skills/ima-knowledge-base/scripts/ima_kb_tool.py search-kb --keyword "orslow" python skills/ima-knowledge-base/scripts/ima_kb_tool.py search-kb --keyword "推荐 菜单 餐厅 美食" --show 5 --limit 10 python skills/ima-knowledge-base/scripts/ima_kb_tool.py search-kb --kb-name "个人知识库" --keyword "菜单" python skills/ima-knowledge-base/scripts/ima_kb_tool.py show-kb-hit --keyword "orslow" --pick 1 python skills/ima-knowledge-base/scripts/ima_kb_tool.py inspect-kb-hit --keyword "orslow" --pick 1 python skills/ima-knowledge-base/scripts/ima_kb_tool.py list-kb python skills/ima-knowledge-base/scripts/ima_kb_tool.py list-kb-items --kb-name "个人知识库" --limit 20 python skills/ima-knowledge-base/scripts/ima_kb_tool.py upload-file --kb-name "个人知识库" --file "/path/to/report.pdf" python skills/ima-knowledge-base/scripts/ima_kb_tool.py import-url --kb-name "个人知识库" --url "https://example.com"
推荐类问题
用户问“知识库里有什么推荐”时:
1. 先宽搜:`search-kb --keyword "推荐 菜单 餐厅 美食" --show 5 --limit 10` 2. 命中太杂就补对象词,例如 `search-kb --keyword "orslow 推荐"` 3. 锁定单条后先 `show-kb-hit` 4. 只有需要 OCR 扩展片段时才 `inspect-kb-hit`
写入安全
- `upload-file`、`import-url` 会真实写入知识库,执行前先确认目标知识库
- 需要配置时查看 `scripts/config.json` 和 `config.help.md`
如何配置
下载最新的IMA客户端(比如Android),登陆后点击 “我” --> Claw配置 --> 复制 client_id和api_key参数,提供给CountBot后会自动调用文件编辑工具修改config.json。
更适配中文用户的轻量开源AI Agent | 国产大模型Coding plan支持 | 兼容OpenClaw Skills生态| 已接入微信ClawBot/微博龙虾/飞书/钉钉/QQ/小智AI/Telegram/deepseek-v4。
Repo: countbot-ai/CountBot
Other skills on countbot.
- /agent-browser
Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a
Open skill - /agent-team-manager
多智能体团队管理。创建、查看、修改、删除 CountBot 的多智能体团队,管理团队成员(角色)和团队级自定义模型配置。当用户要新建 Pipeline/Graph/Council 团队、调整成员分工、修改依赖关系、开关技能系统、设置团队专属模型时使用。
Open skill - /baidu-search
百度 AI 搜索。支持网页搜索、百度百科、秒懂百科、AI 智能生成四种模式。自动包含当前日期上下文。当用户要求搜索信息、查询百科、获取最新资讯、搜索新闻、查找资料时使用。
Open skill - /cron-manager
定时任务管理。创建、查看、修改、删除定时任务,管理任务会话数据。当用户需要设置提醒、定时执行任务、管理调度计划时使用。
Open skill - /email
通过 QQ 或 163 邮箱发送和接收邮件。支持发送普通邮件、带附件邮件、接收邮件、检查新邮件。当用户要求发送邮件、查看邮件、检查新邮件时使用。
Open skill - /find-skills
基于腾讯 SkillHub 搜索、安装和管理技能。用户提到“找技能”“安装 skill”“扩展功能”“启用/禁用 skill”“删除 skill”“安装 SkillHub CLI”时优先使用。
Open skill

