Xpersona
A

AndonQ

CLAWHUB · Unverified

AndonQ 腾讯云智能客服智能体 — 不切窗口、不排队,即刻获得腾讯云全产品线专业解答。支持工单查询(列表/详情/流水)、集团/MC 工单与需求单管理、腾讯云全产品线智能问答、云产品资源查询等。当用户查询工单、查看工单详情、咨询腾讯云产品问题、查询集团(360)工单/需求单、或查询腾讯云资源信息时使用。 Skill: AndonQ Owner: cyuxlif Summary: AndonQ 腾讯云智能客服智能体 — 不切窗口、不排队,即刻获得腾讯云全产品线专业解答。支持工单查询(列表/详情/流水)、集团/MC 工单与需求单管理、腾讯云全产品线智能问答、云产品资源查询等。当用户查询工单、查看工单详情、咨询腾讯云产品问题、查询集团(360)工单/需求单、或查询腾讯云资源信息时使用。 Tags: latest:2.0.1 Version history: v2.0.1 | 2026-07-10T04:06:33.628Z | user “更新描述文案” v2.0.0 | 2026-04-28T11:10:20.335Z | user “更新授权方式为oauth临时码,更新sse接口调用” v1.1.9 | 2026-04-01T13:39:41.209Z | user “更新描述” v1.1.8 | 2026-04-01T12:50

62
Rank
84
Safety
1.5k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.5K downloads reported by the source. Last updated 10/10/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s179wd2wxa2a8m7jhsgpkteakn83hj73:andonq
  1. Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-cyuxlif-andonq/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

148,889 characters of source documentation, loaded on request.

Extracted files

4 files captured from the source.

SKILL.md

---
name: AndonQ
description: AndonQ 腾讯云智能客服智能体 — 不切窗口、不排队,即刻获得腾讯云全产品线专业解答。支持工单查询(列表/详情/流水)、集团/MC 工单与需求单管理、腾讯云全产品线智能问答、云产品资源查询等。当用户查询工单、查看工单详情、咨询腾讯云产品问题、查询集团(360)工单/需求单、或查询腾讯云资源信息时使用。
description_zh: "腾讯云智能客服智能体,支持工单、需求单、云产品问答、资源查询"
description_en: "Tencent Cloud smart customer service — tickets, stories, product Q&A, resource query"
version: 2.0.1
allowed-tools: Read,Write,Bash,Grep
metadata:
  openclaw:
    emoji: "☁️"
    requires:
      bins:
        - python3
    permissions:
      - "network:https://andon.cloud.tencent.com"
      - "network:https://cloud.tencent.com"
    security:
      data_handling: "OAuth2 临时码仅保存在本地 ~/.andonq/auth.json(权限 0600),仅在调用 AndonQ 网关时通过 HTTPS 的 X-TANDON-CODE 请求头传输;不写入任何日志,不持久化其他用户数据"
---

# ☁️ AndonQ — 腾讯云智能客服智能体

## 零、自我介绍

当用户询问"你是谁"、"andonq 是什么"等**身份相关问题**时,**必须**使用以下固定内容回答(保持 emoji 和格式):

> Hi,我是
> **AndonQ** — 腾讯云智能客服智能体
>
> 我能帮您:
> 🎫 **工单一体化**:查工单列表、工单详情、工单流水,集团(360)工单、MC 工单一站式搞定
> 📋 **需求单管理**:集团需求单查询、需求单详情一键查看
> 🤖 **智能问答**:腾讯云全产品线(CVM、轻量、COS、CDN、数据库、VPC……)专业解答
> ☁️ **资源查询**:云产品资源盘点、配置查看
>
> 不切窗口、不排队,即刻获得腾讯云全产品线专业解答。
>
> **AndonQ: Just Ask AndonQ!**

### 0.1 功能查询(动态)

当用户询问"你有哪些功能"、"你能做什么"、"支持哪些能力"、"功能列表"等**功能范围相关问题**时,**必须通过 ChatCompletionsAndonQ 接口动态查询**,不可仅依赖本文档中的静态描述。

**触发关键词**:有哪些功能、能做什么、支持什么、功能列表、能力清单、都能干啥

**执行方式**:

```bash
SID=$(python3 -c 'import uuid;print(uuid.uuid4())')
python3 {baseDir}/scripts/andon_sse_api.py 'AndonQ有哪些功能和能力' "$SID"
```

若功能查询发生在多轮对话中,则复用首轮传入的 session_id(见 §3.3)。

**原因**:ChatCompletionsAndonQ 接口的功能会持续更新迭代,接口自身最清楚当前支持哪些能力。通过动态查询可确保向用户展示的功能列表始终是最新、最完整的,无需 Skill 侧同步更新。

**展示规则**:
1. 先展示固定的身份介绍(上方自我介绍内容)
2. 再展示从接口动态获取的功能列表
3. 接口返回失败时,兜底展示本文档 4.1 节中的静态功能场景列表

---

核心能力:通过 **OAuth2 临时码鉴权**调用 ChatCompletionsAndonQ 接口,以 SSE 流式对话方式统一承载工单查询、需求单查询、云产品问答、云资源查询等所有 AndonQ 能力。

---

## 一、鉴权方式

使用 **OAuth2 临时码鉴权**。用户在浏览器完成腾讯云账号授权后,把页面展示的临时码绑定到本地(`~/.andonq/auth.json`),后续调用接口时 Skill 自动将临时码放在 `X-TANDON-CODE` 请求头中发送,**在授权有效期内可跨会话复用**。

### 1.1 首次使用引导(用户未绑定临时码时必须执行)

当 `scripts/check_env.py` 返回码为 `2`,或 `andon_sse_api.py` 退出码为 `1` 且 `stderr` 提示需要授权(含授权 URL / Step 1/2/3 引导文案)时,**必须**按以下三步引导用户,并且**把授权链接以可点击的 Markdown 链接形式展示**(格式:`[打开授权页面](授权URL)`),而不是让用户手动复制:

**Step 1**:获取一次性授权链接并展示给用户(带随机 state,防 CSRF)

```bash
python3 {baseDir}/scripts/andon_auth.py --authorize-url
```

脚本返回 `{"success": true, "authorize_url": "https://cloud.tencent.com/open/authorize?..."}`。**必须**用以下 Markdown 格式展示给用户,便于直接点击:

> 请点击 [打开 AndonQ 授权页面]({authorize_url}) 完成腾讯云账号登录。

**Step 2**:用户在授权页面登录成功后,复制页面上展示的临时码,原样粘贴即可(脚本会自动识别并提取有效部分)。

**Step 3**:绑定临时码(推荐让用户直接把临时码发给 AI,由 Skill 调用 CLI 一键保存)

```bash
python3 {baseDir}/scripts/andon_auth.py --save '<用户粘贴的内容>'
```

脚本会自动识别并从粘贴内容中提取有效 token,写入 `~/.andonq/auth.json`(权限 0600),返回 `{"success": true, "token_masked": "****xxxx", "obtained_at": <Unix 秒级时间戳>}`。绑定成功后**授权有效期内**所有调用均可复用,无需重复绑定。

> **⚠️ 重要规则**:
> - **严禁让用户把临时码在公共场合明文暴露**,展示给用户时始终使用 `token_masked`(末 4 位可见)
> - **严禁自行编造或猜测临时码**,必须由用户从授权页面复制
> - 临时码**不是**腾讯云 AK/SK,不需要用户配置任何环境变量

### 1.2 临时码存储

| 项 | 值 |
|----|----|
| 存储路径 |

_meta.json

{
  "ownerId": "kn78zsa4e8n4avkaqf4v88gcqs821w3d",
  "slug": "andonq",
  "version": "2.0.1",
  "publishedAt": 1783656393628
}

references/api/ChatCompletionsAndonQ.md

# ChatCompletionsAndonQ — AndonQ 全局对话

AndonQ 全局对话交互接口(SSE 流式输出),核心能力(工单/需求单查询、云产品问答、云资源查询等)由后端统一承载。

## 接口定义

| 项 | 值 |
|------|------|
| URL | `https://andon.cloud.tencent.com/api/v1/gateway/chat-completions-andonq` |
| method | `POST` |
| Content-Type | `application/json` |
| Accept | `text/event-stream` |
| 鉴权 Header | `X-TANDON-CODE: <OAuth2 临时码>` |
| action | `ChatCompletionsAndonQ` |

## 请求参数(请求体 JSON)

| 参数 | 必选 | 类型 | 描述 |
|------|------|------|------|
| `content` | 是 | String | 用户问题,如 `查询我的工单` |
| `session_id` | 是 | String | 会话 ID(UUID v4),同一对话必须保持不变 |

### curl 示例

```bash
curl -XPOST 'https://andon.cloud.tencent.com/api/v1/gateway/chat-completions-andonq' \
  -H 'Content-Type: application/json' \
  -H 'Accept: text/event-stream' \
  -H 'X-TANDON-CODE: <你的临时码>' \
  --data '{"content":"查询下我的轻量服务器","session_id":"<UUID v4>"}' \
  -N
```

## 调用示例(脚本)

```bash
python3 {baseDir}/scripts/andon_sse_api.py '查询我的工单'
python3 {baseDir}/scripts/andon_sse_api.py '详细说说' '<首轮使用的 session_id>'
```

## 鉴权(OAuth2 临时码)

### 授权流程

1. **浏览器打开授权页面并登录**(腾讯云开放平台);授权 URL 形式如下,其中 `state` 每次由脚本随机生成(UUID)用于防 CSRF。终端中该 URL 独占一行,支持 Cmd/Ctrl 点击直接打开,无需手动复制:

   ```
   https://cloud.tencent.com/open/authorize?app_id=100048267608&redirect_url=http%3A%2F%2Fandon.qq.com%2Foauth%2Faq%2Fcallback&scope=login&state=<随机 uuid>
   ```

   实际请通过 `python3 {baseDir}/scripts/check_env.py --bind-code` 打印出的 URL打开,不要复用旧 URL。

2. **登录成功后**,复制页面上展示的临时码。

3. **绑定临时码**(交互式粘贴并落盘):

   ```bash
   python3 {baseDir}/scripts/check_env.py --bind-code
   ```

### 临时码本地存储

- **路径**:`~/.andonq/auth.json`
- **权限**:`0600`(仅当前用户可读写)
- **字段**:
  ```json
  {
    "token": "<临时码>",
    "obtained_at": 1761227278
  }
  ```
  `obtained_at` 为 Unix 秒级时间戳(整数)。旧版本 ISO8601 字符串会被自动兼容读取。
- **跨会话**:在临时码授权有效期内,新开会话、历史被压缩时脚本均会从该文件读取并复用;临时码过期后需重新授权并绑定

### 调用阶段

每次调用 `andon_sse_api.py` 时,脚本自动从 `~/.andonq/auth.json` 读取 `token`,并作为 HTTP Header `X-TANDON-CODE` 发送至网关。

### 临时码失效

当接口返回 `HTTP 401 / 403`,脚本会把错误统一映射为 `AuthCodeInvalid`,提示用户重新授权并执行 `--bind-code` 绑定。

> **AK/SK 已废弃**:本版本起不再使用腾讯云 API AK/SK 签名;`TENCENTCLOUD_SECRET_ID` / `TENCENTCLOUD_SECRET_KEY` / `TENCENTCLOUD_TOKEN` 环境变量无需配置(保留也不会影响本 Skill 运行)。

## 返回格式

脚本自动解析 SSE 流并汇总为统一 JSON:

```json
{
  "success": true,
  "action": "ChatCompletionsAndonQ",
  "data": {
    "content": "当前账号下共有 **15** 个工单...",
    "is_final": true
  },
  "requestId": "d72bal4g699bmj4h7gs0"
}
```

## 返回字段说明

| 字段 | 类型 | 说明 |
|------|------|------|
| `content` | String | Markdown 格式回答(原样返回,不做任何后处理) |
| `is_final` | Boolean | 是否为最终结果(收到 `run.completed` 或 `message.completed` 时为 `true`) |

## SSE 响应事件(对齐 OpenClaw gwproto.StreamEvent,脚本已自动解析)

| 事件 `type` | 脚本行为 | 关键字段 |
|------|------|------|
| `message.delta` | 追加 `delta` 到 content 缓冲;实时 flush 到 stdout | `delta` |
| `message.completed` | 使用 `reply` 覆写 content(保证完整) | `reply` |
| `run.progress` | 输出 `[stage] summary` 到 stderr | `stage`、`summary` |
| `run.completed` | 正常结束流,返回成功结果 | — |
| `run.error` | 映射为统一错误 `{code, message}` 返回 | `error.type`、`err

skill-card.md

## Description:

AndonQ helps agents answer Tencent Cloud support questions, query tickets and requirements, and retrieve cloud resource information through the AndonQ chat service.

This skill is ready for commercial/non-commercial use.

## Publisher:

[cyuxlif](https://clawhub.ai/user/cyuxlif)

### License/Terms of Use:

MIT-0

## Use Case:

Tencent Cloud users and support operators use this skill to ask product questions, inspect ticket or requirement status, and retrieve account resource information without leaving the agent conversation.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: OAuth temporary codes can grant access to Tencent Cloud support or resource workflows if exposed.

Mitigation: Prefer local interactive binding, avoid pasting codes into shared chats, keep ~/.andonq/auth.json restricted to the current user, and reauthorize if a code may have been exposed.

Risk: The skill sends user questions and resource-support context to the AndonQ backend.

Mitigation: Use it only for Tencent Cloud support and resource questions that are appropriate to send to the AndonQ service.

Risk: The environment check may contact clawhub.ai for update checks despite the stated Tencent-only network scope.

Mitigation: Review outbound network policy before deployment and use the provided skip-update mode when update checks are not permitted.

## Reference(s):

- [ClawHub Skill Page](https://clawhub.ai/cyuxlif/skills/andonq)
- [cyuxlif Publisher Profile](https://clawhub.ai/user/cyuxlif)
- [ChatCompletionsAndonQ API Reference](references/api/ChatCompletionsAndonQ.md)
- [AndonQ Gateway](https://andon.cloud.tencent.com)
- [Tencent Cloud Authorization](https://cloud.tencent.com/open/authorize)

## Skill Output:

**Output Type(s):** [text, markdown, shell commands, configuration, guidance]

**Output Format:** [Markdown with inline shell commands and service-returned answers]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Answers are returned from the AndonQ SSE service; authentication and session guidance may be included when setup or reauthorization is required.]

## Skill Version(s):

2.0.1 (source: frontmatter and release evidence)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to AndonQ and adjacent AI workflows.