briefbound-goal-loop

briefbound-goal-loop is a skill for Claude Code, Codex from CCDawn/codex-skills. It costs 47 tokens per session (774 once invoked), scanned A, original, MIT.

A control loop for goals that require repeated work, where each next step is chosen from the latest evidence until a stop condition is reached.

In plain words
What is it for?
Use it for explicitly iterative tasks whose progress cannot be divided into a fixed list of steps and that have clear limits and evidence requirements.
Why use it?
It keeps open-ended work from continuing without purpose or stopping before there is enough evidence.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present.

Part of the briefbound-skills plugin — 30 skills shipped together

Good fit Use it for explicitly iterative tasks whose progress cannot be divided into a fixed list of steps and that have clear limits and evidence requirements.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ccdawn/codex-skills/briefbound-goal-loop
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 CCDawn/codex-skills --skill briefbound-goal-loop
Clone the repo
git clone --depth 1 https://github.com/CCDawn/codex-skills

Made for: Claude Code, Codex.

Or install briefbound-skills, the plugin that ships this one along with the rest of its 30 skills.

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 briefbound-goal-loop

README.md
[![agentmods](https://agentmods.dev/badge/skills/ccdawn/codex-skills/briefbound-goal-loop.svg)](https://agentmods.dev/skills/ccdawn/codex-skills/briefbound-goal-loop)
Your own site
<a href="https://agentmods.dev/skills/ccdawn/codex-skills/briefbound-goal-loop"><img src="https://agentmods.dev/badge/skills/ccdawn/codex-skills/briefbound-goal-loop.svg" alt="Measured on agentmods" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 774 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.
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.00047 $0.00774
Opus 5 $0.00023 $0.00387
Sonnet 5 $0.00009 $0.00155
Haiku 4.5 $0.00005 $0.00077

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

Security

Grade A, and why

briefbound-goal-loop 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 7d 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/engineering/briefbound-goal-loop/SKILL.md · 47 lines

What it actually says

Briefbound Goal Loop

目标

为明确要求持续迭代的开放目标提供轻量控制策略。它不替代 Briefbound Router 对齐、专项 owner、Planning 或 Project Memory,也不用于普通有限任务。

Briefbound task contract

  • Context Boundary: 已对齐目标、不可破坏约束、可用范围、当前证据和停止条件。
  • Output Contract: 当前最有价值动作、最新证据、ADVANCE / ITERATE / STOP / BLOCKED 和下一动作。
  • Allowed Action: 在用户授权和约束内执行最小高信息动作;不因本 skill 自动扩大工具、写入或远程权限。
  • Success Evidence: 当前动作产生能改变完成判断或下一选择的可检查证据。
  • Stop Condition: 目标达成、约束将被突破、没有高价值动作、连续尝试无新证据、缺输入/权限或用户暂停。
  • Route Out: 最具体专项 owner、继续当前 loop、briefbound-router 或 BLOCKED。

统一调用契约

  • 只处理 Briefbound task contract 范围;不匹配时回 briefbound-router 或更具体 owner,复合任务不吞其他 owner。
  • 用户可见内容默认中文,完成只报状态、产出、证据和剩余风险;代码、命令、路径、错误原文、API/协议、skill 名和枚举保留原样;Route Out 仅以 Briefbound task contract 为准,末行写 下一步建议: <一个具体动作>

激活闸门

必须同时满足:用户明确要求持续/反复迭代;终点不能预先拆成有限任务;每轮需要根据证据选择下一动作;没有更具体 owner。普通“继续”“优化到完成”、有限实现、已知 task graph、实验/score/research loop 和多 Agent 协调均不触发。

最小循环

  1. 首轮只确认 Goal / Evidence / Constraints / Stop;Briefbound Router 已提供的内容直接继承,不重复询问或展示合同。
  2. 选择最小且最可能产生新证据的动作,执行并验证。
  3. 根据证据判断:推进目标用 ADVANCE,修正方法用 ITERATE,目标已达成或继续无价值用 STOP,缺不可约输入/权限用 BLOCKED
  4. 已授权且未触发停止条件时连续迭代,不在每轮询问是否继续。

Goal Loop 是控制策略,不是状态存储。对话内续接使用 Briefbound runtime;只有用户/项目已启用跨会话 memory 且当前决定值得持久化时,才由 briefbound-project-memory 写一次 durable delta。不得逐轮生成 ledger、dashboard、完整尝试历史或重复 goal contract。

需要校准正常推进、边界澄清或阻塞停止行为时,读取 references/examples.md

输出

普通轮次只给:本轮结果 / 新证据 / 决策 / 下一动作。只有 BLOCKED 才补已尝试的关键路径和一个不可约问题;只有用户明确要求正式交接时才路由 Completion Summary。

下一步建议: <一个具体动作>

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. 7d ago First seen · 47 lines · 47 tokens per session scan A 7e787aab8d55

Subscribe to this mod's changes

briefbound-goal-loop is a skill published in the GitHub repository CCDawn/codex-skills (4 stars, last pushed 25d ago), licensed MIT. It adds 47 tokens to every session and 774 once invoked, about $0.0002 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-31.