agentleFS
arctan303arctan303/creator.skill/.agents/skills/goal-writer/SKILL.md

goal-writer

Skill19 starsChanged 3 months agoMITView on GitHub

将长期、复杂且需要完全托管给 Agent 自行执行的任务转化为有边界、可恢复、可量化验收的 Goal 文件。适用于配置宿主机自动或持续执行前;禁止无限重试、无限审查和没有停止条件的目标。

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 1

    1. Astro-Han/skills★ 12same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository12 other files it gives its agents.

The file

Files
SKILL.md

Goal 编写技能 (goal-writer)

Purpose

把长期任务写成 Agent 能自主执行、明确停止、失败后恢复并用证据验收的单一 Goal。

Trigger

  • 任务需要跨较长时间、多个工具调用或宿主自动执行。
  • 用户明确要求持续执行、托管、直到交付或生成 Goal。
  • 普通单轮任务不需要额外 Goal 文件。

Required context

  • 唯一目标、范围和非目标。
  • 当前状态、依赖、授权与可用资源。
  • 可观察完成标准和验收证据。
  • 最大重试/复审边界、中断条件和恢复入口。

Workflow

  1. 将愿望改写为单一、有限、可完成的目标。
  2. 写出可观察完成标准和可复现验收方式。
  3. 明确授权边界、最大重试次数、reviewer 收敛条件和外部依赖。
  4. 规定容量、网络、工具或宿主故障时的中断状态与恢复检查点。
  5. 检查 Goal 不会通过“永远继续”“不断生成 reviewer”等文字制造无限循环。

Output

  • 可直接发送给 Agent 的 Goal 块。
  • 目标、范围/非目标、完成标准、验收方式。
  • 停止条件、失败条件、重试上限和恢复方式。
  • 需要用户先授权或决策的事项。

Stop or escalate

  • 目标包含互相依赖的多个大型结果:拆分后再输出。
  • 完成标准不可观察或依赖未确认信息:停止并指出缺口。
  • 用户要求无限重试、无限审查或规避容量/权限限制:改写为有界目标并明确说明。
  • 必须扩大外部权限才能执行:请求用户授权,不自行扩权。

References

执行前读取 stage-contract.md。

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.