Nick IMA Knowledge Assistant
Paste the following prompt into your AI chat to install this skill:
Install @user_6b3ace61/nick using https://skillhub.cn/install/skillhub.md.
About this skill
Problem
IMA note and knowledge-base operations are spread across multiple APIs and are easy to misuse: note writes can become garbled by encoding issues, PowerShell 5.1 may silently convert request bodies to GBK, knowledge-base uploads require preserving original filenames and binary content, and the boundary between notes and knowledge-base is easy to confuse. This skill turns those API constraints into concrete routing and validation rules, reducing misrouted calls and irreversible data corruption.
How It Works
- Notes module: search notes, browse notebooks, fetch note content, create notes, and append content, using APIs such as import_doc and append_doc.
- Knowledge-base module: upload files, add web links, search knowledge bases, browse knowledge-base content, and retrieve original media info, commonly through create_media, add_knowledge, and get_media_info.
- Routing rules: route to notes when the target is note content; route to knowledge-base when the target is a knowledge-base entry, file upload, or link; for cross-module tasks, read both sub-skills before executing in order.
- Encoding constraints: validate content and title as valid UTF-8 before note-write APIs; keep uploaded binary files unchanged and do not re-encode them.
- Runtime checks: verify client_id and api_key in ~/.config/ima before API calls, POST JSON to the official IMA endpoint, and distinguish script-level -100 and -200 errors from backend business code errors.
Use Cases
- Turn meeting notes into IMA notes and append them to a selected note in an existing notebook.
- Add local PDFs and web links to a knowledge base, then search relevant entries and view originals.
- Link note-type items from a knowledge base or read knowledge-base content into a new note.
- Validate UTF-8 request bodies and credentials before calling IMA APIs from PowerShell 5.1.
Best For
- Operations managers maintaining IMA note flows who need to search, create, and append notes in a chosen notebook.
- Knowledge engineers managing reference material who need to upload files, add web links, and retrieve originals.
- Backend engineers integrating IMA APIs from Windows PowerShell who need to avoid GBK garbling.
- Automation engineers building agent toolchains who need to route calls across notes and knowledge-base APIs.
Related Skills
Turns Taleb's antifragility, barbell strategy, and via negativa into executable prompts for risk analysis in career, investing, health, and other domains.
Keyword news search over ZAKER’s corpus with optional time filtering, returning up to 20 titles, authors, and summaries.
A generic knowledge review skill that generates role-based checklists, rrule-based reminders, and on-demand reviews without storing personal data.
A knowledge-management skill for layered retrieval across information sources.