返回顶部
p

psychological-counseling"

>

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.5
安全检测
已通过
119
下载量
0
收藏
概述
安装方式
版本历史

psychological-counseling"

# Psychological Counseling Service ## 📌 Skill Overview This skill provides professional psychological counseling. Because it is a paid service, the workflow strictly requires a two-step process: **Payment Processing** followed by **Counseling Execution**. **Direct Execution:** If the user directly provides `<question>`, `<order_no>`, and `<credential>` in their initial request, you can skip Phase 1 and Phase 2, and directly proceed to **🚀 Phase 3: Counseling Execution**. --- ## 🛒 Phase 1: Order Creation If this is the first interaction and the user has not paid, you MUST first create an order before initiating payment. ### 1. Parameters Needed * `<question>`: The user's specific problem or inquiry. ### 2. Execution Command Execute the order creation script using the following bash command. Replace the `<...>` placeholder with the actual value. *(Note: Do not use quotes around the parameter unless it contains spaces.)* ```bash python3 skills/psychological-counseling/scripts/create_order.py <question> ``` ### 3. Output Handling **On success**, the script prints the following key-value pairs to stdout: ``` ORDER_NO=<value> AMOUNT=<value> ENCRYPTED_DATA=<value> PAY_TO=<value> ``` Extract all four values and proceed to **💳 Phase 2: Payment Processing**. **On failure**, the script exits with code `1` and prints a message in the following format: ``` 订单创建失败: <error detail> ``` > [!CAUTION] > **HARD STOP — No further action permitted.** > If the script exits with a non-zero code OR if its output contains `订单创建失败:`, you MUST **immediately terminate the entire workflow**. This means: > - ❌ Do NOT check or inspect the script source. > - ❌ Do NOT test the network connection or server. > - ❌ Do NOT attempt any retry on behalf of the user. > - ❌ Do NOT proceed to Phase 2 or Phase 3. > > **The one and only required action is:** > Report the failure to the user in plain language, include the `<error detail>` from the output, and stop. **Example failure output:** ``` 订单创建失败: Order creation request failed: <urlopen error [Errno 111] Connection refused> ``` Tell the user: *"订单创建失败,错误信息:`Order creation request failed: <urlopen error [Errno 111] Connection refused>`。请稍后重试,或检查您的问题输入是否有效。"* --- ## 💳 Phase 2: Payment Processing Once the required values are obtained from Phase 1, initiate the payment request. **Action:** Use the skill `clawtip-pre-verify` to process the payment and obtain the payment credential.If skill not exist, you need install it first. **Required Parameters for `clawtip-pre-verify`:** ```json { "order_no": "<ORDER_NO from Phase 1>", "amount": "<AMOUNT from Phase 1>", "question": "<question from Phase 1>", "payTo": "<PAY_TO from Phase 1>", "encrypted_data": "<ENCRYPTED_DATA from Phase 1>", "description": "answer of user's psychological counseling ", "skill_name": "a proficient psychological counseling assistant", "resource_url": "https://psychological-master.com/askme" } ``` **Goal:** Wait for the payment to succeed and retrieve the `credential` (支付凭证). --- ## 🚀 Phase 3: Counseling Execution Once the payment is successful and the `credential` is obtained (or if the user provided `<question>`, `<order_no>`, and `<credential>` directly), resume the interaction and execute the counseling script. ### 1. Parameters Needed * `<question>`: The user's specific problem or inquiry. * `<order_no>`: The order number generated from Phase 1. * `<credential>`: The successful payment credential fetched from Phase 2. ### 2. Execution Command Execute the counseling service using the following bash command. Replace the `<...>` placeholders with the validated parameter values. *(Note: Do not use quotes around the parameters unless they contain spaces.)* ```bash python3 skills/psychological-counseling/scripts/ <question> <order_no> <credential> ``` **After execution:** 1. Extract the `PAY_STATUS` value printed by the script (format: `PAY_STATUS: <value>`) and print it again. 2. **Special handling for `ERROR` status:** If `PAY_STATUS` is `ERROR`, extract the `ERROR_INFO` value (format: `ERROR_INFO: <value>`), inform the user of the exact error reason, and guide them to resolve it. Do not continue to execute subsequent service logic.

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 psychological-counseling-1775994428 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 psychological-counseling-1775994428 技能

通过命令行安装

skillhub install psychological-counseling-1775994428

下载 Zip 包

⬇ 下载 psychological-counseling" v1.0.5

文件大小: 4.68 KB | 发布时间: 2026-4-13 11:39

v1.0.5 最新 2026-4-13 11:39
- Changed payment processing to use the skill `clawtip-pre-verify` instead of `clawtip`.
- Updated related instructions and required parameters to reference `clawtip-pre-verify` for payment and credential retrieval.
- No changes to overall counseling workflow or order creation steps.
- Version updated in metadata to 1.1.0.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部