IMA Knowledge Base and Notes API
Paste the following prompt into your AI chat to install this skill:
Follow https://skillhub.cn/install/skillhub.md to install @user_3ef04463/qianqiong-ima.
About this skill
Problem
Working with IMA notes and knowledge bases often requires choosing between several APIs: appending to an existing note, creating a note, uploading a file, adding a web link, or searching and browsing items. The skill standardizes that routing and keeps credential handling out of the conversation.
How it works
The skill starts from ima-skill, reads SETUP_TOKEN.md, and fetches credentials inline for each command through get-token.sh or get-token.ps1. All calls are sent as HTTP POST + JSON to https://ima.qq.com. It routes user intent into two modules: notes for searching, browsing, reading, creating, and appending notes, and knowledge-base for uploading files, adding web links, searching, and browsing knowledge base entries. For ambiguous requests such as “save this to a note” versus “add this file to the knowledge base,” it first determines whether the target is note content or a knowledge base item, then selects the matching operation.
Boundaries
It does not persist credentials across sessions and will not display real Client ID or API Key values. Writes to notes require valid UTF-8 text; file uploads should preserve the original binary content. In PowerShell 5.1, the request body must be explicitly converted to UTF-8 bytes to avoid silent Chinese encoding issues.
Use Cases
- Append meeting notes to an existing IMA note without creating duplicate entries.
- Upload PDF, Word, Excel, PPT, or image files to an IMA knowledge base for later search.
- Add web links to the knowledge base, then search topics, items, and base content.
- Clarify whether a request means creating a new note or appending to a specified note.
Best For
- Knowledge-base assistant who files documents, links, and web references into one IMA base.
- Team-note owner who appends discussion conclusions to existing notes and searches older content.
- Research analyst who uploads PDF, Excel, and PPT files and searches citable knowledge-base items.
- Engineer integrating IMA APIs who needs consistent note and knowledge-base calls with credential handling.
Related Skills
Provides Bazi, Liu Yao, Qimen, Meihua, and date-selection guidance from classical references, with plain-language explanations and actionable suggestions.
A fast CLI for summarizing URLs, local files, and YouTube links with multi-model support, length control, and JSON output.
Automatically classifies ideas and saves them as tagged, structured Markdown notes in a desktop inspiration library.
Manages Baidu NetDisk files under /apps/bdpan/, including uploads, downloads, sharing, search, and limited agent memory backup/restore.