HuaDai Notes Assistant
Paste the following prompt into your AI chat to install this skill:
Please install @user_5808e1d9/hd-notes-skills by following https://skillhub.cn/install/skillhub.md.
About this skill
Problem
Agents often treat user intent as API state and claim notes are saved or updated before confirming an API response. They may also patch content without a verified unique_id, leading to wrong targets or fabricated summaries. This skill frames HuaDai note search, detail, creation, update, and error handling as verifiable steps for maintaining an external note library from chat.
How It Works
- Configuration and auth: When the user asks to configure HuaDai or fill in the key, guide them to create and set
HUADAI_API_KEYbefore calling business APIs; do not echo the secret in chat. - Search and selection: Use
GET /searchto retrieve notes, extractunique_id, text summary, timestamps, and type; if there are no results, say none were found instead of inventing similar notes. - Detail and update: Call
GET /block/:unique_idwhen full content is needed; confirm the targetunique_idfirst, then send the final Markdown toPOST /block/update-block. - Write confirmation: Create notes with
POST /block/upload-block, and report success only when the API returnscode=200; codes such as400001and400018should trigger key reconfiguration or re-search guidance.
Boundaries
The skill depends on a HuaDai Open Platform API key and the user's entitlements. It does not save the key into note content or handle account-level actions such as membership activation or permission revocation. The key discipline is to trust API responses rather than infer whether a note exists, was updated, or was found.
Use Cases
- In customer-support chats, format user questions into Markdown and create a HuaDai note for follow-up via API.
- Before updating an existing note, search candidates, verify unique_id, then submit the complete Markdown update.
- When checking whether a past conclusion exists, search HuaDai notes and return unique_id and text summary.
- If API returns 400001 or 400018, guide the user to reconfigure the key or re-search the target note.
Best For
- Agent engineers who need to persist chat conclusions into external notes via a notes API.
- Customer-ops staff who maintain a support knowledge base and retrieve past records by keyword.
- Backend engineers who want LLMs to update notes only after API confirms the target note.
- Product managers who manage follow-up tasks and reference links from chat.
Related Skills
Search Huawei Cloud official docs and product pages to find ECS, OBS, RDS, CCE product specs, parameters, documentation, and API references without login.
OCR-based recognition for movie, train, flight, and event tickets in images or PDFs, extracting key fields into Markdown or JSON reports.
Turns notes, research, and meeting summaries into actionable next moves, plans, decisions, experiments, and decision-changing gaps.
A local wiki knowledge base manager that compiles raw documents into sourced, indexed Markdown pages with wikilinks, query support, and health checks.