Loop Goalのロゴ

Loop Goal

コミュニティ
renatoasse
loop-goal

停止条件まで実行する一連の処理について、goalドキュメントと実行用の/goalコマンドを作成します。

Add to TypingMind

概要

公開者renatoasse
リポジトリibeia-skills
スキル名loop-goal
スター
50
フォーク
6
同梱ファイル
3
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 3個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

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

インストール

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

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/renatoasse/ibeia-skills/tree/main/skills/loop-goal
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

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

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/renatoasse/ibeia-skills.git /tmp/ibeia-skills
mkdir -p .claude/skills
cp -r /tmp/ibeia-skills/skills/loop-goal .claude/skills/loop-goal
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

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

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

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

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

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

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

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

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

loop-goal

Turns a loose request into a runnable artifact. This skill writes it; it never executes it.

The artifact is a pair

/goal is a real command in Claude Code and Codex: it re-checks a condition after every turn and starts another turn until the condition holds. The condition is capped at 4.000 characters.

So emit two pieces:

  1. The document — .claude/goals/<slug>.md: the full contract (autonomy, product defaults, gates, review, progress, stop rules). No size limit.
  2. The /goal line — target ≤600 characters: the measurable criterion written out, a pointer to the document, the turn cap.

Cursor has no engine: same document, plus a short opening message telling the agent to read and execute it.

Hard rules

Criterion on the line, procedure in the document. Never /goal do what <doc> says — the evaluator cannot open files.

The evaluator only reads the conversation. It runs no command and opens no file; it judges what the agent printed. So the document must demand:

  • a SCORE line closing every turn, always the same format, always cumulative: SCORE: 7/12 merged | typecheck exit 0 | 3 ❌ left | turn 4/20;
  • numbers from a command run that turn. "All good, done" satisfies a weak evaluator and closes a goal on a lie;
  • quality numbers from a fresh judge subagent, never from the agent that did the work.

Context compaction erases old evidence, which is why the score is reprinted in full every turn.

Measurable or no emit. Count · deterministic check (exit 0) · artifact complete (0 ❌) · external state · rubric with per-dimension threshold. "Until it looks good" is refused: ask what good is measured as.

Autonomy block, four items: continue-until; 2+ concrete product defaults; stop criterion plus what may interrupt the user; and "do not offer next steps, do not ask to proceed". With a goal engine, an open decision no longer pauses the run, it burns turns in a loop.

Turn cap lives in the condition. Claude Code has no engine-side cap, and resuming a session resets the count.

Gates must already be permitted. A goal stalls on the first permission prompt. If the gate command is not on the allowlist, say so above the artifact.

Code work gets reviewed per step by a fresh subagent at the platform's top tier, before any commit or merge. A green check proves nothing broke, never that what was asked got built. Ask the execution platform before naming any model; tiers are in ~/.claude/execution-platform-models.md.

Read next

SituationFile
One track: checklist to 0 ❌, metric ≥ threshold, find N of somethingreference/serial.md
N independent units in parallel wavesreference/waves.md
Platform mechanics, and the /loop watcher for external statereference/engines.md

Interview

Ask only the gaps, one at a time, each with a recommended default: platform · form (serial, waves, watcher) · stop criterion · verification · footprints (waves only) · product defaults · commit policy · gates · document path · then the one-sentence condition, which depends on all the above.

If the user hands over one paragraph with everything, infer, write both pieces, and list the assumptions underneath for correction.

Traps

  • Whole contract stuffed into the /goal line.
  • Criterion the evaluator can never observe.
  • No SCORE format defined, or a score that says "made progress" instead of 7/12.
  • Goal closed by self-assertion.
  • Parallel work without declared footprints, or the full test suite run inside every unit.
  • Writing the document as a chat block instead of a real file.

Language

Interview and generated artifacts follow the user's language (pt-BR by default); this skill and its references stay in English. No em dashes in user-facing artifacts.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Loop Goal」では何ができますか?

停止条件まで実行する一連の処理について、goalドキュメントと実行用の/goalコマンドを作成します。

TypingMindでLoop Goalを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Loop Goalはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにLoop Goalをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/renatoasse/ibeia-skills/tree/main/skills/loop-goalを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Loop Goalを使えるAIモデルはどれですか?

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

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

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

AIスキル「Loop Goal」は無料ですか?

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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