AI Agent Hub
Back to skills
IMA Knowledge Assistant icon

IMA Knowledge Assistant

Knowledge Management Updated 2026.08.30

Paste the following prompt into your AI chat to install this skill:

Please follow https://skillhub.cn/install/skillhub.md to install @user_e859a008/blue7744611.

About this skill

Problem Addressed

When integrating IMA OpenAPI, the friction is not only endpoint parameters but also routing ambiguity between notes and knowledge bases, plus Chinese content corruption caused by inconsistent encoding. Watermelon No Flesh turns these operations into a single skill that first identifies the target object and then executes the correct module.

How It Works and Limits

The skill covers two main areas:

  • Notes: create, append, search, and read note content, typically through import_doc and append_doc.
  • Knowledge bases: upload files, add links, search entries, and read knowledge base content.
  • Calling contract: use HTTP POST + JSON Body against the official base URL, with credentials resolved from environment variables first, then config files.

The main constraints are: notes text writes require explicit UTF-8 validation, knowledge base file uploads must preserve the original binary payload, and in PowerShell 5.1 request bodies must be explicitly converted to UTF-8 bytes to avoid silent GBK corruption of Chinese fields.

Use Cases

  • Search existing IMA notes in an agent workflow and append new content by doc_id.
  • Upload local files to an IMA knowledge base while preserving original binary bytes.
  • Retrieve IMA knowledge base items and create or append them as an IMA note.
  • Call IMA OpenAPI from PowerShell 5.1 with explicit UTF-8 request-body bytes.

Best For

  • Automation engineers turning web, clipboard, or API text into IMA notes.
  • Ops or knowledge managers batch-uploading files and links to IMA knowledge bases.
  • Script developers calling Chinese APIs from PowerShell 5.1.
  • Agent developers routing intents between notes and knowledge-base modules.