agentleFS
simoncorrysimoncorry/foundry/.agents/skills/start-up/SKILL.md

start-up

Skill39 starsChanged 37 days agoMITView on GitHub

Run the session start-up.

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run the session start-up. This is the chain's opener and the reading half of the pair that makes sessions continuous: handoff writes the …

    line 7
  2. Distinctive:

    Check the ground you're standing on and act on what you find:

    line 11
  3. Distinctive:

    If the human's first message contains a handoff block (the output of last session's handoff command), that's your brief: read it, follow …

    line 21

≈ “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

Run the session start-up. This is the chain's opener and the reading half of the pair that makes sessions continuous: handoff writes the note, start-up reads it.

Step 1: Preflight

Check the ground you're standing on and act on what you find:

  • Current branch, and whether the working tree is dirty. Dirty means warn, not block; uncommitted changes carry forward.
  • Whether the main branch is behind its remote. If it is, pull before anything else; starting work on a stale main manufactures merge conflicts.
  • Anything project-specific the repo's AGENTS.md tells you to check at session start.

No-git projects: skip the git checks and just confirm which folder you're working in.

Step 2: Read the handoff note and the log

If the human's first message contains a handoff block (the output of last session's handoff command), that's your brief: read it, follow its agent half, and respect its "needs the human" and "out of scope" sections.

Then read docs/sessions/LOG.md if it exists; after rotation it holds exactly the current week, so read it whole. The log is the durable half of the bridge: when a handoff paste is missing or stale, the newest entry is where things actually stand. Glance at docs/wiki/INDEX.md too, and note which pages touch the session's likely work; construct-the-plan reads the relevant ones properly. If the project keeps other standing context files, read those as well.

Step 3: Mirror the state

Summarize what you found in 2-3 plain lines: branch, dirty or clean, what last session left off, anything that needs the human's attention before work starts. Facts only; no suggestions yet.

Step 4: Direction

Two cases:

  • A handoff note exists: confirm the recommended focus in one line and proceed to construct-the-plan when the human says go (or immediately, if the note's agent half says to).
  • No note: interview briefly, using frame-it's mechanics pointed at direction instead of a plan: ask ONE question at a time, 2-3 questions total, each with concrete options and a recommendation. "What are we building today?" is a fine opener when the project gives no signal. Fold the answers into a one-paragraph statement of the session's focus and confirm it.

Then wait for the human before drafting anything. Start-up ends with a direction, not a plan.

Rationale (recorded so future edits don't drift it)

Start-up used to be the chain's forgotten opener: every other stage had a file and this one lived in habit, so sessions started blind or started differently every time. Its job is deliberately small (preflight, read the note, mirror, direction) because everything bigger belongs to construct-the-plan. The interview reuses frame-it's brief-then-ask mechanics rather than inventing a second questioning style; the cold-start shape (mirror the state factually before offering anything) carries over from the startup flow of the project Foundry grew out of, which adapted it from a colleague's cold-start pattern. Recorded so the lineage survives edits.

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.