session-start
Skill13 starsChanged 8 months agoMITView on GitHub
Cold session start — context, status, focus. Use at the beginning of each new session.
24 other projects use a version of this.
Adopted by
Most recently taken up by
- mayankasthana/applymatetheir own version, first seen Oct 1, 2026
- maiconlara/session-starttheir own version, first seen Sep 29, 2026
- sandraschi/opencode-cli-mcptheir own version, first seen Sep 27, 2026
- kimkon1011/orgiast-claude-rulestheir own version, first seen Sep 25, 2026
- ilang-ai/autocodetheir own version, first seen Sep 20, 2026
- Simple-With-Us/BotFleettheir own version, first seen Sep 16, 2026
Used with
Projects with it also use setup.
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.
VercelSkillsetup
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
Other versions24 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 24
- bitwize-music-studio/claude-ai-music-skills★ 531same name
- AlexZio00/sovereign-skills★ 138same name
- ilang-ai/autocode★ 103same name
- iamneilroberts/claude-skills★ 26same name
- itsjwill/claude-memory★ 15same name
- troykelly/claude-skills★ 11same name
- mae616/ai-template★ 9same name
- DINAKAR-S/company-ai-os★ 4same name
- freskhu/genesis★ 4same name
- jkm-4314/claude-code-skills★ 4same name
14 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository10 other files it gives its agents.
- docs-reflectSkill
- memory-setupSkill
- memorySkill
- parkSkill
- reflectSkill
- session-continueSkill
- session-endSkill
- session-insightsSkill
- session-restoreSkill
- task-templateSkill
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 2 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 22 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 20
If a workstream argument is provided — skip to Step 3.
- Distinctive: line 69
If user picks ➕ — ask name + keywords, then:
- Very specific: line 89
No match → run git log <branch> --oneline -10 + git diff $(git merge-base HEAD origin/main)...HEAD --stat.
- Very specific: line 91
If handoff has lastCommit ref: show git log <ref>..HEAD --oneline (changes since session-end).
“Common” is measured: kept by at least 6 in 10 of the 22 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.
Files
/session-start — Cold session start
Quick context entry. Gather state, propose focus.
Step 1: Gather context
Do NOT re-read MEMORY.md — already in system prompt via claudeMd loader.
If a workstream argument is provided — skip to Step 3.
MEM="${CLAUDE_PLUGIN_ROOT}/scripts/memory.js"
PROJ_KEY=$(pwd | tr '/.' '-' | sed 's/^-//')
MEM_DIR="$HOME/.claude/projects/-${PROJ_KEY}/memory"
# Latest handoff (global; per-workstream fetched in Step 3)
node "$MEM" --dir="$MEM_DIR" handoff
# Latest dated note
ls -t "$MEM_DIR/notes/"*.md 2>/dev/null | head -1 | xargs -I{} head -30 {}
# Workstreams sorted by aggregate weight
node "$MEM" --dir="$MEM_DIR" workstreams
# Top-3 brief inline
for WS in <top-3 from sorted list>; do
node "$MEM" --dir="$MEM_DIR" workstream "$WS" --brief | head -15
doneDecision tree — source of focus candidates:
| Handoff state | Candidates source |
| ≤7 days old, has "What's next" | Handoff primary (workstreams table still rendered for context) |
| >7 days old | Workstreams table; handoff shown as stale context |
Missing/empty/only SESSION_START markers | Workstreams table; say "no usable context", suggest /session-restore |
| No handoff, no notes | Workstreams table only |
The workstreams table in Step 1b is always rendered in Step 4 — it's the session's map, not a fallback. The decision tree only controls where focus candidates come from.
Step 1b: Workstreams table (always rendered)
Render as table. Top-3 rows show synthesized "What's in" from --brief; rest show keywords. ➕ row is mandatory.
**Workstreams** (sorted by aggregate weight)
| # | Workstream | Last touched | What's in / Keywords |
|---|---|---|---|
| 1 | <name> | <date> | <synthesized 1-line for top-3> |
| ... | | | <keywords for rest> |
| N | ➕ Create new | | |If user picks ➕ — ask name + keywords, then:
node "$MEM" --dir="$MEM_DIR" add-workstream <name> <keyword1> <keyword2> ...Step 2: Git status
git status; git log --oneline -5; git branch --show-current- Uncommitted changes → ask: "Commit or continue on top?"
- Last commit >5 days ago → note it
- Commits: synthesize last 2-3 into 1 line about the theme. Don't list verbatim.
Branch ↔ workstream check: does branch name contain any keyword from workstreams.json?
- Match → skip "Current branch" block in Step 4
- No match → run
git log <branch> --oneline -10+git diff $(git merge-base HEAD origin/main)...HEAD --stat. Synthesize phase (review iteration / new feature / hotfix). Grepnotes/for branch name. Surface in Step 4 as branch block + extra focus candidate.
If handoff has lastCommit ref: show git log <ref>..HEAD --oneline (changes since session-end).
Step 3: Workstream brief
node "$MEM" --dir="$MEM_DIR" handoff <name> # per-workstream handoff if available
node "$MEM" --dir="$MEM_DIR" workstream <name> --briefShow: open/done task counts, blockers, pickable now. Do NOT read full files — full context loads only after task pick in Step 4.
Step 4: Render & propose
Use the user's preferred language (from profile/language.md if present, else English). Translate labels and prose; keep markdown structure, identifiers, code refs as-is.
Required format — clean bold headers, no emoji, --- between every block, blank line after each header before content.
## Session YYYY-MM-DD
**Git:** branch `<branch>` / <N> uncommitted / last commit <days> days ago
**Commits:** <1-line synthesis>
---
**Workstreams**
[table from Step 1b]
---
**Task plan ({active workstream})**
{1-line context}
- [ ] {open task} ({SP})
- [ ] {open task} — {blocker}
---
**Current branch `{branch}`** _(only if no workstream match)_
{1-2 sentences: theme, phase, side task vs portfolio}
---
**Focus candidates**
1. **{task}** — {why now} → **{Model}** ({reason})
2. **{task}** — {why now} → **{Model}** ({reason})
3. **{task}** — {why now} → **{Model}** ({reason})
---
My hypothesis: focus on **{candidate #1}** because {reasoning grounded in handoff/git/recency}. Recommendation: **{Model}**.
Agree, pick another candidate, or **start a new workstream**?Close with a hypothesis, not a menu. Users iterate on a proposal faster than they pick from a list. Candidates 2-3 stay visible for quick override.
MANDATORY: the closing line must keep "start a new workstream" as an explicit option. Never omit it — the hypothesis frame hides existing workstreams, so the escape hatch to create a new one has to be surfaced every time. If the user picks it, run Step 1b (workstream creation).
Model selection: Opus = planning/architecture/exploration. Sonnet = execution by plan, refactoring, review. Haiku = routine/translation/pattern copy.
Step 5: Session label
node "$MEM" --dir="$MEM_DIR" note "SESSION_START branch:$(git branch --show-current) workstream:<chosen> focus:<task>"(Auto-routed to sessions.log, not notes.)
Rules
- Max 3 focus candidates
- Skip blocked tasks (waiting on mockups/backend) from candidates — note them separately
- Workstream argument → go straight to Step 3
- Previous session ended with compact → check via
/session-restore
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
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.

