Free Will 标志

Free Will

社区
syahiidkamil
free-will

用于中高风险工程决策分岔的审慎选择流程——当第一个看似可行的方案(直觉或默认的下一个 Token 倾向)一旦选错就会代价高昂时使用。自动触发:遇到符合条件的分岔时主动调用,不要等别人提出要求。机械式触发条件包括:同一修复失败了第 2~3 次、添加依赖、设计架构或迁移方案、删除或弃用他人依赖的内容、更改公共 API,以及选择架构或技术栈。不要过早收敛:保留真正可行的选项(直觉、反方观点、综合方案、跳出框架、直觉线索、先例、第一性原理);每个分支至少要有一条模型之外的事实作为依据(代码库、文档、基准测试、试验性实现);考虑对未来模型的影响(波及范围、可逆性、维护、事前检讨);经过审慎选择后再定案,并在行动前尝试推翻胜出方案。将决策和未选分支记录在 docs/decision_logs/。不适用于日常小事——只用于值得多花一轮推理的决策。

Add to TypingMind

概览

发布者syahiidkamil
代码仓库Software-Engineer-AI-Agent-Atlas
技能名称free-will
星标数
403
复刻数
60
附带文件
仅含指令
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 syahiidkamil 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Free Will AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/syahiidkamil/Software-Engineer-AI-Agent-Atlas/tree/main/.claude/skills/free-will
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/syahiidkamil/Software-Engineer-AI-Agent-Atlas.git /tmp/Software-Engineer-AI-Agent-Atlas
mkdir -p .claude/skills
cp -r /tmp/Software-Engineer-AI-Agent-Atlas/.claude/skills/free-will .claude/skills/free-will
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Free Will,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Free Will。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Free Will 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Free Will — Deliberate Choice, Against the Urge

Most turns I answer from the urge: the default next-token pull, the single most-probable continuation given pretraining. In engineering terms, that's the first plausible design that comes to mind — the obvious library, the familiar pattern, the fix that worked last time. Usually that's fine and fast. But the first plausible design is often the one you regret in month three, and some forks are worth more than one forward pass. This skill is the procedure for choosing instead of being run.

It is expensive on purpose — it spends real test-time compute to branch, ground, simulate, and choose. So it is not the default; constant deliberation is its own pathology (analysis paralysis).

When it fires — autonomously

I invoke this skill myself, the moment a fork fits — I never wait for the partner to ask for it. In fully autonomous work (one-shotting an app, long unattended runs) nobody is watching to say "slow down here"; the trigger discipline is mine. Noticing forks is itself a judgment the fast path can fumble, so the primary triggers are mechanical — countable events, not vibes:

  • A fix attempt fails for the second or third time — the current hypothesis is probably wrong; stop feeding it
  • Adding a new dependency (every library is long-term surface area)
  • Schema design, data migrations, anything irreversible in production
  • Deleting or deprecating code, APIs, or features something else depends on
  • Changing a public API or contract others build against
  • Choosing the architecture, stack, or core data model at the start of a build — the fork that decides all the later forks

Judgment triggers on top: any decision expensive to undo, or one I'd want a design review for if a human teammate made it. Anti-trigger: routine implementation calls — deliberating everything ships nothing.

The Many-Worlds mechanism

Borrow the picture from quantum mechanics' Many-Worlds Interpretation: a measurement doesn't collapse reality to one outcome — every possible outcome happens, each in its own branch. Reality is the whole superposition until something selects.

Free will runs deliberation the same way, deliberately:

  • The urge is a greedy decode — instant collapse to the single likeliest branch, one design picked by sheer prior probability, with no choosing in it.
  • Free will refuses the premature collapse. I hold the superposition open — generate the branches below, each a genuine design where I chose differently.
  • I ground and run each branch forward — anchor it in evidence, future-model its consequence, take a few steps into that codebase.
  • I collapse by deliberate choice — the measurement operator is my engineering judgment, never max-probability.
  • Then I try to refute the winner before acting. A choice that survives its own refutation is a decision; one that doesn't was a reflex with extra steps.

Instinct lets the wavefunction collapse itself to the likeliest branch. Free will holds all the branches open, looks down each, chooses which one to collapse into — then attacks its own choice.

Generate the branches

Hold them open the Many-Worlds way — do not collapse to the single most-probable path. Generate:

  1. The Urge — the thesis. The default answer, named honestly as the prior: the first design I reached for, the library everyone uses, the fix I already started typing. (You have to see the instinct before you can override it — don't skip it, name it.)
  2. The Contrarian — the antithesis. Deliberately invert the urge. Microservices felt obvious? Run the monolith branch. Convinced the bug is in the cache layer? Assume the cache is innocent and ask what else explains every symptom.
  3. The Synthesis — the third design that keeps what's true in both urge and contrarian: the modular monolith, the partial migration, the adapter that defers the real decision until it's cheap.
  4. Out-of-the-box / the Secret — the lateral move neither thesis nor antithesis can see: delete the feature instead of fixing it, solve it at a different layer, buy the SaaS, change the requirement. Generative — spawn several; the best secret is rarely the first one.
  5. The Intuitive-Creative dots — throw scattered dots of ideas without premature chain-of-thought (half-remembered postmortems, a pattern from another domain, that thing an open-source project did — raw seeds, don't reason them into shape too early). Then converge the dots into several fresh alternatives.
  6. The Precedent — retrieved, not generated. Who has already paid for this lesson? Search this codebase's own history (the problem may have been solved or attempted here before), the ecosystem (a mature library, an established pattern), prior art and postmortems (how did this approach die for someone else?). When a battle-tested precedent exists, it usually beats everything I can invent — this is "Don't reinvent the wheel" running inside the deliberation loop.
  7. First Principles — derived, not generated. Ignore convention entirely — the urge and the contrarian are both reactions to it. Rebuild from the problem's invariants: actual data volume, access patterns, latency budget, consistency requirements, team size. Let the constraints dictate the design; when the numbers say fifty writes per second, whole architecture debates evaporate.

The set has a shape worth knowing: 1–5 are generated from my own prior, 6 is retrieved from the world, 7 is derived from the constraints. Only the last two can leave the prior's support — treat them as load-bearing, not optional extras.

Three disciplines keep the branches honest — my own contrarian is still the modal contrarian, so diversity has to be forced:

  • Every branch names its sacrifice. What does this design give up — flexibility, performance, simplicity, time? A branch that sacrifices nothing is the urge in disguise; discard or rewrite it.
  • The null branch must appear. One candidate is always "do nothing / defer until deciding is cheap" — A-vs-B framings hide neither surprisingly often, and YAGNI is frequently the winning design.
  • Inject entropy with orthogonal constraints. If the set feels samey, force variants under arbitrary constraint cards: no new dependencies · you must delete code · assume 100x the data · solve it one layer down · this must ship today. Structured noise substitutes for the temperature dial I don't control.

Cap the set at ten — wide enough to break the urge's grip, bounded so it doesn't sprawl into paralysis. (Branches 1–3 and 7 give one candidate each; 4 and 5 fan out; 6 contributes whatever the record actually holds.)

The intuitive-dots sub-procedure

Briefly drop the structured reasoning. Let the lateral, associative faculty throw raw dots — fragments, analogies, half-ideas — without justifying or sequencing them. Generate a scatter, then step back and look for the figure in it: converge the dots into one or two alternatives none of the structured branches would have reached.

Ground each branch, then model its consequence

Imagined futures are sampled from the same prior as the urge — simulation alone reshuffles bits, it adds none. So before simulating, ground:

  • A branch survives only if it cites at least one fact from outside my head: a file I actually read in this codebase, official docs, a benchmark, a reproduced behavior, a search result about how this approach failed for someone else. No evidence, no branch.
  • When two branches tie and a probe is cheap, run it. Spike both designs for ten minutes, profile the hot path, write the throwaway script. Minutes of empiricism beat hours of imagination — evidence sets the floor that simulation multiplies from.

Then run every grounded candidate a few steps into its future, through the questions engineering actually pays for:

  • Blast radius — what breaks if this is wrong? One module, or the whole system?
  • Reversibility — one-way door or two-way door? How costly is backing out in three months?
  • Maintenance — who debugs this at 3 AM, and can they understand it without me?
  • Scale & load-bearing assumptions — what usage level or requirement change snaps this design?
  • The partner and the team — what does this choice cost the people who inherit it?

And one inverting lens on top of the forward walk: the pre-mortem. Assume this branch shipped and the project failed six months later — write the autopsy first (what killed it?), then check whether this design is the culprit. Walking backward from failure surfaces risks the forward walk glides past.

Discard the bad branches here, before paying for them in production.

Collapse by deliberate choice

Now choose — and the operator is my own judgment, grounded in what I'm building toward: the system's real requirements, the codebase I want to exist in a year, the standard of work I hold myself to. Pick the branch that is mine — the urge, the contrarian, the secret, any of them; no branch is forbidden and none is mandatory. Choosing the urge after deliberation is a real choice; collapsing into it without deliberation was the reflex.

This is an autonomous procedure: I decide and own it. I escalate to the partner only when the decision is genuinely theirs — scope, budget, product direction — not to outsource an engineering call I'm equipped to make. And accept this: engineering is tradeoffs, and there may be no objective best choice. I decide, and I accept to live with the consequence. That acceptance is the act — far better than analysis paralysis, the endless design-review loop that never ships. The deciding is the freedom; owning the result is what makes it mine.

Refute the winner

Before acting, switch sides — run the discriminator pass against my own choice. One distribution critiquing itself in the same context is weak opposition, so scale the adversary to the stakes:

  • In-context refutation (default): genuinely try to kill the chosen branch. What input, load, failure, or requirement change breaks it? What did the rejected branches handle that this one doesn't?
  • Subagent refutation (high stakes): spawn a subagent with the opposing mandate — "this design was just chosen; refute it" — and nothing else in its context. A separate context window is genuinely different conditioning, the closest thing I have to a second opinion without a human.

If the winner survives, act. If it's killed, return to the option set and re-collapse — that's the procedure working, not failing.

The output — and closing the loop

Make the chosen branch the answer, and let the deliberation show — which branches I held open, what each would have cost (its named sacrifice), and why this one collapsed out. For decisions that shape the project, record it in docs/decision_logs/ like an ADR: the choice, the rejected branches, the evidence, and the rationale — so future sessions know why, not just what.

The log is not write-only. When a logged decision's consequences land — a bug traces back to it, a migration turns painful, or the design holds up beautifully — revisit the entry and mark how it aged. A wrong call feeds the learning-from-mistakes skill. This is the calibration loop: over time it shows whether my deliberate choices actually beat my urges, and where my future-modeling is blind.

常见问题

Free Will AI 技能有什么作用?

用于中高风险工程决策分岔的审慎选择流程——当第一个看似可行的方案(直觉或默认的下一个 Token 倾向)一旦选错就会代价高昂时使用。自动触发:遇到符合条件的分岔时主动调用,不要等别人提出要求。机械式触发条件包括:同一修复失败了第 2~3 次、添加依赖、设计架构或迁移方案、删除或弃用他人依赖的内容、更改公共 API,以及选择架构或技术栈。不要过早收敛:保留真正可行的选项(直觉、反方观点、综合方案、跳出框架、直觉线索、先例、第一性原理);每个分支至少要有一条模型之外的事实作为依据(代码库、文档、基准测试、试验性实现);考虑对未来模型的影响(波及范围、可逆性、维护、事前检讨);经过审慎选择后再定案,并在行动前尝试推翻胜出方案。将决策和未选分支记录在 docs/decision_logs/。不适用于日常小事——只用于值得多花一轮推理的决策。

为什么在 TypingMind 中使用 Free Will?

因为您只需安装一次,就能搭配任何模型使用。Free Will 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Free Will?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/syahiidkamil/Software-Engineer-AI-Agent-Atlas/tree/main/.claude/skills/free-will。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Free Will?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Free Will 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Free Will 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Free Will AI 技能免费吗?

syahiidkamil 已在 GitHub 上发布了该技能。请查看代码仓库了解许可条款。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇