agentleFS
desertcachedesertcache/agent-os/skills/session-start/SKILL.md

session-start

Skill0 starsChanged 9 months agoMITView on GitHub

Smart session boot: shows full project index, then loads deep context on demand. Use when the user says "session start", "catch me up", "where were we", or "/session-start". Reads pre-gathered context from cache (populated by SessionStart hook) and presents a two-phase briefing.

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 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.
  • 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

  • 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

  • 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

12 rules. 0 are common, 8 are distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 32 edited versions we read keep these.

  • 8

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

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

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

    Read ~/.claude/cache/session-context.json (written by session-context-preloader hook).

    line 15
  2. Very specific:

    If cache is missing, unreadable, or lacks projectIndex, fall back:

    line 23
  3. Distinctive:

    Put dormant items on a single comma-separated line with their status in parens, not a table row

    line 73
  4. Distinctive:

    When the user names a project to work on (or when auto-detected from cwd):

    line 78
  5. Very specific:

    Check error-patterns: Read <memoryDir>/error-patterns.md and surface any entries that mention the project name or its key technologies

    line 88
  6. Distinctive:

    After loading deep context, quickly compare:

    line 117
  7. Distinctive:

    If drift detected, flag it: "Note: MEMORY.md says X but README says Y -- which is current?"

    line 119
  8. Distinctive:

    Keep all output concise -- this is a briefing, not a report

    line 122
  9. Distinctive:

    Don't read files that don't exist -- check gracefully with Glob first

    line 123
  10. Distinctive:

    Never dump raw file contents -- always summarize

    line 126
  11. Distinctive:

    If user asks to work on something not in the index, search the vault with Grep before saying it doesn't exist

    line 127
  12. Very specific:

    All paths come from agent-os.config.json -- never hardcode user-specific paths

    line 128

“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

Two-phase boot: show what exists (Phase 1), then load deep context for the chosen focus (Phase 2).

Step 1: Read Cache

Read ~/.claude/cache/session-context.json (written by session-context-preloader hook).

Extract:

  • detectedProject -- project matched from cwd (may be null)
  • vaultProjectPath -- vault path for detected project
  • recentSessions -- previews of last 3 session notes
  • projectIndex -- all scanned vault directories with name, vault, status, codebase, summary, lastSession

If cache is missing, unreadable, or lacks projectIndex, fall back:

  • Glob <vaultPath>/Projects/*/README.md (vault path from agent-os.config.json)
  • Present folder names as a plain list (no metadata)

Step 2: Present (Phase 1)

If a project was detected from cwd:

Skip straight to Phase 2 (Step 3) for the detected project. After showing the deep briefing, append a condensed "Other Projects" list:

  • Active projects as a simple bulleted list (name + last session date), not a full table
  • Omit dormant items

If no project detected (home dir or unmatched):

Display the full index. Sort all entries by lastSession date descending (most recently worked on first). Items with no session date go to the bottom.

Format:

For each key in projectIndex (e.g., "projects", "ventures"), show a table:

Session Context Loaded

## Projects
| Project | Last Worked | Summary |
|---------|------------|---------|
| {name} | {M/D or --} | {summary} |
...

## Ventures (if present in index)
| Venture | Last Worked | Summary |
|---------|------------|---------|
| {name} | {M/D or --} | {summary} |
...

## Dormant
{comma-separated list of items with status complete/deprecated/planned}

Recent Sessions:
- {M/D} -- {title extracted from session filename} ({project tag})
- ...

What are we working on?

Rules for the index:

  • Convert lastSession dates to short format: "3/13" not "2026-03-13"
  • Summaries should be under 10 words (truncate if needed from the cache data)
  • Active = status is "active" or "unknown" with a recent session
  • Dormant = status is "complete", "deprecated", "planned", or "unknown" with no session in last 60 days
  • Put dormant items on a single comma-separated line with their status in parens, not a table row
  • Target: 25-40 lines total for the index output

Step 3: Deep Context Load (Phase 2)

When the user names a project to work on (or when auto-detected from cwd):

  1. Find the vault path from the matching index entry's vault field
  2. Read the README: <vaultPath>/{vault}/README.md
    • Extract: current status, what's built, blockers, next steps
    • Summarize in 4-6 bullets max -- do NOT dump the raw README
  3. Find related sessions: Glob <vaultPath>/Sessions/* for files containing the project name. Also check the lastSessionFile from the index. Read first 20 lines of the 2 most recent matches.
  4. Check for extras in the vault folder:
    • CODEBASE.md -- mention "CODEBASE.md available" if it exists (don't read unless asked)
    • STATUS.md -- read if exists, include key points
  5. Check error-patterns: Read <memoryDir>/error-patterns.md and surface any entries that mention the project name or its key technologies
  6. Present deep briefing:
Deep Context: {Project Name}

Status: {status}
Codebase: {codebase path}
Last Session: {date} -- {topic from session filename}

Current State:
- {bullet from README}
- {bullet from README}
- {bullet from README}

{If blockers exist:}
Blockers: {list}

{If CODEBASE.md exists:}
CODEBASE.md available for architecture reference.

{If relevant error patterns:}
Watch out for: {brief warning}

What's the focus?

Step 4: Cross-reference Check

After loading deep context, quickly compare:

  • Does MEMORY.md (already in system prompt) have info about this project that contradicts the README?
  • If drift detected, flag it: "Note: MEMORY.md says X but README says Y -- which is current?"

Rules

  • Keep all output concise -- this is a briefing, not a report
  • Don't read files that don't exist -- check gracefully with Glob first
  • Phase 1 (index) = exactly 1 file read (the cache JSON)
  • Phase 2 (deep load) = 2-4 file reads max (README + sessions + error-patterns)
  • Never dump raw file contents -- always summarize
  • If user asks to work on something not in the index, search the vault with Grep before saying it doesn't exist
  • All paths come from agent-os.config.json -- never hardcode user-specific paths

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.