IMA Notes and Knowledge Base Assistant
Paste the following prompt into your AI chat to install this skill:
Please install @user_58e185f9/20260425001 according to https://skillhub.cn/install/skillhub.md.
About this skill
Problem
In agent workflows, IMA notes and knowledge bases can both look like “save content,” but their API objects are different: an existing note needs a note_id, a knowledge-base entry needs a media_id, and uploading files, linking notes, and adding web links follow separate paths. Mapping natural-language requests directly to API calls can easily misroute “write to note” as “upload to knowledge base,” or execute a cross-module task after reading only one subskill. Chinese content can also become corrupted in PowerShell 5.1 when the request body is silently converted to GBK, producing garbled text without an obvious error.
How It Works
The skill wraps the IMA OpenAPI behind a unified entry point and routes requests by module decision rules. Core capabilities include:
- notes: search notes, browse notebooks, fetch note content, create notes, and append content; before writes, fields such as content and title must be valid UTF-8.
- knowledge-base: upload files, add web links, search the knowledge base, browse knowledge-base content, and fetch knowledge-base metadata or addable lists.
- cross-module tasks: for requests such as “save knowledge-base content into a note” or “add this note to a knowledge base,” both subskills must be read before executing the ordered flow, such as KB read -> Notes write or Notes lookup -> KB association.
Key steps start with a credential check, then send HTTP POST + JSON Body requests. The script layer handles program errors and update checks, while the backend response code=0 indicates success. For file uploads, title must match the original file name, and binary content must remain unchanged.
Boundaries
The documented scope covers notes and knowledge-base operations only. It does not support video files, Bilibili/YouTube URLs, or file:// links. When the user has not specified whether to create a new note or append to an existing one, the skill asks for clarification. -100 errors should be shown directly, while -200 requires following the update guidance and retrying.
Use Cases
- When organizing meeting notes, append new conclusions to a target IMA note found by title.
- When collecting web sources, add a link to the selected IMA knowledge base and verify it is addable.
- When exporting source material, use a knowledge-base media_id to locate a note-type entry and read the original.
- When uploading documents, preserve the original PDF filename and binary content before adding it to IMA.
Best For
- Operations staff who maintain IMA notes and need to append scattered conclusions to a specific note.
- Product assistants who manage knowledge bases and need to upload PDFs, add web links, and browse entries.
- Research assistants who archive materials and need to read original note-type entries from a knowledge base.
- Automation engineers who integrate IMA OpenAPI and need module-aware routing for notes and knowledge-base calls.
Related Skills
Updates Next.js documentation based on code changes in the active branch to help maintainers review PR documentation completeness.
Use a book title and author to search reviews, contents, and reader feedback, then generate a structured breakdown of historical or decision-logic books with key claims, concepts, quotes, and reading notes in Obsidian.
A multi-system divination advisor covering Bazi, Ziwei, tarot, feng shui, timing, and naming with structured interpretations.
Provides Bazi, Liu Yao, Qimen, Meihua, and date-selection guidance from classical references, with plain-language explanations and actionable suggestions.