Goal Loop logo

Goal Loop

Community
aktsmm
goal-loop

Run an explicit end-to-end goal loop with frozen Scope/criteria, worker delegation, external verification, evaluator review, and bounded retries. Use when the user asks for 'goal-loop', 'ゴールまで回す', '必ずやり遂げる', 'loop until done', 'until it actually works', or an orchestrator + evaluator loop. Do not use for ordinary planning, casual advice, reviews, or small single-file fixes.

Overview

Publisheraktsmm
RepositoryAgent-Skills
Skill namegoal-loop
Stars
27
Forks
5
Bundled files
6
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 6 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by aktsmm on GitHub. Read the source before you install it.

Installation

Install the Goal Loop AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/aktsmm/Agent-Skills/tree/master/goal-loop
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/aktsmm/Agent-Skills.git /tmp/Agent-Skills
mkdir -p .claude/skills
cp -r /tmp/Agent-Skills/goal-loop .claude/skills/goal-loop
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Goal Loop in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Goal Loop on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Goal Loop is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Goal Loop

合意した Scope と success criteria を満たすまで、worker / verifier / evaluator を使ってゴールをやり遂げる手順書。 このスキルを起動した現在の agent が orchestrator になり、criteria、ledger、evidence reconciliation、次の一手の決定を担う。

When to Use

  • ユーザーが goal-loop / ゴールまで回す / 必ずやり遂げる / loop until done / until it actually works と依頼した。
  • 成果物を end-to-end に完成させる必要があり、単発修正ではなく検証・再試行・評価のループが必要。
  • worker 生成と evaluator 判定を分ける価値がある、中規模以上または不可逆・多段の作業。

Do Not Use For

  • 1 ファイル・自明・低リスクの修正。通常 agent が直接実行する。
  • 普通の相談、計画だけ、コードレビューだけ、事実確認だけ。
  • skill / prompt / instruction / agent 自体の設計レビュー。この skill の対象外。

Execution Contract

  • Freeze scope, AC, verifier, out-of-scope, must NOT, autonomy, and persistence before execution.
  • Keep a compact ledger: AC status, evidence, attempts, gaps, and next action.
  • Delegate broad research, mutation, and primary verification when workers are available; workers return evidence only.
  • Before parallel durable dispatch, checkpoint each partition identity, expected evidence, and wait deadline. After cancellation, retry, or a missing parent completion, reconcile durable evidence first and rerun only unresolved partitions.
  • Judge by external signals first. Never PASS from self-evaluation, supporting checks alone, skipped tests, TODOs, or weakened criteria.
  • On failure, update the ledger from the failed signal, change approach, and avoid repeating attempts.
  • Use Small-Bet-First for broad, irreversible, dependency, schema, deployment, or user-facing changes.
  • Stop or replan on stall, oscillation, diminishing returns, budget exhaustion, or genuine external blockers.

Phase 1: Scope + Criteria Freeze

Use criteria-agreement.md.

  • Freeze goal, scope terminus, AC with verify:, primary verifier, out-of-scope, must NOT, autonomy, and persistence.
  • If the finish line is ambiguous, ask one structured question before execution.
  • Do not use build/control-plane success as the primary verifier when the real outcome is deploy / runtime / UI / app behavior.

Phase 2: Plan Minimal Subgoals

Use steering-and-final-gates.md and ledger-templates.md.

  • Pick the lightest effort level that still protects the goal; downgrade trivial work.
  • Split into verifiable subgoals and record status. Parallelize read-only work, or independently partitioned mutations with durable identity, idempotency, expected evidence, and conflict-free ownership.

Phase 3: Delegate Workers

Use loop-control.md.

  • Start broad or risky changes with a pilot; never expand a failed pilot.
  • Give workers only the subgoal, AC, boundaries, must NOT, relevant attempt lessons, and expected evidence.
  • Treat parent tool receipt, UI state, and turn_end as delivery evidence, not completion authority; use terminal child state plus verified durable artifacts.
  • If no subagent tool exists, record degraded mode; only downgraded small work may run in main context.

Phase 4: External Verification

  • Run the frozen verify: steps and capture exit codes, logs, screenshots, readbacks, or capability gaps.
  • If the primary verifier is unavailable, record exact manual verification steps and required evidence; do not complete from weaker checks.

Phase 5: Evaluate

Use evaluation-rubric.md.

  • Reconcile evidence against each AC. Use a separate evaluator for non-small or non-read-only work.
  • PASS only when every must AC passes and confidence is above threshold.

Phase 6: Loop Control

Use loop-control.md.

  • If unmet, update the ledger from the external signal and replan before adding workers.
  • Escalate only after the Blocker Test proves the blocker is external or structural.

Phase 7: Report or Handoff

  • Report AC-by-AC status, primary evidence, supporting checks, capability gaps, criteria changes, and residual risks.
  • For high-risk changes, include final quality gate and independent review evidence.
  • Cleanup scratch state unless it is needed for resumability.

References

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Goal Loop AI skill do?

Run an explicit end-to-end goal loop with frozen Scope/criteria, worker delegation, external verification, evaluator review, and bounded retries. Use when the user asks for 'goal-loop', 'ゴールまで回す', '必ずやり遂げる', 'loop until done', 'until it actually works', or an orchestrator + evaluator loop. Do not use for ordinary planning, casual advice, reviews, or small single-file fixes.

Why use Goal Loop on TypingMind?

Because you install it once and use it with any model. Goal Loop is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Goal Loop in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/aktsmm/Agent-Skills/tree/master/goal-loop. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Goal Loop?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Goal Loop?

As many as you like. As long as a model supports skills, you can use Goal Loop with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Goal Loop AI skill free?

It is published on GitHub by aktsmm. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇