agentleFS
June74June74/agentic-workflow/skills/halt/SKILL.md

halt

Skill0 starsChanged 3 months agoMITView on GitHub

Use when any agent errors, times out, returns garbage, or fails to return. Defines the retry-once-then-stop-everything policy and what to preserve before stopping.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    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:

    Stop dispatching: No new sys_session_send calls.

    line 28
  2. Distinctive:

    Let in-flight work finish if it can: Do not kill sessions mid-write — a half-written file is worse than a stopped run.

    line 29
  3. Very specific:

    Preserve state: Write to .agentic/convenes/<id>/ or the work order: what was in flight, what completed, what returned nothing, the exact …

    line 31

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “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

Halt

Undefined failure semantics are how multi-agent systems hang for hours while burning tokens. This policy is deliberately blunt.

The policy

Transport-level failure — timeout, rate limit (429), connection reset, transient provider error:

Retry ONCE, with backoff. If the retry succeeds, continue and note it in the delivery. If the retry fails, halt.

Anything else — a non-transport error, a malformed or empty return, an agent that contradicts its own work order, a crash:

Halt immediately. Do not retry.

There is no third attempt. A second failure is a signal, not noise.

Halting means halting

  1. Stop dispatching. No new sys_session_send calls.
  2. Let in-flight work finish if it can. Do not kill sessions mid-write — a half-written file is worse than a stopped run. Collect what returns.
  3. Preserve state. Write to .agentic/convenes/<id>/ or the work order: what was in flight, what completed, what returned nothing, the exact error text. The next run resumes from this, so vagueness here costs a re-run.
  4. Notify the PM using escalate, with the error text verbatim. Do not paraphrase an error message — the exact string is usually the diagnosis.
  5. Do not proceed on a degraded roster. Continuing with two of three council members silently converts a three-way convene into a two-way one, which no longer meets the >=50% threshold it was designed around.

What is NOT an error

  • An agent returning "I could not do this, here is why" — that is a valid delivery. See delivery.
  • A convene that deadlocks — that is escalate, not halt.
  • A QA finding, however severe — that is a finding, and the Scrum Master decides.

Recording

Log every halt as a setback using the project's existing incident format if it has one (setback-logger / tracking-setbacks). Halts that recur in the same place are the cheapest available signal about where this framework is weak.

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.