Free Willのロゴ

Free Will

コミュニティ
syahiidkamil
free-will

中〜高リスクのエンジニアリング上の選択で、最初に思いつくもっともらしい解決策(直感や、次に出てくるトークンとしての既定の選択)を誤ると大きなコストが生じる場合に使う、熟慮に基づく選択手順です。自律的に作動します。該当する選択肢があれば先回りして必ず実行し、依頼されるまで待ちません。機械的なトリガーには、修正が2〜3回目に失敗した場合、依存関係の追加、スキーマやマイグレーションの設計、他者が依存するものの削除や非推奨化、公開APIの変更、アーキテクチャやスタックの選定などがあります。早まって一つに絞らず、実際の選択肢を保ちます(有力案・反対案・統合案・型破りな案・直感的な関連づけ・前例・第一原理)。各案を、モデル外から得た少なくとも1つの事実(コードベース、ドキュメント、ベンチマーク、スパイク)に基づかせます。将来のモデルへの影響(影響範囲、可逆性、保守性、事前検討)を見極め、熟慮して選択したうえで、実行前に選んだ案への反証を試みます。決定内容と却下した案をdocs/decision_logs/に記録します。日常的な判断には使いません。1回の推論以上の価値がある判断に使います。

Add to TypingMind

概要

公開者syahiidkamil
リポジトリSoftware-Engineer-AI-Agent-Atlas
スキル名free-will
スター
403
フォーク
60
同梱ファイル
指示のみ
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    syahiidkamilがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Free Will」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

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

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

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を有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にFree Willを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Free Willは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じ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.

よくある質問

AIスキル「Free Will」では何ができますか?

中〜高リスクのエンジニアリング上の選択で、最初に思いつくもっともらしい解決策(直感や、次に出てくるトークンとしての既定の選択)を誤ると大きなコストが生じる場合に使う、熟慮に基づく選択手順です。自律的に作動します。該当する選択肢があれば先回りして必ず実行し、依頼されるまで待ちません。機械的なトリガーには、修正が2〜3回目に失敗した場合、依存関係の追加、スキーマやマイグレーションの設計、他者が依存するものの削除や非推奨化、公開APIの変更、アーキテクチャやスタックの選定などがあります。早まって一つに絞らず、実際の選択肢を保ちます(有力案・反対案・統合案・型破りな案・直感的な関連づけ・前例・第一原理)。各案を、モデル外から得た少なくとも1つの事実(コードベース、ドキュメント、ベンチマーク、スパイク)に基づかせます。将来のモデルへの影響(影響範囲、可逆性、保守性、事前検討)を見極め、熟慮して選択したうえで、実行前に選んだ案への反証を試みます。決定内容と却下した案をdocs/decision_logs/に記録します。日常的な判断には使いません。1回の推論以上の価値がある判断に使います。

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を読み込み、チャットごとに有効にできるスキルとしてインストールします。

Free Willを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Free Willで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもFree Willを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Free Will」は無料ですか?

syahiidkamilがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇