agentleFS
Camarota-234Camarota-234/session-ritual/skills/session-start/SKILL.md

session-start

Skill0 starsChanged 41 days agoMITView on GitHub

Start-of-session briefing from SESSION_STATE.md and SESSION_LOG.md: pulls, reads the persisted state and the in-progress hand-off, then either proposes the next item or dives into the declared focus. Use when the user opens a session wanting to know where things stand (\"where were we\", \"what's on today\", \"let's start\", \"/session-start\"), or names a focus in the first message of a project that has a SESSION_STATE.md. Not for mid-session questions.

45 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use deploy-verify, reflect and 3 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • danielarif26Skill

    deploy-verify

    Verify a Vercel deployment actually went live and serves the correct production domain. Self-improving: reads its own run history before checking and logs the outcome after. Use when the user asks "did you deploy?", "is it live?", "verify the deploy", "check vercel", or after any Vercel deploy. Part of the Agentic OS (Level 1 backbone).

    Also in 3 projects that use this

  • Microsoft AzureSkill

    reflect

    Learning capture system that extracts HIGH/MED/LOW confidence patterns from conversations to prevent repeating mistakes. Use after user corrections ("no", "wrong"), praise ("perfect", "exactly"), or when discovering edge cases. Complements .squad/agents/{agent}/history.md and .squad/decisions.md.

    Also in 4 projects that use this

  • ibahgatSkill

    autopilot

    Run autonomous multi-stage execution loops until acceptance criteria pass or blockers are reached.

    Also in 3 projects that use this

  • VercelSkill

    setup

    Set up Vercel CLI and project configuration. Use when the user says "set up Vercel", "configure Vercel", "link to Vercel", or "vercel init".

    Also in 4 projects that use this

  • MicrosoftSkill

    handoff

    Compact the current conversation into a handoff document for another agent to pick up.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 38 edited versions we read keep these.

  • 1

    Distinctive

    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:

    Run the steps in order, without asking.

    line 8
  2. Very specific:

    If the context already has a block starting with # Session start by hook, use it and go to step 2: running the script again only repeats …

    line 14
  3. Very specific:

    No STATE and no LOG, or a repo that logs another way: adoption.md.

    line 29
  4. Very specific:

    If ~/.claude/ritual-extend.md exists, run its ## Start (../../references/extension.md).

    line 47

“Common” is measured: kept by at least 6 in 10 of the 38 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

session-start

Run the steps in order, without asking. Two modes, decided by the first message: declared focus ("today is the Pix", "let's do the login bug") and no focus ("what's on", "where were we"). Steps 1 to 4 are the same; only the briefing changes. Formats: ../../references/files.md.

1. Mechanical part

If the context already has a block starting with # Session start by hook, use it and go to step 2: running the script again only repeats the pull. Otherwise run it for the current repo (../../scripts/session-start.ps1 -Repo <repo> on Windows, ../../scripts/session-start.sh --repo <repo> elsewhere) and paste its output as the "Repository" section. Do not rewrite it. Then act on its lines:

  • **STATE in 1.x format** → open ../../references/adoption.md, section "Migrating a 1.x STATE", and offer the migration before the briefing. With a yes, migrate and commit; then continue with the migrated file.
  • Feature branch: → read ../../references/branches.md; the briefing repeats the line.
  • **Commits after the last /session-end** → the STATE may be stale; say so, and treat ## Now as possibly outdated.
  • **Pull failed** → enters the briefing as is; do not retry.
  • Session files: → STATE and LOG live in that folder (files.md): read them there, create nothing in the repo.

No STATE and no LOG, or a repo that logs another way: adoption.md. Never run the test suite here.

2. Read

SESSION_STATE.md whole, for the current repo and each sibling (../../references/multi-repo.md). From SESSION_LOG.md, only the **Summary:** and **Pending:** bullets of the two most recent entries (1.x labels, entries with no summary, a short LOG in a new month: files.md, "Reading rules"). The rest of an entry only when the focus touches it.

3. In progress first

With a declared focus, look at ## In progress: a ### block whose title matches is the briefing, and nothing else. Delete it from the STATE as you take the task over (a one-line edit, no commit of its own) and start working. No match: step 4. Without a focus, the block titles go to the top of the briefing (step 5).

4. Extension

If ~/.claude/ritual-extend.md exists, run its ## Start (../../references/extension.md); no file or section: nothing happens, nothing is said.

5. Briefing

No focus — present and stop:

## Briefing — <date>
### Repository
<script output, one sub-block per repo>
### In progress
<block titles, or "none">
### Now
<the `## Now` list, whole, in order>
### Blocked that changed
<blocked items whose condition looks met, or "none">
### To exercise (N)
<each `## To exercise` item with its proof, one line; omit if empty>

Close by proposing, not asking open-ended: the first In-progress block, or else item 1 of ## Now, and the question is just "start there?". Wait for the answer before any work.

Declared focus — no stop. The briefing shrinks to what touches the focus:

## Briefing — <date> — focus: <what the user asked>
- <script lines that matter: pull failed, commits after the last end, ahead/behind, modified files. Clean and up to date = one line>
- <what in the STATE and the LOG touches the focus: the `## Now` item, a recent decision, evidence>
- <if the focus is not in `## Now`: "not planned; goes ahead of <item 1>" — one sentence, no justification asked>
- <a `## To exercise` item the focus can prove in passing, with its proof>

Then go straight to the work; what does not touch the focus does not enter the briefing.

In both modes: an (assumed) item enters as a hypothesis, never a fact (if it defines the day's work, confirming it is step one). ## Deferred never enters. A date is context, never a nag.

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.