📦 tarot-reading — 技能工具

v1.0.0

塔罗牌解读技能。当用户提到以下意图时使用此技能:抽塔罗牌、算塔罗、塔罗占卜、塔罗解读;问塔罗阵型、塔罗单牌、三牌阵、塞尔特十字;问是/否问题(能否、可不可以、会不会);找东西、丢了什么在哪里;希望得到建议或提醒。此技能使用 Python secrets 模块实现密码学安全的随机抽牌(真随机,非 AI 概率采样)。

0· 20·0 当前·0 累计
jiafei0007 头像by @jiafei0007 (Gloria)·MIT-0
下载技能包
License
MIT-0
最后更新
2026/4/16
0
安全扫描
VirusTotal
无害
查看报告
OpenClaw
安全
high confidence
The skill's code, instructions, and requirements are consistent with a local tarot-reading utility: it runs a local Python script, uses Python's secrets for randomness, does not request credentials or network access, and does not perform unexpected actions.
评估建议
This skill appears coherent and self-contained: it runs a local Python script that draws and interprets tarot cards using the bundled data files and Python's secrets module. Before installing or invoking it, consider: 1) review the bundled scripts if you run code from untrusted sources (they will execute on your agent's environment); 2) the skill does not contact the network or request credentials, but it will execute Python locally—run it in a sandbox if that concerns you; 3) there are minor no...
详细分析 ▾
用途与能力
Skill name/description (tarot reading) matches the provided files and runtime actions. The code implements a 78-card Rider‑Waite deck, spreads, and a draw script using the secrets module. Nothing requested (no env vars, no binaries, no config paths) is disproportionate to a tarot utility.
指令范围
SKILL.md tells the agent to run the included local script (scripts/draw_tarot.py) with spread and question-type args. The script reads only bundled reference modules, formats output, and returns JSON/text. There are no instructions to read arbitrary user files, query system configuration, or send data to external endpoints.
安装机制
No install spec is provided (instruction-only install). Code files are bundled with the skill and no external downloads or package installs occur. This is low-risk from an install perspective.
凭证需求
The skill requires no environment variables, no credentials, and no config paths. The code does not access os environment variables or network sockets. Requested privileges are proportionate to the stated purpose.
持久化与权限
always is false and the skill does not modify other skills or system-wide settings. It only executes a local script and prints output; no persistent background presence or privileged changes are requested.
安全有层次,运行前请审查代码。

License

MIT-0

可自由使用、修改和再分发,无需署名。

运行时依赖

无特殊依赖

版本

latestv1.0.02026/4/16

Tarot skill initial release, now with full-featured, cryptographically-secure card draws and multi-spread support: - Supports Rider-Waite-Smith 78-card deck (Major and Minor Arcana). - Implements 7+ classic tarot spreads for advice, yes/no, reminders, and item-finding questions. - Uses Python secrets module for cryptographically secure randomness in draws. - Structured, template-based interpretations tailored to user intent and spread. - Provides both JSON output and clear, user-friendly analysis, always with an entertainment-only disclaimer.

无害

安装命令

点击复制
官方npx clawhub@latest install tarot-reading-new
镜像加速npx clawhub@latest install tarot-reading-new --registry https://cn.longxiaskill.com

技能文档

# 塔罗牌解读技能

功能概述

本技能提供韦特塔罗 78 张牌的完整解读,支持 4 种问题类型和 7 种牌阵,使用 secrets 模块实现密码学级别的随机抽牌。

核心原则

  • 随机性:所有抽牌使用 secrets 模块(系统级加密随机),而非 AI 概率采样
  • 牌库:标准韦特塔罗(Rider-Waite-Smith)78 张牌,大阿尔卡纳 22 张 + 小阿尔卡纳 56 张
  • 尊重用户:用户提问时心中默念问题,不追问具体内容
  • 牌意解读:基于牌面符号象征和传统韦特塔罗牌意解读
  • 娱乐定位:塔罗解读仅供娱乐参考,不构成任何实际决策建议

问题类型与默认阵型

| 问题类型 | 默认推荐阵型 | 说明 | |---------|------------|------| | 是否 | 单牌(可升级为三牌阵) | 快速二选一答案 | | 建议 | 过去-现在-未来 | 寻求行动指引 | | 提醒 | 过去-现在-未来 | 需要注意什么 | | 找物 | 单牌(可升级为寻物阵) | 寻找丢失物品 |

支持的牌阵

1. 单牌(1张)

  • 适合:是否问题、找物
  • 解读:直接给出答案或物品线索

2. 过去-现在-未来(3张)

  • 适合:建议、提醒、是否
  • 解读:揭示时间线上的变化

3. 状况-建议-结果(3张)

  • 适合:建议、提醒
  • 解读:客观分析 → 行动指引 → 预期结果

4. 自己-对方-关系(3张)

  • 适合:建议、提醒(人际关系专项)
  • 解读:分析关系中双方立场

5. 四要素(4张)

  • 适合:建议、提醒
  • 解读:从火/水/风/土四元素分析问题

6. 马蹄铁(7张)

  • 适合:建议、提醒
  • 解读:U字形阵,分析阻碍及如何移除

7. 塞尔特十字(10张)

  • 适合:建议、提醒(最全面)
  • 解读:深入分析复杂问题,包含核心、阻碍、根源等10个位置

8. 寻物(3张)

  • 适合:找物
  • 解读:物品状态 → 障碍 → 寻找指引

9. 寻物扩展(5张)

  • 适合:找物
  • 解读:详细位置、状态、障碍、时间、行动指引

使用流程

Step 1:理解用户问题

判断用户问题属于哪种类型:
  • 是否:问"能不能/会不会/是不是" → 归为是否
  • 建议:问"该怎么办/做什么/怎么选" → 归为建议
  • 提醒:问"需要注意什么/有什么要提醒" → 归为提醒
  • 找物:问"东西在哪/找不到XX了" → 归为找物

Step 2:确定阵型

  • 如果用户指定了阵型 → 使用指定阵型
  • 如果用户没有指定 → 使用该问题类型的默认阵型
  • 可以询问用户是否要升级(如"是否"想升级为三牌阵吗?)

Step 3:执行抽牌脚本

调用 scripts/draw_tarot.py 执行抽牌: `` python /scripts/draw_tarot.py [问题类型] [阵型名称] ` 参数说明:
  • 问题类型:是否 / 建议 / 提醒 / 找物
  • 阵型名称:单牌 / 过去-现在-未来 / 状况-建议-结果 / 自己-对方-关系 / 四要素 / 马蹄铁 / 塞尔特十字 / 寻物 / 寻物扩展

Step 4:解读结果

脚本会输出两部分内容:
  • JSON 结构化数据:包含时间、牌阵、问题类型、各张牌的详细信息
  • 可读解读文本:格式化后的解读内容
解读风格要求
  • 简洁自然,不说废话
  • 结合用户问题的实际场景解读
  • 说明为什么抽到这张牌与问题相关
  • 不做过度联想,忠于牌意
  • 结尾提示"仅供娱乐参考"

Step 5:互动延伸(如适用)

解读结束后,可以:
  • 问用户是否要换一种阵型深入看
  • 问用户是否要针对某张牌单独解读
  • 如果是"是否"问题,可问是否升级为三牌阵看更多细节

是/否判断逻辑

单牌阵判断是/否时,根据以下规则: | 类别 | 正位 | 逆位 | |------|------|------| | 大阿尔卡纳(阳性牌) | ✅ 是 | ❌ 否 | | 大阿尔卡纳(阴性牌) | ❌ 否 | ✅ 是 | | 大阿尔卡纳(中性牌) | ✅ 是 | ❌ 否 | | 权杖/圣杯/星币(小阿尔卡纳) | ✅ 是 | ❌ 否 | | 宝剑(小阿尔卡纳) | ❌ 否 | ✅ 是 | 阳性大阿尔卡纳(倾向于肯定):愚人0、魔术师1、皇后3、恋人6、力量8、隐士9、命运之轮10、正义11、节制14、星星17、太阳19、审判20、世界21 阴性大阿尔卡纳(倾向于否定):教皇5、战车7、吊人12、死神13、恶魔15、塔16、月亮18

输出格式模板

` 🎴 【塔罗解读 · <牌阵名称>】 <每张牌的解读>
<根据问题类型的总结>
⚠️ 塔罗解读仅供娱乐参考,不构成任何实际决策建议。
``

常见问题处理

Q: 用户没有明确指定阵型怎么办? A: 使用该问题类型的默认阵型,并告知用户选择的理由。 Q: 用户想连续抽多张同一位置可以吗? A: 可以,但不建议超过3次。多次抽同一位置的牌通常反映的是用户内心的不确定性,而非牌面本身的信息。 Q: 抽到相同的牌怎么办? A: 如果连续两次抽到完全相同的牌(牌号和方位都相同),告知用户这是极低概率事件(1/6084),可能有某种深层含义,可以深入解读。 Q: 用户问的是很私人的问题不想说具体内容? A: 完全理解,尊重用户隐私。只需用户心中默念问题即可,不需要说出来。

数据来源ClawHub ↗ · 中文优化:龙虾技能库