goal-loop-designer

goal-loop-designer is a skill for Codex from markoblogo/abvx-agent-skills. It costs 72 tokens per session (1,192 once invoked), scanned A, original, MIT.

A guide for turning a broad agent task into a bounded loop with a clear goal, stop conditions, verification checks, retry limits, budgets, and a judge. An agent loop is a repeated cycle in which a coding agent acts, checks the result, and continues.

In plain words
What is it for?
Use it before launching extended coding or automation loops that need defined scope, allowed actions, independent checks, and limits on time, iterations, files, or tools.
Why use it?
It exposes missing limits and unclear completion criteria before a long automated run begins. The resulting plan can be used across coding agents and local or hosted language models.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions Claude Code; mentions Codex.

Good fit Use it before launching extended coding or automation loops that need defined scope, allowed actions, independent checks, and limits on time, iterations, files, or tools.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/markoblogo/abvx-agent-skills/goal-loop-designer
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add markoblogo/abvx-agent-skills --skill goal-loop-designer
Clone the repo
git clone --depth 1 https://github.com/markoblogo/abvx-agent-skills

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for goal-loop-designer

README.md
[![agentmods](https://agentmods.dev/badge/skills/markoblogo/abvx-agent-skills/goal-loop-designer/github.svg)](https://agentmods.dev/skills/markoblogo/abvx-agent-skills/goal-loop-designer)
Your own site
<a href="https://agentmods.dev/skills/markoblogo/abvx-agent-skills/goal-loop-designer"><img src="https://agentmods.dev/badge/skills/markoblogo/abvx-agent-skills/goal-loop-designer/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for goal-loop-designer

Your own site · 80×15
<a href="https://agentmods.dev/skills/markoblogo/abvx-agent-skills/goal-loop-designer"><img src="https://agentmods.dev/badge/skills/markoblogo/abvx-agent-skills/goal-loop-designer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 72 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,192 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00072 $0.01192
Opus 5 $0.00036 $0.00596
Sonnet 5 $0.00014 $0.00238
Haiku 4.5 $0.00007 $0.00119

Measured 9d ago against content hash 87994d252bcb, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

goal-loop-designer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/goal-loop-designer/SKILL.md · 171 lines

How it starts

The opening of the file, as written. The whole thing — 171 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Goal Loop Designer

Use this skill before starting a long agent loop. It turns a raw /goal or task prompt into a portable loop harness that another agent or model can execute and evaluate.

This skill designs the loop. It does not run autonomous tools, log in to providers, change repos, or approve edits.

Intake

Collect or infer the smallest useful context:

  • raw goal or task prompt;
  • target host: Codex, Claude Code, MiMo Code, Ollama/OpenAI-compatible, or generic CLI agent;
  • repo or artifact scope;
  • allowed actions and forbidden actions;
  • available verification commands or manual checks;
  • judge options: deterministic check, human review, Codex, MiMo Auto, local Ollama, or external LLM;
  • hard limits: iterations, time, token/tool budget, file scope, network, credentials, destructive actions.

If key limits are missing, choose conservative defaults and mark them as assumptions.

Goal Critique

Before drafting the harness, critique the raw goal:

  • ambiguous completion condition;
  • missing non-goals;
  • missing verification;
  • unclear permission boundary;
  • no budget or retry cap;
  • self-judging without independent evidence;
  • broad file or repo scope;
  • hidden external dependencies;
  • failure mode that would cause repeated retries.

Rewrite the goal so it is specific, bounded, and testable.

Loop Fit

Classify the work:

  • single pass: one execution plus verification is enough;
  • supervised workflow: multiple ordered steps, but human approval should gate progress;
  • bounded loop: iteration is useful and an evaluator can decide whether to continue;
  • do not loop: the work is too risky, under-specified, or unverifiable.

Prefer the lowest level that can succeed.

If a loop produces a reusable lesson, do not automatically add it to memory or a skill. Use agent-learning-layer-triage after the run to decide whether the lesson belongs in a context note, durable doc, checklist, SKILL.md, script/tool, eval, golden fixture, or rejected buffer.

Read the full file on GitHub · 171 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 171 lines · 72 tokens per session scan A 87994d252bcb

Subscribe to this mod's changes

goal-loop-designer is a skill published in the GitHub repository markoblogo/abvx-agent-skills (16 stars, last pushed yesterday), licensed MIT. It adds 72 tokens to every session and 1,192 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.