Goalのロゴ

Goal

コミュニティ
lennoxsaint
goal

Generate durable Codex goal packets or optimized Claude /goal prompts from user-provided plans, specs, or task lists. Use when someone asks to turn a plan into a /goal prompt, create a steerable autonomous execution goal, optimize a goal prompt, or write a goal contract for implementation.

概要

公開者lennoxsaint
リポジトリSkills
スキル名goal
スター
39
フォーク
0
同梱ファイル
6
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 6個の同梱ファイル

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

Goal

When the goal is a quality bar that real data can measure (a pass rate, an eval score, a judge verdict), route to $hill-climb when it is installed: it turns the data into a locked test set and runs the climb itself, so it needs no /goal prompt.

Entry guard: creation versus continuation

Before applying the creation steps below, distinguish the current request from an already active goal. An automatic native Goal Mode continuation, or a request to resume/continue an existing goal, is execution work even when this skill remains in the conversation.

For an active continuation: read the existing goal and its current progress, inspect the current runtime phase/next action, and execute the next authorized step. Do not recreate the packet, return the launcher, ask for the original plan again, or call goal creation again. Preserve the original activation timestamp and completed work. Only return a new or revised launcher when the user explicitly requests one now. The creation-only output rules below do not apply to execution continuations. Respect actual Plan Mode if active.

Turn a user-provided plan into one bounded, verifiable goal.

  • For Codex, create a durable goal packet and return its paste-ready /goal launcher.
  • For Claude, return one paste-ready /goal prompt no longer than 4,000 characters.
  • Return notes only when the user explicitly asks for rationale, alternatives, or critique.

Core contract

  • Preserve the user's strategy, requirements, constraints, names, paths, dates, prices, gates, and stop rules.
  • Do not redesign the plan or reopen decisions unless a requirement is impossible or dangerously unclear.
  • If no plan, spec, or task list is provided, ask the user to paste the plan. Ask only that.
  • If a plan is provided, do not interview unless a critical blocker would make the goal unsafe or impossible.
  • Keep one goal to one bounded outcome. Route recurring or time-triggered routines to a scheduling or loop skill when one is available.
  • Resolve Codex versus Claude from the request or destination. Ask only when the platform is genuinely ambiguous and changes the result.
  • Prefer the shortest contract that preserves every execution-relevant fact.
  • Reference accessible source files by exact path and reading order instead of duplicating them. Inline anything the executor cannot retrieve.

Codex goal packet

For Codex, treat native Goal Mode as the lifecycle authority. The packet is the durable contract and progress surface; it does not replace /goal status, pause, resume, or clear controls.

Store each packet at .codex/goals/<goal-slug>/ inside the resolved workspace root. Treat packets as local runtime artifacts. Do not edit .gitignore, stage, or commit them unless the user explicitly asks.

Create the packet

  1. Resolve the workspace root to the Git root when one exists; otherwise use the current working directory.

  2. Write a short goal title with no more than eight meaningful words.

  3. Reserve a unique packet directory with:

    bash
    python3 "<skill-root>/scripts/goal_slug.py" --workspace-root "<workspace-root>" --title "<goal-title>" --reserve
  4. Use the exact packet_dir, goal_path, progress_path, and goal_slug returned as JSON. The helper normalizes lowercase ASCII slugs, keeps the final suffixed slug within 64 characters, and reserves collisions without overwriting an existing packet.

  5. Read assets/goal.md.template, fill every token, and save the final goal.md.

  6. Compute the SHA-256 of that saved file.

  7. Read assets/progress.md.template, fill every token including the saved goal hash, and save progress.md.

  8. Confirm neither saved file contains a {{...}} template token.

  9. Use absolute paths in the launcher. Quote paths containing spaces.

Ownership and steering

  • goal.md is owner-editable source truth for the outcome, constraints, permissions, exit criteria, and steering notes.
  • progress.md is Codex-owned runtime state. Codex updates it after every meaningful checkpoint and before stopping.
  • Never rewrite owner-controlled sections of goal.md while executing. If a user gives steering in the active thread, follow it immediately and record the accepted decision in progress.md.
  • Use this authority order:
    1. latest explicit instruction in the active thread
    2. current goal.md
    3. progress.md
  • Re-read goal.md before each checkpoint, after resume or compaction, and before every live, irreversible, or externally visible action.
  • Record the SHA-256 of the last-read goal.md in progress.md. When it changes, summarize the steering absorbed and adjust the next checkpoint before continuing.
  • Do not claim that editing the file interrupts a tool call already in flight. File steering takes effect at the next re-read.

Return the launcher

After creating the packet, return:

  1. A clickable link to goal.md.
  2. A copyable launcher in this shape:
text
/goal Execute the goal contract at "<absolute-path>/goal.md". Treat native /goal as the lifecycle authority. Re-read goal.md before every checkpoint, after resume or compaction, and before live or irreversible actions. Maintain "<absolute-path>/progress.md" after every meaningful checkpoint, including the current checkpoint, verified evidence, remaining work, blockers, accepted steering, and the SHA-256 of the last-read goal.md. Continue until the contract's exit criteria are proven or a hard blocker requires the owner.

Do not start the goal unless the user explicitly asks to start it. Creating the packet and launcher does not itself prove Goal Mode is active.

Goal contract standard

Write goal.md as a concise operational brief:

  1. Outcome
  2. Workspace and source truth
  3. Success and loop criteria
  4. Autonomy
  5. Hard stop rules
  6. Required work
  7. Verification
  8. Steering notes
  9. Final report

Apply these rules:

  • Define verifiable success criteria that Codex can evaluate after any turn.
  • Prefer numbers, thresholds, parity targets, checklists, named artifacts, or pass/fail checks when supported by the source plan.
  • Include known starting points, suspect areas, allowed tools, and acceptable limitations.
  • Define what Codex must inspect, change, verify, and decide at each checkpoint.
  • Require fresh progress evidence before continuing claims: changed files, passing checks, improved metrics, captured proof, or exact blocker text.
  • After the same symptom or error repeats three times, inspect fresh state and change strategy. Stop with the exact blocker if the changed strategy still cannot progress.
  • For indefinite-seeming work, include a turn, time, or checkpoint cap.
  • For visual work, use feature checks, specs, design-system adherence, screenshots, or visual diffs instead of "pixel perfect" alone.
  • Before completion, require cleanup and review of failed attempts, temporary tools, dead code, reduced coverage, and leftover artifacts.
  • Keep proof evaluator-visible. Separate draft, local, staged, runtime-verified, delivered, and live/public states.

Live-action gates

When the plan touches live systems, member data, payments, publishing, messages, calendar events, GitHub, production apps, or public copy:

  • Codex may inspect, draft, stage, screenshot, validate, and prepare.
  • Codex may submit, send, publish, delete, charge, change access or pricing, deploy, merge, announce, or write production data only when the plan explicitly authorizes that exact action.
  • If authorization is unclear, stop with the exact prepared output and ask for approval.
  • If credentials, CAPTCHA, passkey, SMS, OTP, recovery, password, or security prompts appear, stop and report the blocker.

Claude mode

For Claude, keep the prompt-only behavior:

  • Begin with /goal.
  • Use the user's plan as source truth.
  • Include outcome, sources, success and loop criteria, autonomy, hard stops, required work, verification, and final report.
  • Preserve live-action gates and proof-state distinctions.
  • Keep the complete prompt at 4,000 characters or fewer, including headings and whitespace.
  • Return only the prompt unless the user asks for notes.

Quality check

Before returning:

  • Confirm the goal is bounded and its stopping condition is objectively testable.
  • Confirm every source requirement, permission boundary, blocker, and proof obligation survives.
  • Confirm looped work says when to continue, change strategy, or stop.
  • Confirm the goal packet contains no unresolved template tokens.
  • Confirm goal.md and progress.md are in the same uniquely reserved packet directory.
  • Confirm the launcher uses the exact absolute paths and does not imply Goal Mode is already active.
  • Confirm progress.md is agent-owned and goal.md remains owner-editable.
  • Confirm Claude output stays within 4,000 characters.
  • Confirm no live action is authorized by implication.

同梱ファイル

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

よくある質問

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

Generate durable Codex goal packets or optimized Claude /goal prompts from user-provided plans, specs, or task lists. Use when someone asks to turn a plan into a /goal prompt, create a steerable autonomous execution goal, optimize a goal prompt, or write a goal contract for implementation.

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

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

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

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

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

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

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

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

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

はい。lennoxsaintがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

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

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

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

すべて見る

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

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