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.
npx skills add CCDawn/codex-skills --skill briefbound-goal-loopgit clone --depth 1 https://github.com/CCDawn/codex-skillsWrote 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.
[](https://agentmods.dev/skills/ccdawn/codex-skills/briefbound-goal-loop)<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>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.
| Model | Per session | Once 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 |
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.
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 协调均不触发。
最小循环
- 首轮只确认
Goal / Evidence / Constraints / Stop;Briefbound Router 已提供的内容直接继承,不重复询问或展示合同。 - 选择最小且最可能产生新证据的动作,执行并验证。
- 根据证据判断:推进目标用
ADVANCE,修正方法用ITERATE,目标已达成或继续无价值用STOP,缺不可约输入/权限用BLOCKED。 - 已授权且未触发停止条件时连续迭代,不在每轮询问是否继续。
Goal Loop 是控制策略,不是状态存储。对话内续接使用 Briefbound runtime;只有用户/项目已启用跨会话 memory 且当前决定值得持久化时,才由 briefbound-project-memory 写一次 durable delta。不得逐轮生成 ledger、dashboard、完整尝试历史或重复 goal contract。
需要校准正常推进、边界澄清或阻塞停止行为时,读取 references/examples.md。
输出
普通轮次只给:本轮结果 / 新证据 / 决策 / 下一动作。只有 BLOCKED 才补已尝试的关键路径和一个不可约问题;只有用户明确要求正式交接时才路由 Completion Summary。
下一步建议: <一个具体动作>
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.
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.
- 7d ago First seen · 47 lines · 47 tokens per session scan A 7e787aab8d55
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.
Other skills, from other repositories
chinese-git-workflow
A reference for configuring Git with Chinese code-hosting services such as Gitee, Coding.net, GitLab China, and CNB, including SSH, HTTPS, credentials, CI, and repository mirroring.
chinese-documentation
A Chinese technical-documentation style guide covering spacing, punctuation, numbers, terminology, and links when Chinese and English appear together.
chinese-code-review
A Chinese-language code-review communication guide with templates and severity levels for review comments.
chinese-commit-conventions
A Chinese-language guide to Conventional Commits, a format for writing consistent Git commit messages, plus related changelog, commit-checking, and commit-helper configuration.
mcp-builder
A guide to building Model Context Protocol (MCP) servers, which let AI assistants use tools and read external data. It covers server structure, tool design, testing, and deployment in TypeScript and Python.
systematic-debugging
A step-by-step method for finding the underlying cause of technical problems before changing code. It covers reading errors, reproducing failures, checking recent changes, and tracing data across system components.