AI Agent Hub
Back to skills
HuaDai Notes Assistant icon

HuaDai Notes Assistant

Knowledge Management Updated 2026.08.29

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_KEY before calling business APIs; do not echo the secret in chat.
  • Search and selection: Use GET /search to retrieve notes, extract unique_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_id when full content is needed; confirm the target unique_id first, then send the final Markdown to POST /block/update-block.
  • Write confirmation: Create notes with POST /block/upload-block, and report success only when the API returns code=200; codes such as 400001 and 400018 should 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.