Skip to content
Skills Library
Personal productivity · Tool integration

ima-knowledge-base

/ima-knowledge-base

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

Repository
countbot ↗
Licence
MIT
Last repository change
26.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
8
Scripts
3
HTML comments
0
URLs in SKILL.md
1
Deprecation

No signals detected. Repository changed on 26.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What to check before installing
  • 3 scripts in this package. Review them before installing, as Claude may execute them.

Scripts: scripts/ima_client.py, scripts/ima_kb_tool.py, scripts/ima_tool.py

What it does and when to use it

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

Original author description

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

How it works

  1. 执行规则
  2. 查看单条结果
  3. 常用命令
  4. 推荐类问题
  5. 写入安全
  6. 如何配置
Original SKILL.md headings · 56 lines, 180 words
SKILL.md preview
---
name: ima-knowledge-base
description: 通过 IMA OpenAPI 处理知识库任务。支持知识库内容搜索、命中详情查看、条目浏览、列出知识库、上传文件、导入网页。用户提到知识库、资料库、上传到知识库、导入网页、搜知识库时使用。
---

# 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 "个人知识库" --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。
Files in this package (8)
  • SKILL.md 3 KB
  • config.help.md 1 KB
  • references/api.md 20 KB
  • scripts/config.json 1 KB
  • scripts/config.json.example 1 KB
  • scripts/ima_client.py 5 KB
  • scripts/ima_kb_tool.py 1 KB
  • scripts/ima_tool.py 54 KB

Versions

The database has no other skills named ima-knowledge-base.

Database snapshot: 13.11.2026 · package version abf394acd4a3 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 95ima-skill
    统一的 IMA OpenAPI 技能,支持笔记管理和知识库操作。 当用户提到知识库、资料库、笔记、备忘录、记事,或者想要上传文件、添加网页到知识库、 搜索知识库内容、搜索/浏览/创建/编辑笔记时,使用此 skill。 即使用户没有明确说"知识库"或"笔记",只要意图涉及文件上传到知识库、网页收藏、 知识搜索、个人文档存取(如"帮我记一下"、"搜一下知识库里有没有XX"),也应触发此 skill。
  • 95ima-note
    IMA 个人笔记服务 API skill,用于管理用户的 IMA 笔记。支持搜索笔记、浏览笔记本、获取笔记内容、新建笔记和追加内容。 当用户提到笔记、备忘录、记事、知识库,或者想要查找、阅读、创建、编辑笔记内容时,使用此 skill。 即使用户没有明确说"笔记",只要意图涉及个人文档的存取(如"帮我记一下"、"我之前写过一个关于XX的东西"、"把这段内容保存下来"),也应触发此 skill。
  • 100ima-copilot
    Installs, diagnoses, repairs, and personalizes the official Tencent IMA skill (a wrapper around upstream ima-skill, not a replacement), including fan-out search across IMA knowledge bases with priority boosting. Use when the user mentions IMA / 腾讯 IMA / ima-skill, needs IMA API…
  • 90微信沉淀
    把用户发来的微信聊天内容(文字、聊天截图、转发的文件、公众号文章)整理成结构化知识卡片,脱敏后保存到 ima 知识库「微信沉淀库」。当用户发送内容并附带"沉淀""存一下""整理入库"等指令时触发单条模式;说"批量沉淀""今日清算"时触发批量模式。
  • 90IMA Studio TTS
    Use when generating speech from text (text-to-speech) via IMA Open API. Use for: voice synthesis, TTS,朗读, 语音合成, 配音, 有声内容. Output: audio URL (mp3/wav). Flow: query products → create task → poll until done. Requires IMA API key. This skill targets seed-tts-2.0 only (seed-tts-1.1…
  • 100knowledge-base
    ローカルMarkdownファイルによる個人ナレッジベースを管理する。メモ・記録・ノートの保存、検索・参照、会議メモの構造化、既存ファイルの取り込みに使用する。Do NOT use for プロジェクトのソースコードやSDDドキュメントの管理。

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.