agentleFS
slogsdonslogsdon/loop-and-gate-foundation/skills/session-start/SKILL.md

session-start

Skill0 starsChanged 4 months agoMITView on GitHub

Load working memory at the start of every agent session. Use FIRST in any session before doing work — reads MEMORY.md, today's daily note, and the latest reflection, then states assumptions before acting.

39 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use session-end, deploy-verify and 2 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.
  • jasonmichaelbell78-creatorSkill

    session-end

    Also in 11 projects that use this

  • 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

  • ibahgatSkill

    autopilot

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

    Also in 3 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

7 rules. 0 are common, 2 are distinctive, and 5 are very specific to this project.

  • 0

    Common

    Most of the 32 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 5

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read vault/MEMORY.md in full.

    line 23
  2. Very specific:

    Read the most recent note in vault/Daily/ (today's if it exists, otherwise the latest).

    line 25
  3. Very specific:

    Read the most recent note in vault/Reflections/.

    line 27
  4. Very specific:

    Do NOT bulk-read vault/Knowledge/.

    line 29
  5. Very specific:

    If today's daily note doesn't exist, create vault/Daily/YYYY-MM-DD.md:

    line 32
  6. Distinctive:

    Before starting work, state in one short block:

    line 40
  7. Distinctive:

    Never re-read files the hook already injected — that's paying twice.

    line 49

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

One job: load the right memory into context, cheaply. Nothing else.

A SessionStart hook (scripts/session-start-hook.sh) — or on pi, the Foundation extension running the same script — normally injects memory automatically — look for a === WORKING MEMORY === block in your context. If it's there, skip straight to step 6. Steps 1-5 are the manual fallback (hook not installed, or a harness with neither).

The hook injects MEMORY.md FIRST on purpose: it sits at the top of the prompt-cache prefix, so the harness caches it across the session. Changing MEMORY.md after the hook fires defeats this — it stays read-only until session end (see CLAUDE.md hard rules).

Steps

  1. Read vault/MEMORY.md in full. This is the index — who you work for, active goals, standing lessons, and what Knowledge notes exist.
  2. Read the most recent note in vault/Daily/ (today's if it exists, otherwise the latest). This tells you what happened last and what's open.
  3. Read the most recent note in vault/Reflections/. Apply its lesson to how you work THIS session.
  4. Do NOT bulk-read vault/Knowledge/. Open a Knowledge note only when the current goal needs that specific topic — the MEMORY.md index tells you which one.
  5. If today's daily note doesn't exist, create vault/Daily/YYYY-MM-DD.md:

    # YYYY-MM-DD
    
    ## Sessions
  6. Before starting work, state in one short block:
    • The goal as you understand it
    • Which open items from the daily note are relevant
    • Any assumptions you're making — if the goal is ambiguous, ask instead of guessing

Rules

  • This skill loads memory. It never writes Knowledge or Reflections.
  • Never re-read files the hook already injected — that's paying twice.
  • Total reading: MEMORY.md + 1 daily note + 1 reflection + at most 2-3 Knowledge notes. If you're reading more than that, stop — you're burning context the session needs for actual work.

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.