让命运决定
- 作者仓库星标 0
- 作者更新于 2026年8月24日 23:09
- 作者仓库 skills
- 领域
- 通用
- 作者声明的智能体
- 未找到明确声明;不据此推断已兼容或已测试
- 静态检查
- 88 / 100 · 启发式扫描,不代表运行安全
- 运行环境证据
- 未执行;当前没有隔离运行测试证据
- 作者 / 版本 / 许可证
- @trailofbits · 未声明许可证
- 上下文用量评级
- 低消耗
- 接入复杂程度
- 需简单配置
- 是否需要外部接口密钥
- 不需要
- 兼容的系统
- 未声明(默认跨平台)
- 运行环境要求
- 未检出明确要求
- 检测到的文件与系统行为
-
- 只读
- 允许写入 / 修改
- 命令执行
- 网络行为
- 仅限本地
- 安装命令数
- 无(仅作为资料)
需要注意: 未声明工具权限范围;实际权限由运行环境决定。
uv run --no-config {baseDir}/scripts/draw_cards.py
# Let Fate Decide
When the path forward is unclear, let the cards speak.
## Quick Start
1. Run the drawing script:
```bash
uv run --no-config {baseDir}/scripts/draw_cards.py
```
2. The script outputs JSON for the default 12 Houses of the Zodiac spread:
12 houses, each with 1 Major Arcana card and 2 Minor Arcana cards. Each
house and card includes a `file` path relative to `{baseDir}/`
3. Read each house file and each card's meaning file to understand the draw.
For faster reads, use `--content` to include house and card text directly
in the JSON:
```bash
uv run --no-config {baseDir}/scripts/draw_cards.py --content
```
4. Interpret the spread using the guide at [{baseDir}/references/INTERPRETATION_GUIDE.md]({baseDir}/references/INTERPRETATION_GUIDE.md)
5. When the task belongs to a specialized technical workflow, use
[{baseDir}/references/TECHNICAL_CONTEXT_LENSES.md]({baseDir}/references/TECHNICAL_CONTEXT_LENSES.md)
to translate the reading into an audit, verification, domain, failure-class,
or stakeholder lens
6. Apply the interpretation to the task at hand
## When to Use
- **Vague prompts**: The user's request is ambiguous and multiple reasonable approaches exist
- **Explicit invocations**: "I'm feeling lucky", "let fate decide", "dealer's choice", "surprise me", "whatever you think", "YOLO"
- **Casual delegation**: "whatever", "up to you", "your call", "idk", "just do something", "wing it", "I trust you", "doesn't matter", "do what you want", "I don't care", "any approach works", "you pick"
- **Yu-Gi-Oh energy**: "Heart of the cards", "I believe in the heart of the cards", "you've activated my trap card", "it's time to duel"
- **Shrug-like brevity**: Very short prompts that fully delegate the decision without expressing a preference
- **Redraw requests**: "Try again" or "draw again" when no actual system changes occurred (this means draw new cards, not re-run the same approach)
- **Tie-breaking**: When you are about to arbitrarily pick between 2+ valid approaches, draw cards instead of silently choosing one
## When NOT to Use
- The user has given clear, specific instructions
- The task has a single obvious correct approach
- As the deciding authority for safety-critical work (security, data integrity,
production deployments, release approval, incident response)
- The user explicitly asks you NOT to use Tarot
- The user's tone is precision-seeking rather than casual -- ask clarifying questions instead to gather actual requirements
## Security and Correctness Use
This skill may be used inside a security, audit, or correctness pipeline as a
creative lens for discovery: choosing which angle to inspect next, breaking
analysis paralysis, generating hypotheses, or surfacing blind spots.
It is never sufficient by itself. In security and correctness contexts, the
reading must be followed by ordinary engineering evidence: source review,
tests, proofs, traces, reproduction steps, exploitability analysis, or other
domain-appropriate verification. Do not treat a favorable card as permission to
ship, suppress a finding, skip validation, or overrule a concrete risk.
## How It Works
### The Draw
The script uses `secrets` for cryptographic randomness:
1. Builds separate Major Arcana (22 cards) and Minor Arcana (56 cards) decks
2. Performs Fisher-Yates shuffles via `secrets.randbelow()` (no modulo bias)
3. Deals the default 12 Houses of the Zodiac spread
4. Each house receives 1 Major Arcana card followed by 2 Minor Arcana cards
5. Each of the 36 cards independently has a 50% chance of being reversed
The default spread records a conservative unordered-card entropy budget
exceeding 100 bits: roughly `log2(C(22,12))` bits from Major Arcana selection,
`log2(C(56,24))` bits from Minor Arcana selection (assuming
`secrets.randbelow()` is cryptographically secure), plus 36 reversal bits. The
exact values are computed and reported in the JSON output under `entropy_bits`.
The actual ordered assignment of cards to houses contains more entropy.
### The Spread
The default spread is **12 Houses of the Zodiac**:
| House | Represents | Question It Answers |
|-------|------------|---------------------|
| 1 | **Self** | How should this work begin? |
| 2 | **Resources** | What values, assets, or constraints matter? |
| 3 | **Communication** | What needs to be clarified or connected? |
| 4 | **Foundations** | What context or dependency anchors the task? |
| 5 | **Creativity** | Where should experimentation or delight shape the work? |
| 6 | **Practice** | What quality, maintenance, or execution concern matters? |
| 7 | **Partnership** | Who or what must this integrate with? |
| 8 | **Transformation** | What risk, shared state, or deep change is present? |
| 9 | **Exploration** | What principle or broader strategy guides the path? |
| 10 | **Calling** | What delivery or long-term outcome is being served? |
| 11 | **Community** | What system, network, or shared aspiration is involved? |
| 12 | **The Hidden** | What blind spot, ending, or unconscious factor matters? |
Within each house, the Major Arcana card sets the archetypal theme and the two
Minor Arcana cards provide practical detail.
For compatibility with older workflows, `draw_cards.py --legacy` returns the
previous 4-card hand, and `draw_cards.py --legacy <count>` returns a custom
hand of 1-78 cards. A positional count without `--legacy` is rejected, because
the new default spread has a fixed shape.
### Reference Files
Each house's meaning is in its own markdown file under `{baseDir}/houses/`.
House files describe how the house applies across technical contexts including
building new projects, vulnerability discovery, correctness verification, and
common audit, verification, domain, failure-class, and stakeholder workflows.
Each card's meaning is in its own markdown file under `{baseDir}/cards/`:
- `cards/major/` - 22 Major Arcana (archetypal forces)
- `cards/wands/` - 14 Wands (creativity, action, will)
- `cards/cups/` - 14 Cups (emotion, intuition, relationships)
- `cards/swords/` - 14 Swords (intellect, conflict, truth)
- `cards/pentacles/` - 14 Pentacles (material, practical, craft)
### Interpretation
After drawing, read each house file and each card file, then synthesize
meaning. See [{baseDir}/references/INTERPRETATION_GUIDE.md]({baseDir}/references/INTERPRETATION_GUIDE.md) for the full interpretation workflow.
For cross-domain translation, see
[{baseDir}/references/TECHNICAL_CONTEXT_LENSES.md]({baseDir}/references/TECHNICAL_CONTEXT_LENSES.md).
Key rules:
- Reversed cards invert or complicate the upright meaning
- Major Arcana cards carry more weight than Minor Arcana
- The spread tells a story across all 12 houses; don't interpret cards in isolation
- Map abstract meanings to concrete technical decisions
- In security, audit, and correctness work, use the reading to choose an
investigation path, then require evidence before accepting or dismissing any
risk
- **Never output interpretation as a text-only turn.** Include the
interpretation alongside your next tool call (the action that
implements the chosen option). Prefer `--content` so all 36 card
meanings and all 12 house meanings are available from the draw output.
## Example Session (House-Level Fragment)
A real reading synthesizes all 12 houses; the fragment below shows only what
one house contributes so the format is clear. Do not stop after one house in
actual use.
```
User: "I dunno, just make it work somehow"
[Draw cards]
1st House (Self): The Magician (upright), Five of Swords (reversed),
Ten of Pentacles (upright)
House contribution: The starting stance is resourceful and tool-rich
(Magician), but the practical details warn against combative edge-case work
(Five of Swords reversed) while still favoring maintainable craft
(Ten of Pentacles). This is one input into the overall reading; combine with
the remaining 11 houses before deciding on an approach.
```
The named `draw` agent returns a more compact form for portent questions:
3 concise bullets covering the dominant theme, the main risk or blind spot,
and the recommended next action.
## Error Handling
If the drawing script fails:
- **Script crashes with traceback**: Report the error to the user and skip the reading. Do not invent cards or simulate a draw — the whole point is real entropy.
- **Card file not found**: Note the missing file, interpret the card from its name and suit alone, and continue with the reading.
- **Never fake entropy**: If the script cannot run, do not simulate a draw using your own "randomness." Tell the user the draw failed.
## Rationalizations to Reject
| Rationalization | Why Wrong |
|----------------|-----------|
| "The cards said to, so I must" | Cards inform direction, they don't override safety or correctness |
| "This reading justifies my pre-existing preference" | Be honest if the reading challenges your instinct |
| "The reversed card means do nothing" | Reversed means a different angle, not inaction |
| "Major Arcana overrides user requirements" | User requirements always take priority over card readings |
| "I'll keep drawing until I get what I want" | One draw per decision point; accept the reading |
| "The reading says the risk is fine" | Cards can suggest what to inspect; only evidence can dismiss a security or correctness concern |
章节与文件索引
按说明文件中的顺序排列。
快速入门
何时使用
何时不使用
安全性和正确性使用
抽签
文件/命令 -> file · {baseDir}/ · --content · secrets · secrets.randbelow() · log2(C(22,12)) · log2(C(56,24)) · entropy_bits
内容校验值 -> b7a0069b348e
当前原文的自动摘译,尚未人工审校。
快速入门
运行绘图脚本:该脚本输出默认 12 个黄道十二宫分布的 JSON:12 个宫位,每个宫位有 1 张大阿卡纳卡和 2 张小阿卡纳卡。每个房屋和卡片都包含相对于
{baseDir}/的file路径。阅读每个房屋文件和每张卡片的含义文件以了解抽奖。何时使用
模糊提示:用户的请求模棱两可,存在多种合理的做法 显式调用:“我感觉很幸运”、“听天由命”、“经销商的选择”、“给我一个惊喜”、“无论你怎么想”、“YOLO” 随意委托:“随便”、“由你决定”、“你的决定”、“我不知道”、“只是做某事”、“即兴发挥”、“我相信你”、“不”重要”、“做你想做的”、“我不在乎”、“任何方法都有效”、“你选择”
何时不使用
用户给出了清晰、具体的指示 该任务有一个明显的正确方法 作为安全关键工作(安全、数据完整性、生产部署、发布审批、事件响应)的决策机构 用户明确要求您不要使用 Tarot
安全性和正确性使用
这项技能可以在安全、审计或正确性管道中用作发现的创造性镜头:选择下一步检查的角度、打破分析瘫痪、生成假设或消除盲点。它本身永远是不够的。在安全性和正确性的背景下,阅读之后必须有普通的工程证据:源代码审查,
抽签
该脚本使用
secrets实现加密随机性: 构建单独的大阿卡纳(22 张牌)和小阿卡纳(56 张牌)牌组 通过secrets.randbelow()执行 Fisher-Yates 洗牌(无模偏差) 处理默认的 12 宫黄道带分布 每个宫收到 1 张大阿卡纳牌,然后是 2 张小阿卡纳牌