MCPInstall

ima-knowledge-base

通过 IMA OpenAPI 处理知识库任务。支持知识库内容搜索、命中详情查看、条目浏览、列出知识库、上传文件、导入网页。用户提到知识库、资料库、上传到知识库、导入网页、搜知识库时使用。

Installs
233
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/countbot-ai/countbot --skill ima-knowledge-base
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads ima-knowledge-base automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

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。

FAQ

What does the ima-knowledge-base skill do?

通过 IMA OpenAPI 处理知识库任务。支持知识库内容搜索、命中详情查看、条目浏览、列出知识库、上传文件、导入网页。用户提到知识库、资料库、上传到知识库、导入网页、搜知识库时使用。

How do I install ima-knowledge-base?

Run npx skills add https://github.com/countbot-ai/countbot --skill ima-knowledge-base in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/ima-knowledge-base/ (personal) or .claude/skills/ima-knowledge-base/ (project).

Which AI agents can use ima-knowledge-base?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is ima-knowledge-base safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains ima-knowledge-base?

It is published by countbot-ai in countbot-ai/countbot. It has 233 recorded installs.

More from countbot-ai/countbot

View all →

baidu-search

countbot-ai/countbot

百度 AI 搜索。支持网页搜索、百度百科、秒懂百科、AI 智能生成四种模式。自动包含当前日期上下文。当用户要求搜索信息、查询百科、获取最新资讯、搜索新闻、查找资料时使用。

1.8K installs

image-analysis

countbot-ai/countbot

Open the skill to read its SKILL.md instructions.

Media & Creative286 installs

web-design

countbot-ai/countbot

Open the skill to read its SKILL.md instructions.

ima-notes

countbot-ai/countbot

通过 IMA OpenAPI 处理笔记任务。支持搜索笔记、读取笔记、列出笔记、新建笔记、追加笔记。用户提到笔记、备忘录、记一下、追加到某篇笔记时使用。

Docs & Writing63 installs

news

countbot-ai/countbot

Open the skill to read its SKILL.md instructions.

49 installs

cron-manager

countbot-ai/countbot

Open the skill to read its SKILL.md instructions.

41 installs

Popular other skills

View category →

hyperframes-cli

heygen-com/hyperframes

The HyperFrames CLI by job - scaffold, check, look at frames, edit the timeline, preview, render locally or in the cloud, publish, project history - plus reading its JSON and recovering from build or render failures.

1.3M installs

triage

mattpocock/skills

Move issues and external PRs through a state machine of triage roles, categorise, verify, grill if needed, and write agent-ready briefs.

1M installs

ask-matt

mattpocock/skills

Ask which skill or flow fits your situation. A router over the skills in this repo.

778.4K installs

to-questionnaire

mattpocock/skills

Turn a decision you can't fully answer into a questionnaire for someone else to fill in.

508.9K installs

wait-what

mattpocock/skills

Stop. That last message did not land: re-pitch it.

459.7K installs

loop-me

mattpocock/skills

Grill me about specs for the workflows I want to build, within this workspace.

447.9K installs