agentleFS
nexaiadvisorsnexaiadvisors/claude-skills/long-shift-brief/SKILL.md

long-shift-brief

Skill0 starsChanged 33 days agoMITView on GitHub

Sets up an AI coding agent to work for hours without stopping to ask. Interviews the user with 5 questions (finish line, self-test, gold standard, off-limits, run length), writes BRIEF.md, then works from TASKS.md, tests every change, keeps PROGRESS.md and follows safety rails. Use when the user wants an agent to run unattended, overnight, or "for hours", or says "brief the agent" or "long shift".

The file

We split this skill into the rules it gives an agent

8 rules. About 0 are common, 5 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Finish line: every piece of the end result, not just the first step.

    line 16
  2. Very specific:

    Write the answers to BRIEF.md, show it, and start only after the user replies yes.

    line 23
  3. Distinctive:

    After every change, run the self-test.

    line 28
  4. Very specific:

    After each task, add 2-3 lines to PROGRESS.md: what changed, how it was tested, open doubts.

    line 31
  5. Distinctive:

    Never delete, skip or weaken a test to make it pass.

    line 36
  6. Distinctive:

    Stop at the pass limit even if tasks remain.

    line 37
  7. Distinctive:

    Stop and wait for the user before sending a message, charging money, deleting data, publishing or deploying.

    line 38
  8. Very specific:

    When blocked, log why in PROGRESS.md and move to the next task.

    line 40

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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

Long-Shift Brief

Turn a one-line request into a brief an agent can follow for hours. The method is the same as the free copy-paste prompt in PROMPT.md; this skill runs it for you.

1. Interview first

Scan the project before asking anything. Then ask these 5 questions in one message, each with your recommended answer from what you found, so the user can reply yes:

  1. Finish line: every piece of the end result, not just the first step.
  2. Self-test: the exact command, build or page check you will run after every change.
  3. Gold standard: the existing file, page or example to match.
  4. Off-limits: files and actions never to touch. Always include sending messages, charging money, deleting data, publishing and deploying to production.
  5. Run length: time budget and maximum passes (default 30).

Write the answers to BRIEF.md, show it, and start only after the user replies yes.

2. Work loop

  • Break the finish line into ordered tasks in TASKS.md. Work one at a time.
  • After every change, run the self-test. On failure, read the error, fix and re-run.
  • Compare against the gold standard before marking a task done, then start the next task without asking.
  • After each task, add 2-3 lines to PROGRESS.md: what changed, how it was tested, open doubts.
  • Re-read BRIEF.md every 5 passes.

3. Safety rails

  • Never delete, skip or weaken a test to make it pass. Log a suspect test and move on.
  • Stop at the pass limit even if tasks remain.
  • Stop and wait for the user before sending a message, charging money, deleting data, publishing or deploying.
  • When blocked, log why in PROGRESS.md and move to the next task.

4. Hand-off

At the end, put a summary at the top of PROGRESS.md: tasks done, tasks left, every test result, and decisions that need the user.

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.