Agent skill

Decision Tripwires

by apple-ouyang in apple-ouyang/book-to-skill

A skill your agent uses when committing resources to a project, investment, or relationship.

MITAuto-check passed

Install Decision Tripwires

skills CLI
$ npx skills add apple-ouyang/book-to-skill --skill decision-tripwires -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install apple-ouyang/book-to-skill decision-tripwires --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/apple-ouyang/book-to-skill.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/decision-tripwires .claude/skills/decision-tripwires && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
decision-tripwires
GitHub stars
161
Token cost
~656 tokens
SKILL.md length
108 words
Files
2 (incl. references)
Skills in repo
6
Repo updated
First seen
Licence
MIT

At a glance

A skill your agent uses when committing resources to a project, investment, or relationship.

  • Works in 4 steps: 触发点表格:至少3行,每行都有具体可观测的信号 → 资源隔断计划:把投入分成几份,每份的重新评估节点 → 截止日期:下次强制评估的时间 → …
  • Committing resources to a project
  • SKILL.md covers 任务目标, 操作步骤, 输出物 and 注意事项, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Decision Tripwires is an agent skill from apple-ouyang/book-to-skill. Use when committing resources to a project, investment, or relationship. When feeling the pull of sunk cost. When a plan has no defined exit criteria. When you catch yourself thinking "let's wait and see what happens."

Its SKILL.md is about 660 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/cases.md`).

The repository describes itself as: 把书拆成 AI Agent 可执行的 Skill,让书中的智慧变成你的决策副驾驶 | Turn books into executable AI Agent Skills. The licence is MIT.

When your agent uses it

  • Committing resources to a project

Example prompts

  • “s wait and see what happens.”
  • “/decision-tripwires”

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. 触发点表格:至少3行,每行都有具体可观测的信号
  2. 资源隔断计划:把投入分成几份,每份的重新评估节点
  3. 截止日期:下次强制评估的时间
  4. Pre-mortem 清单:3-5个最可能的失败原因 + 对应预防措施

What it can do on your machine

Read from SKILL.md and the folder at commit a24960a. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Decision Tripwires loads about 656 tokens when it runs, and up to ~3.8k if it reads all its reference files. Until then it costs about 59 tokens; SKILL.md has 108 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~59
When it runs · the whole SKILL.md, loaded when a task matches
~656
With references · SKILL.md plus every file in references/, read only if the agent opens them
~3.8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from apple-ouyang/book-to-skill at commit a24960a, republished under its MIT licence (© apple-ouyang). 108 words, ~656 tokens.

Download SKILL.mdSave it as .claude/skills/decision-tripwires/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
decision-tripwires
description
Use when committing resources to a project, investment, or relationship. When feeling the pull of sunk cost. When a plan has no defined exit criteria. When you catch yourself thinking "let's wait and see what happens."

决策触发器:提前设定止损点

任务目标

帮助用户在行动前设定明确的触发条件,对抗「自动驾驶」惯性和沉没成本陷阱。

核心问题:不是「什么价格止损」,而是「什么信号出现就重新评估」。


操作步骤

第一步:识别「自动驾驶」状态

问用户:

  • 这个项目/关系/投资,你上次主动重新评估是什么时候?
  • 如果现在从零开始,你还会做同样的选择吗?
  • 你是在主动推进,还是只是「等等看会发生什么」?

柯达的教训:1981年内部报告已预测数码威胁,但胶片生意依然有利可图,高管们选择「再等等看」——直到2012年破产。「等等看」是没有止损点的典型症状。


第二步:设定触发点表格

不要设止损价,要设触发信号。格式:

当前假设采取行动的时机
用户不会为功能X付费如果超过10%的用户主动询问功能X
这段关系会改善如果3个月内没有具体改变
市场还没准备好如果竞争对手的同类产品月活超过10万

引导用户填写自己的版本。触发点必须具体、可观测,不能是「感觉不对的时候」。


第三步:用隔断效应切分资源

把资源分成小份,每份用完都强迫重新决策:

  • 赌资实验:赌资分装10个信封 vs 放在1个信封,赌博次数显著减少
  • 饼干实验:锡箔纸单独包裹 → 24天吃完;不包裹 → 6天吃完
  • 风险投资:分轮投入,每轮都重新评估「这个假设还成立吗?」

实操:把预算/时间/精力分成3份,每份用完前必须回答:「如果现在是第一天,我还会继续投入吗?」


第四步:设截止日期

有截止日期:66%完成;无截止日期:25%完成(特沃斯基和沙菲尔研究)。

截止日期不只是催促,它是强制重新评估的节点。华为PDA流程的「冲刺过点」本质上是:到这个时间点,必须做出继续/调整/放弃的决定,不能再拖。


第五步:区间估计,不要点估计

未来不是一个点,是一个区间。

  • 直接预测准确率:45%
  • 考虑最坏+最好情况后:70%
  • 再加入基本比率参考:96%

引导用户:「这件事最坏会怎样?最好会怎样?」——两端都想清楚,比只想「最可能」更准确。


第六步:事前析误(Pre-mortem)

不要问「这件事可能会失败吗?」,而是:

「假设现在是一年后,这件事已经彻底失败了。导致失败的原因是什么?」

这种「预想式回顾」比直接想原因多产生 25% 的理由(Klein研究)。

配合 FMEA 打分:出错可能性 × 后果严重性 × 无法察觉可能性,分数最高的环节优先处理。


第七步:预演成功场景(可选)

对于高风险的成功,也要提前准备:

  • 迷你唐卡案例:预判液皂会爆火 → 提前用期权合约锁定全球塑料泵供应18个月 → 竞争对手被排出市场两年
  • 桑德拉加薪:在脑海中把谈判过了三四遍,预演老板所有可能的拒绝 → 最终成功加薪8%

问用户:「如果这件事超出预期地成功,你准备好了吗?」


输出物

引导用户产出:

  1. 触发点表格:至少3行,每行都有具体可观测的信号
  2. 资源隔断计划:把投入分成几份,每份的重新评估节点
  3. 截止日期:下次强制评估的时间
  4. Pre-mortem 清单:3-5个最可能的失败原因 + 对应预防措施

注意事项

  • 止损点不是「悲观」,是谦逊——承认自己的预测可能错误
  • Zappos 的4000美元离职提议本质上是给新员工设止损点:「如果你不确定,现在就是最低成本的退出时机」
  • 触发点设好后要写下来,不能只在脑子里——「感觉不对的时候」不算触发点
  • 对于已经深陷的项目:先做Pre-mortem,再设触发点,不要直接问「要不要继续」(沉没成本会干扰判断)
  • Van Halen 棕色 M&M 案例:David Lee Roth 在演出合同第 126 条要求后台 M&M 不能有棕色的。合同技术规格极其复杂,如果看到棕色 M&M,说明主办方没仔细读安全规格,立即触发全面设备检查。tripwire 不一定是坏消息,而是一个诊断信号——用低成本信号检测高成本风险
  • Heath 兄弟「丈夫辞职」案例:Heath 兄弟在《Decisive》中建议,不要在情绪激动时立即辞职,而是设定具体触发点——「下次老板要求我10点还在加班时,我就辞职」。这把模糊的「我受够了」转化为可观测的信号,避免冲动决策,也避免无限期忍耐
  • Heath 兄弟「成人子女回家住」案例:Heath 兄弟建议,允许成年子女搬回家时,提前设定触发点:「6个月后开始收租」或「不把所有行李搬回来,部分放储藏室」。这防止「暂时」变成「永久」——惰性会让临时安排自动续期,触发点强制重新评估
  • Bounty 纸巾营销人员案例:宝洁 Bounty 的一位营销人员被迫在实验室测试竞品纸巾,结果发现自己竟然更喜欢竞品的某些特性。这次「强制近距离观察」打破了他对 Bounty 竞争力的假设,触发了对产品定位的重新评估——有时候触发点不是数字,而是一次被迫的直接接触

案例库

© apple-ouyang, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file (references) in skills/decision-tripwires of apple-ouyang/book-to-skill.

  • SKILL.md
  • references/cases.md

Open the folder on GitHubat commit a24960a

Compare with similar skills

Decision Tripwires next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Decision Tripwires compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Decision Tripwires this skillapple-ouyang/book-to-skill161—~656Automated safety check: PassMIT
Commitsickn33/agentic-awesome-skills47k2 repos~1.3kAutomated safety check: PassMIT
Commitdavila7/claude-code-templates33k3 repos~730Automated safety check: PassMIT
Commitwindmill-labs/windmill18k—~447Automated safety check: PassCustom licence
Commitccusage/ccusage19k—~722Automated safety check: PassCustom licence
CommitsJetBrains/intellij-community21k—~589Automated safety check: PassCustom licence

Similar skills

  • Commit

    sickn33/agentic-awesome-skills

    ALWAYS use this skill when committing code changes — never commit directly without it.

    47k GitHub starsUsed in 2 repos~1.3k tokens
    DevelopmentAuto-check passed
  • Commit

    davila7/claude-code-templates

    Create commit messages following Sentry conventions. An agent skill from davila7/claude-code-templates.

    33k GitHub starsUsed in 3 repos~730 tokens
    DevelopmentAuto-check passed
  • Commit

    windmill-labs/windmill

    Create a git commit with conventional commit format. An agent skill from windmill-labs/windmill.

    18k GitHub stars~447 tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Commit

    ccusage/ccusage

    Creates atomic Conventional Commits. An agent skill from ccusage/ccusage.

    19k GitHub stars~722 tokensUpdated today
    DevelopmentAuto-check passed
  • Commits

    JetBrains/intellij-community

    Official

    Create, amend, or rename IntelliJ commits and write commit messages.

    21k GitHub stars~589 tokensUpdated today
    DevelopmentAuto-check passed
  • Commit

    antiwork/gumroad

    Stage and commit changes with a clear, concise commit message.

    9.8k GitHub stars~503 tokensUpdated today
    DevelopmentAuto-check passed

More from apple-ouyang/book-to-skill

  • Making Decisions

    apple-ouyang/book-to-skill

    A skill your agent uses when facing a significant decision, evaluating options, or feeling stuck between choices.

    161 GitHub stars~806 tokensUpdated 7 mo ago
    Auto-check passed
  • Seeking Disconfirming Evidence

    apple-ouyang/book-to-skill

    A skill your agent uses when a decision feels obvious or everyone agrees, when evaluating omeone's proposal or pitch, when in a team debate that's going nowhere, or when you suspect confirmation…

    161 GitHub stars~654 tokensUpdated 7 mo ago
    Auto-check passed
  • Swarm

    apple-ouyang/book-to-skill

    This skill should be used when the user asks to "create a team", "create agent team", "蜂群", "swarm", "团队协作", "parallel agents", "spawn teammates", "多 agent 协作", "组建团队", or executes "/swarm".

    161 GitHub stars~826 tokensUpdated 7 mo ago
    Auto-check passed
  • Reality Testing Decisions

    apple-ouyang/book-to-skill

    A skill your agent uses when tempted to predict, analyze, or debate whether something will work instead of testing it.

    161 GitHub stars~639 tokensUpdated 7 mo ago
    Auto-check passed
  • Book To Skill

    apple-ouyang/book-to-skill

    把一本书拆解成 Claude Code 可执行的 Skill。当用户说"拆书"、"把这本书变成 Skill"、"book to skill"、"extract skill from book" 时触发。

    161 GitHub stars~789 tokensUpdated 7 mo ago
    Auto-check passed

Questions about Decision Tripwires

What does Decision Tripwires do?

A skill your agent uses when committing resources to a project, investment, or relationship. Decision Tripwires is an agent skill from apple-ouyang/book-to-skill. Use when committing resources to a project, investment, or relationship.

When should I use Decision Tripwires?

Decision Tripwires fits situations like: committing resources to a project.

How do I install Decision Tripwires in Claude Code?

Run `npx skills add apple-ouyang/book-to-skill --skill decision-tripwires -a claude-code`. Or copy the skill folder (skills/decision-tripwires in apple-ouyang/book-to-skill) into .claude/skills/decision-tripwires in your project. Claude Code loads it when a task matches its description.

How do I install Decision Tripwires in Codex?

Run `npx skills add apple-ouyang/book-to-skill --skill decision-tripwires -a codex`. Or copy the skill folder (skills/decision-tripwires in apple-ouyang/book-to-skill) into .agents/skills/decision-tripwires in your project. Codex loads it when a task matches its description.

Can I use Decision Tripwires in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add apple-ouyang/book-to-skill --skill decision-tripwires -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/decision-tripwires, .gemini/skills/decision-tripwires, .github/skills/decision-tripwires and .opencode/skills/decision-tripwires in your project.

What does Decision Tripwires need to run?

SKILL.md names no scripts, command-line tools or credentials: Decision Tripwires is instructions for the agent only.

Does Decision Tripwires access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Decision Tripwires safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Decision Tripwires use?

Decision Tripwires is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Decision Tripwires use?

About 656 tokens (SKILL.md is roughly 2.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 3.1k tokens, read only when the agent opens those files.

What are the alternatives to Decision Tripwires?

Skills that share tags, products or a category with Decision Tripwires: Commit (sickn33/agentic-awesome-skills, 47k stars), Commit (davila7/claude-code-templates, 33k stars), Commit (windmill-labs/windmill, 18k stars) and Commit (ccusage/ccusage, 19k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Decision Tripwires?

apple-ouyang (a GitHub user) maintains it in apple-ouyang/book-to-skill, which has 161 GitHub stars. The repository holds 6 skills in this directory. The repository was last updated on February 25, 2026.

Source: apple-ouyang/book-to-skill on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.