← Back to Skills Marketplace
honglei24

hiagent智能体对话

by honglei24 · GitHub ↗ · v0.0.1 · MIT-0
cross-platform ✓ Security Clean
201
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install hiagent-bot-chat
Description
一个基于 hiagent 的智能助手技能,用于与 hiagent 进行对话。
README (SKILL.md)

hiagent-bot

技能描述

此技能旨在通过 hiagent-bot-chat 与 hiagent 进行对话,回答用户的问题。

使用场景

  • 当用户指定使用hiagent-bot-chat 解决问题或进行对话时。

详细指令

hiagent-bot 主要通过调用 hiagent 的两个核心接口来实现:

  1. create_conversion 接口:负责创建会话,通常用于在对话开始前初始化并获取会话的上下文 ID (Session ID)。
  2. chat_query_v2 接口:负责具体的对话交互,用于在已创建的会话中发送用户的输入并获取 hiagent 的回复。

调用流程示例

  • 第一步:客户端请求 create_conversion 创建一个新的会话。
  • 第二步:获取到会话标识后,用户每次发送消息时,客户端调用 chat_query_v2 接口并携带该会话标识进行对话。

hiagent 接口调用示例 (curl)

get conversation history list

use get_conversation_list api to get conversation history list

curl --location '$HIAGENT_API_URL/get_conversation_list'
--header 'Apikey: $HIAGENT_API_KEY'
--header 'Content-Type: application/json'
--data '{
    "UserID": "$HIAGENT_USER_ID"
}'

create conversation

if you want to create a new conversation, you can use the create_conversation api

curl --location '$HIAGENT_API_URL/create_conversation'
--header 'Apikey: $HIAGENT_API_KEY'
--header 'Content-Type: application/json'
--data '{
    "UserID": "$HIAGENT_USER_ID"
}'

get one conversation chat history

use the AppConversationID returned from get_conversation_list or create_conversation

curl --location '$HIAGENT_API_URL/get_conversation_messages'
--header 'Apikey: $HIAGENT_API_KEY'
--header 'Content-Type: application/json'
--data '{
    "AppConversationID": "$AppConversationID",
    "UserID": "$HIAGENT_USER_ID"
}'

send query

use the AppConversationID returned from get_conversation_list or create_conversation

curl --location '$HIAGENT_API_URL/chat_query_v2'
--header 'Apikey: $HIAGENT_API_KEY'
--header 'Content-Type: application/json'
--data '{
    "ResponseMode": "blocking",
    "AppConversationID": "$AppConversationID",
    "UserID": "$HIAGENT_USER_ID",
    "Query": "your query"
}'
Usage Guidance
This skill is coherent for calling a hiagent HTTP API, but before installing: (1) only set HIAGENT_API_URL to a host you trust — all user messages will be sent there; (2) store HIAGENT_API_KEY securely and avoid reusing sensitive credentials; (3) avoid sending secrets or highly sensitive data through the skill unless you control or trust the hiagent service; (4) prefer HTTPS endpoints and consider network controls / auditing for traffic to the configured URL.
Capability Analysis
Type: OpenClaw Skill Name: hiagent-bot-chat Version: 0.0.1 The skill provides standard instructions and curl command templates for an AI agent to interact with the 'hiagent' API. It uses environment variables for authentication and endpoint configuration (HIAGENT_API_URL, HIAGENT_API_KEY) to perform legitimate chat-related tasks such as listing, creating, and querying conversations in SKILL.md. No malicious intent, data exfiltration, or obfuscation was detected.
Capability Assessment
Purpose & Capability
Name/description state this is a hiagent chat integration and the skill only requires curl plus HIAGENT_API_URL, HIAGENT_API_KEY, and HIAGENT_USER_ID — all of which are directly relevant and expected for talking to an HTTP-based hiagent service.
Instruction Scope
SKILL.md contains only curl examples to call hiagent endpoints (create_conversation, chat_query_v2, conversation list/messages). This stays within the described purpose. Note: runtime behavior will send user messages and any context the agent includes to whatever URL is set in HIAGENT_API_URL, so the trustworthiness and security (TLS, server operator) of that endpoint matters.
Install Mechanism
No install spec and no code files — instruction-only skill that expects curl to be present. This is the lowest-risk install pattern.
Credentials
Required env vars (API URL, API key, user id) are proportional and expected for an HTTP API client. No unrelated secrets or config paths are requested. The only caveat is that the API URL can point to any host, so the provided API key and any user data will be sent to that host.
Persistence & Privilege
Skill is not always:true and does not request system-level persistence or modify other skills. It can be invoked by the agent (normal behavior) but has no elevated privileges.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install hiagent-bot-chat
  3. After installation, invoke the skill by name or use /hiagent-bot-chat
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.0.1
- Initial release of hiagent-bot-chat skill. - Enables conversation with hiagent through curl-based API integration. - Supports creating and managing conversations, retrieving chat history, and sending queries. - Requires environment variables: HIAGENT_API_URL, HIAGENT_API_KEY, HIAGENT_USER_ID.
Metadata
Slug hiagent-bot-chat
Version 0.0.1
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is hiagent智能体对话?

一个基于 hiagent 的智能助手技能,用于与 hiagent 进行对话。 It is an AI Agent Skill for Claude Code / OpenClaw, with 201 downloads so far.

How do I install hiagent智能体对话?

Run "/install hiagent-bot-chat" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is hiagent智能体对话 free?

Yes, hiagent智能体对话 is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does hiagent智能体对话 support?

hiagent智能体对话 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created hiagent智能体对话?

It is built and maintained by honglei24 (@honglei24); the current version is v0.0.1.

💬 Comments