360 Secure SkillHub
360 安全技能中心

Tencent IMA Skill

该 Skill 封装 scripts/ima.py,用于启动并控制 IMA(ima.copilot) 桌面应用执行 AI 搜索;query 以 @knowledge 或 @个人知识库 前缀可切换到私有知识库模式,需要 config.json 或 ~/.clawd_ima_config.json 提供 knowledge_id,并支持 autoclose 关闭应用。

hyddd
hyddd
热度 67.51
最近更新 2026-05-17 11:36:27
分类:搜索依赖:代码执行 / 读写文件应用场景:研究 / 笔记整理

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add tencent-ima-skill
Metadata
name
ima-agent-skill
description
Control the IMA (ima.copilot) desktop application for AI search and private knowledge retrieval.

IMA Skill

Control the IMA (ima.copilot) desktop application for AI search and private knowledge retrieval.

Tools

ima_search

Launches IMA and performs a search. Supports "Private Knowledge Base" mode via special tags.

  • query (required): The search query. Prefix with @个人知识库 or @knowledge to search your private knowledge base (requires config.json).
  • autoclose (optional): "true" to close the app after searching. Default: "false".

Implementation:

/usr/bin/python3 /opt/homebrew/lib/node_modules/clawdbot/skills/ima/scripts/ima.py "{query}" --autoclose="{autoclose}"

Configuration

To enable private knowledge base search, you must providing your knowledge_id. The script looks for config in:

  1. ~/.clawd_ima_config.json
  2. skills/ima/config.json

Format:

{
  "knowledge_id": "your_id_string"
}

Examples

  • Public: clawdbot ima_search query="DeepSeek analysis"
  • Private: clawdbot ima_search query="@knowledge project update"