ima-knowledge-base
通过 IMA OpenAPI 处理知识库任务。支持知识库内容搜索、命中详情查看、条目浏览、列出知识库、上传文件、导入网页。用户提到知识库、资料库、上传到知识库、导入网页、搜知识库时使用。
npx skills add countbot-ai/CountBot --skill ima-knowledge-base --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# IMA Knowledge Base 入口: ```bash 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` ## 常用命令 ```bash 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 "个人知识库" --
- 执行规则
- 查看单条结果
- 常用命令
- 推荐类问题
- 写入安全
- 如何配置
python skills/ima-knowledge-base/scripts/ima_kb_tool.py <command> ... 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"
What does the ima-knowledge-base skill do?
通过 IMA OpenAPI 处理知识库任务。支持知识库内容搜索、命中详情查看、条目浏览、列出知识库、上传文件、导入网页。用户提到知识库、资料库、上传到知识库、导入网页、搜知识库时使用。
How do I install it?
Run `npx skills add countbot-ai/CountBot --skill ima-knowledge-base --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From countbot-ai/CountBot, a repository with 760 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
