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@knowledgeto search your private knowledge base (requiresconfig.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:
~/.clawd_ima_config.jsonskills/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"