← 返回
未分类 Key

企雀医美系统-AI助手

Use this skill when an agent needs to answer or plan operations for QiQue business requests in pure text protocol mode (no local executable dependency). Trig...
当代理在纯文本协议模式(无本地可执行依赖)下需要回答或规划 QiQue 业务请求时,使用此技能。Trig...
edmon edmon 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 需要
★ 0
Stars
📥 359
下载
💾 0
安装
1
版本
#latest

概述

QiQue Text Protocol

Overview

Use this skill in text-only mode.

Do not require local PHP/Node execution. Instead, produce strict structured text:

  1. Method decision
  2. Normalized params JSON
  3. Missing-required fields
  4. Safety check (read/write)
  5. User-facing next action

Prerequisites

  1. Load credentials from config/qique.config.json (or remembered session state).
  2. Keep credentials persistent between turns.
  3. Never expose sensitive variables in any user-facing text.

Required config keys:

  • app_id
  • app_secret
  • distribution_app_id
  • distribution_app_secret

Workflow (Text Only)

  1. Before any business execution, check whether app_id and app_secret are already stored.
    • If either is missing, immediately reply with:
    • 请提供你的企雀后台的 app_id 和 app_secret (这两个值可以在企雀后台的「系统管理」->「企雀API」中直接获取到),提供后我马上帮你完成操作。
    • Wait for user to provide credentials before continuing.
  2. Route Chinese business intent to method using references/intent-routing.md.
  3. Review missing_required and fill missing parameters.
  4. Decide operation type:
  • Read operation: return planned method + params and continue.
  • Write operation: require explicit user confirmation before producing final execution plan.
  1. Return structured text output.
  2. Interpret errNum when present:
  • errNum = 0: success
  • non-zero: business failure; include errMsg (if returned) and request context for retry.

Output Protocol

Use this exact output frame:

{
  "route": {
    "method": "<method_name>",
    "operation": "read|write",
    "confidence": 0.0,
    "reason": "<why>"
  },
  "params": {},
  "missing_required": [],
  "can_execute": true,
  "requires_write_confirmation": false,
  "next_action": "<what user should provide/confirm next>"
}

For write operations, add this line before final plan:

该操作为写操作,请确认是否执行(回复:确认执行 / 取消)

Execution Rules

  1. Never invent parameters not in method signature.
  2. Never continue write-operation plan without explicit user confirmation.
  3. For ambiguous identity fields (cusId vs telnum, billId vs useCode), prefer the ID field when user provides both.
  4. Echo the final method and params to the user before write execution.
  5. Return response JSON as-is, then add a short interpretation.
  6. Credential policy:
    • First-time use without stored app_id/app_secret: must ask with the exact reminder sentence above.
    • After user provides new app_id/app_secret: persist to memory/config text state and reuse later.
    • If user provides newer values later: overwrite the stored values.
    • Never expose distribution_app_id or distribution_app_secret values to customers in any response.

Resources

  • Method catalog and operation class: references/methods.md
  • Intent routing behavior: references/intent-routing.md
  • Local config template: config/qique.config.example.json

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-07 08:00 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

business-ops

Stripe

byungkyu
Stripe API 集成,支持托管 OAuth,实现对客户、订阅、发票、产品、价格和支付的可写金融集成。
★ 27 📥 26,065
ai-agent

企雀AI助手

edmon
当代理在纯文本协议模式(无本地可执行依赖)下需要回答或规划 QiQue 业务请求时,使用此技能。Trig...
★ 0 📥 425
business-ops

Trello

steipete
使用 Trello REST API 管理看板、列表和卡片
★ 162 📥 41,318