← 返回 Skills 市场
perrykono-debug

Now Huatou Engine

作者 perrykono-debug · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
50
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install now-huatou-engine
功能描述
Generate Zen-style kōan prompts by selecting or creating thought-provoking questions based on user context to aid mindfulness and self-inquiry.
使用说明 (SKILL.md)

SKILL.md — now-huatou-engine

功能

话头引擎:从模板库选取/生成话头。

MVP 阶段(V1)

纯静态,从 data/huatou-templates-v1.0.json 读取固定模板库。

选取算法

输入: scene_id (anxiety | overthinking | decision | emotion | free)
  ↓
scene_id → scene_tags 映射
  ↓
从模板库筛选: template.scene 包含任一 tag
  ↓
随机选取一条
  ↓
填充变量 {emotion}, {time_word}
  ↓
输出: 话头文本

scene_tags 映射

{
  "anxiety": ["anxiety", "fear"],
  "overthinking": ["overthinking"],
  "decision": ["decision", "confusion", "comparison"],
  "emotion": ["anger", "sadness", "judgment", "shame", "pain"],
  "free": []
}

free 场景:scene_tags 为空,从全部模板中随机选取。

变量填充

变量 默认值 场景覆盖
{emotion} 焦虑 anxiety→焦虑, anger→生气, fear→害怕, sadness→难过, overthinking→想, confusion→困惑, pain→痛, shame→羞耻
{time_word} 过去 regret→过去, fear→未来, waiting→等待

填充时按当前场景覆盖默认值。

V2 阶段(动态话头生成)

流程

用户输入: "老板今天批评我"
  ↓
场景识别: 工作压力 → anxiety
  ↓
执着识别: 被认可 → 我执
  ↓
话头生成: "谁需要被认可?"
  ↓
安全过滤: 检查是否适合展示
  ↓
输出

安全过滤规则

  • 不生成涉及自伤/自杀的话头
  • 不生成涉及伤害他人的话头
  • 不在用户表达严重心理危机时生成话头,改为展示求助信息
  • 检测关键词:自杀、想死、活不下去 → 显示心理援助热线

V2 需要 LLM

调用 qclaw/modelroute,prompt 模板:

你是一个禅宗话头生成器。用户会描述他的处境,你需要:

1. 识别场景(焦虑/想太多/决策/情绪/其他)
2. 识别核心执着(我执/法执/时间执/情绪执)
3. 生成一条话头

话头规则:
- 只问「谁」,不问「为什么」
- 不引导答案
- 不安慰不建议
- 一句话,不超过15个字
- 格式参考:谁在{情绪}?/ {情绪}的人在哪里?/ 什么从未改变?

用户输入:{user_input}

输出JSON:
{"scene": "...", "attachment": "...", "huatou": "..."}
安全使用建议
Install only if you are comfortable with potentially sensitive emotional context being routed to an external model service. Avoid entering crisis details, personal identifiers, or private health information unless the publisher adds clear disclosure, opt-in, and data-minimization guidance.
能力评估
Purpose & Capability
The stated purpose is generating Zen-style inquiry prompts from user context, including anxiety and emotional scenes, which fits the documented behavior.
Instruction Scope
The instructions include crisis and self-harm handling and then describe sending raw user input to qclaw/modelroute for dynamic generation, without clear consent, minimization, retention, or third-party processing guidance.
Install Mechanism
The artifact contains only SKILL.md, with no executable scripts, package install steps, or automatic setup behavior.
Credentials
External LLM routing is proportionate to dynamic prompt generation, but the content domain is sensitive and the skill does not clearly bound what user data may be transmitted.
Persistence & Privilege
No persistence, local file writing, credential use, privileged access, or background execution is described in the artifact.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install now-huatou-engine
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /now-huatou-engine 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
now-huatou-engine v1.0.0 - 初始版本发布,实现禅宗话头引擎基本功能 - 支持从本地静态模板库 data/huatou-templates-v1.0.json 随机选取和变量填充 - 基于不同场景(如焦虑、想太多、决策、情绪、自由)自动筛选相关话头 - 按场景和默认值自动填充变量(如{emotion}, {time_word}) - SKILL.md 详细介绍 MVP 和未来动态生成流程、选取算法及安全规则
元数据
Slug now-huatou-engine
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Now Huatou Engine 是什么?

Generate Zen-style kōan prompts by selecting or creating thought-provoking questions based on user context to aid mindfulness and self-inquiry. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 50 次。

如何安装 Now Huatou Engine?

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

Now Huatou Engine 是免费的吗?

是的,Now Huatou Engine 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Now Huatou Engine 支持哪些平台?

Now Huatou Engine 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Now Huatou Engine?

由 perrykono-debug(@perrykono-debug)开发并维护,当前版本 v1.0.0。

💬 留言讨论