← 返回 Skills 市场
honglei24

hiagent智能体对话

作者 honglei24 · GitHub ↗ · v0.0.1 · MIT-0
cross-platform ✓ 安全检测通过
201
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install hiagent-bot-chat
功能描述
一个基于 hiagent 的智能助手技能,用于与 hiagent 进行对话。
使用说明 (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"
}'
安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install hiagent-bot-chat
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /hiagent-bot-chat 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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.
元数据
Slug hiagent-bot-chat
版本 0.0.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

hiagent智能体对话 是什么?

一个基于 hiagent 的智能助手技能,用于与 hiagent 进行对话。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 201 次。

如何安装 hiagent智能体对话?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install hiagent-bot-chat」即可一键安装,无需额外配置。

hiagent智能体对话 是免费的吗?

是的,hiagent智能体对话 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

hiagent智能体对话 支持哪些平台?

hiagent智能体对话 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 hiagent智能体对话?

由 honglei24(@honglei24)开发并维护,当前版本 v0.0.1。

💬 留言讨论