← Back to Skills Marketplace
perrykono-debug

Now Huatou Engine

by perrykono-debug · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
50
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install now-huatou-engine
Description
Generate Zen-style kōan prompts by selecting or creating thought-provoking questions based on user context to aid mindfulness and self-inquiry.
README (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": "..."}
Usage Guidance
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install now-huatou-engine
  3. After installation, invoke the skill by name or use /now-huatou-engine
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
now-huatou-engine v1.0.0 - 初始版本发布,实现禅宗话头引擎基本功能 - 支持从本地静态模板库 data/huatou-templates-v1.0.json 随机选取和变量填充 - 基于不同场景(如焦虑、想太多、决策、情绪、自由)自动筛选相关话头 - 按场景和默认值自动填充变量(如{emotion}, {time_word}) - SKILL.md 详细介绍 MVP 和未来动态生成流程、选取算法及安全规则
Metadata
Slug now-huatou-engine
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is 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. It is an AI Agent Skill for Claude Code / OpenClaw, with 50 downloads so far.

How do I install Now Huatou Engine?

Run "/install now-huatou-engine" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Now Huatou Engine free?

Yes, Now Huatou Engine is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Now Huatou Engine support?

Now Huatou Engine is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Now Huatou Engine?

It is built and maintained by perrykono-debug (@perrykono-debug); the current version is v1.0.0.

💬 Comments