agentleFS
tylerjrbuelltylerjrbuell/Wardens/skills/mission-brief/SKILL.md

mission-brief

Skill2 starsChanged 11 days agoMITView on GitHub

Compose the MissionBrief YAML block that must open every dispatch to a warden (any subagent declared in `.claude/wardens.yaml`). Use BEFORE calling the Agent tool on a warden, and when re-dispatching after a failed UpwardReport. The wardens dispatch hook rejects briefs that are missing fields, vague, over the retry budget, or that widen the warden's authority.

5 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions5 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 5

    1. tikalk/adlc-team-skills★ 145same name
    2. sunholo-data/ailang★ 38same name
    3. sumo91/mission-brief★ 14same name
    4. Cloudscockpit/voltron-lions-claudecode★ 3same name
    5. thanatchon36/skills★ 0same 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 repository3 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

3 rules. 0 are common, 1 is distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 5 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Put this block at the very top of the Agent prompt (a fenced ``yaml block is fine).

    line 12
  2. Very specific:

    Every authority-bounds.paths glob sits inside the warden's owns in .claude/wardens.yaml.

    line 41
  3. Distinctive:

    Success criteria are things you can re-run: If you can't verify it deterministically, it isn't a criterion.

    line 49

“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

MissionBrief — intent in

Commander's intent for one bounded mission: what done looks like, why it matters, and the box the warden works inside. The brief is the only context the warden gets, so it carries the why as well as the what.

Format

Put this block at the very top of the Agent prompt (a fenced ```yaml block is fine). Values are plain strings or - lists of strings.

mission-brief:
  task: <short-slug>                      # ledger key; used by `warden stats`
  end-state: <one sentence, observable>    # what is true when the mission is done
  why: <one sentence>                      # the constraint or motivation; lets the warden make judgment calls
  key-tasks:                               # ≤ 5, ordered; more than 5 = split the mission
    - <step>
  authority-bounds:
    paths:                                 # edit scope for THIS mission; must sit inside the warden's `owns` (wardens.yaml)
      - <glob>
    commands:                              # the verification commands you expect it to run
      - <command>
    out-of-scope:                          # explicit refusals: say what NOT to touch
      - <thing>
  success-criteria:                        # deterministic gates you will re-run yourself
    - <command → expected result | file:line landmark | LOC ceiling>
  attempt: 1                               # increment on every re-dispatch of the same mission
  retries-allowed: 2
  prior-blockers:                          # on attempt > 1: the blockers from the last UpwardReport, verbatim
    - <blocker>
  approved-actions:                        # actions the user approved after a needs-approval report
    - <action>

Rules the hook enforces (dispatch is denied otherwise)

  1. end-state, why, success-criteria, authority-bounds.paths are present and are not TBD/TODO/???.
  2. Every authority-bounds.paths glob sits inside the warden's owns in .claude/wardens.yaml. A brief can narrow authority, never widen it. If the work needs paths the warden doesn't own, run warden route <path> and dispatch the owner, or split the mission.
  3. key-tasks has ≤ 5 items.
  4. attempt ≤ 1 + retries-allowed. When the budget is spent you escalate to the user. You don't re-dispatch.

Writing a good brief

  • End-state is observable. "loop-detector.ts resets the streak only on ACTION steps; bun test reflect/ green." It is not "improve the loop detector."
  • Why is the real reason, including the incident or constraint, so the warden can reject a plausible-but-wrong approach.
  • Success criteria are things you can re-run. If you can't verify it deterministically, it isn't a criterion.
  • Out-of-scope names the tempting adjacent fix. That's where wardens drift.
  • On a retry, change something. Copy prior-blockers and adjust key-tasks. An identical re-dispatch is a silent retry.

Example

mission-brief:
  task: loop-detector-streak-reset
  end-state: "Streak counter in loop-detector.ts resets only on ACTION steps; reflect suite green."
  why: "Observations were resetting the streak and masking infinite loops (incident IC-1)."
  key-tasks:
    - Locate streak-reset call sites in loop-detector.ts
    - Write a failing test asserting the streak persists across an observation
    - Implement the guard
    - Run the reflect tests and the package typecheck
  authority-bounds:
    paths:
      - src/kernel/reflect/**
    commands:
      - npm test -- src/kernel/reflect
      - npm run typecheck
    out-of-scope:
      - Changes to termination logic
  success-criteria:
    - "New test fails before the change and passes after"
    - "npm test -- src/kernel/reflect → 0 failures"
  attempt: 1
  retries-allowed: 2

Validate by hand: warden check brief --warden <name> < brief.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.