agentsclimarketplace

Sustained execution

Skill AdrianParedez/capability-fabric/skills/sustained-execution

Keeps long, multi-session, or compaction-spanning tasks on track using an external task ledger, checkpoints, and resumable state. Use when work spans many steps/hours, may hit context limits, or must survive a reset. Pairs with decomposing-tasks (the plan), context-budgeting (the window), and operating-autonomously (unattended runs).From its SKILL.md

Install
npx -y skills add AdrianParedez/capability-fabric --skill sustained-execution

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its file declares

Copied from the file, not written here

The file declares its own license as Apache-2.0. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.

SKILL.md

4.4 KB, 944 tokens by cl100k_base, as published. Nobody here has run it

Sustained execution

Long tasks fail not from lack of capability but from lost state: the window fills, gets compacted, and the agent forgets where it was. The fix is an external ledger - durable memory that survives compaction and resets. The context window is scratch; the ledger is truth.

Use this when

  • Work spans many steps, multiple sessions, or hours.
  • The run will likely hit the context hard ceiling (see context-budgeting).
  • The task must be resumable if interrupted.
  • Skip for short tasks that finish within one comfortable window.

The ledger (single source of truth)

Maintain one file (e.g. notes/ledger.md) holding:

GOAL + DONE criteria         (verbatim, from decomposing-tasks)
PLAN with step states        ([x] done / [>] active / [ ] pending)
DECISIONS log                (what + why/constraint, append-only)
CHECKPOINTS                  (digest pointers, newest last)
ARTIFACTS                    (paths/URLs the run produced or depends on)
NEXT ACTION                  (the single next concrete step, always current)

The NEXT ACTION line is the resume anchor: any fresh agent reads the ledger, finds NEXT ACTION, and continues without re-deriving anything.

The loop

- [ ] INIT     write GOAL+PLAN to the ledger (from decomposing-tasks)
- [ ] before each step: read NEXT ACTION
- [ ] do the step
- [ ] after each step: update step state + DECISIONS + NEXT ACTION  (write-through)
- [ ] at context soft ceiling: offload detail, keep ledger pointers  (context-budgeting)
- [ ] at hard ceiling: write CHECKPOINT digest -> reinitialize -> reload goal+ledger
- [ ] on resume/interrupt: read ledger -> NEXT ACTION -> continue
- [ ] at end: confirm every DONE criterion; close the ledger

Principles

  1. Write-through, not write-back. Update the ledger immediately after each step, not "later." A crash/compaction between step and write loses that step.
  2. The ledger is append-mostly. DECISIONS and CHECKPOINTS append; PLAN step-states and NEXT ACTION mutate. Never rewrite history you might need.
  3. One current NEXT ACTION. Always exactly one concrete next step recorded. If you can't write it, you don't know what to do next, re-plan.
  4. Checkpoints are resume points. A checkpoint = a context-budgeting digest, saved, pointer added to the ledger. After a checkpoint, context holds only goal + ledger + active step.
  5. Verify before you record DONE. A step isn't done because you ran it; it's done when its outcome passes its check (verifying-reasoning for critical ones).
  6. Idempotent resume. Re-reading the ledger and re-doing the NEXT ACTION should be safe; design steps so a repeated step doesn't corrupt state (esp. one-way doors - record "done" only after the irreversible action confirmed).

Resume protocol (the payoff)

On any fresh start (new session, post-compaction, after interruption):

1. Read the ledger.
2. Reload GOAL + DONE + PLAN states + latest CHECKPOINT + ARTIFACTS pointers.
3. Go to NEXT ACTION. Continue. (Do not re-explore solved sub-problems.)

Runtime adaptation

  • Minimum: filesystem read+write. The ledger is a plain Markdown file.
  • If the runtime auto-compacts: still keep the ledger, auto-summaries are lossy and not under your control; the ledger is.
  • If a memory/state mechanism exists (e.g. a memory dir, KV store): use it as the ledger store, same protocol.
  • Multi-agent: the ledger is the shared contract; each agent reads NEXT ACTION.

Files

  • references.md, ledger schema, checkpoint cadence, crash-safety.
  • examples.md, a multi-session build walked end to end.
  • templates/ledger.md, the ledger to copy.
  • templates/checkpoint.md, checkpoint entry format.
  • checklists/resume.md, the resume protocol as a checklist.
  • benchmarks/, resumability and long-run completion method.

What ships with it: 6 files

8.0 KB alongside SKILL.md

benchmarks/

checklists/

templates/

Gives 0 of the 12 instructions most finance skills give in 944 tokens

Counted across 469 of the 469 authors here whose files we hold, read 2026-08-07

  • Extract date vendor amount and descriptionin 15 of 469, across 3 files
  • Scan folder for invoice filesin 14 of 469, across 2 files
  • Rename files to standard formatin 14 of 469, across 2 files
  • Show organization plan before movingin 14 of 469, across 2 files
  • Generate summary CSVin 14 of 469, across 2 files
  • Organize files by categoryin 13 of 469, across 1 file
  • Preserve original filesin 13 of 469, across 1 file
  • Flag files missing critical infoin 13 of 469, across 1 file
  • Produce the requested output filein 9 of 469, across 4 files
  • Build best, base, and worst case scenariosin 9 of 469, across 5 files
  • Implement backoff if rate limit errors occurin 8 of 469, across 3 files
  • Determine the weighted average cost of capitalin 8 of 469, across 4 files

Said here and by no other author read

  • write the goal and plan to the ledger initially
  • read the next action line before each step
  • update the ledger immediately after each step
  • keep exactly one current next action recorded
  • append a checkpoint digest at the context hard ceiling
  • reload the goal and ledger upon resumption

Grouped from the skills themselves: near-identical wordings counted once, and counted by distinct author, so one author publishing three of these counts once. Length counted with cl100k_base; the agent that loads this file may tokenize it differently.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.