session-start
Skill15 starsChanged 10 months agoMITView on GitHub
Load relevant memories at session start for context continuity.
- Reads credentials
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 reflect and 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.
Microsoft AzureSkillreflect
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 3 projects that use this
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
- IlyaGorsky/memory-toolkit★ 13same 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 repository4 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- captureSkill
- cloud-recallSkill
- session-endSkill
The file
We split this skill into the rules it gives an agent
9 rules. 0 are common, 8 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 22 edited versions we read keep these.
8
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 26
When user sends their first message
- Distinctive: line 27
Before responding to any request
- Distinctive: line 54
Use loaded memories to inform responses
- Distinctive: line 59
Do NOT announce "I loaded X memories"
- Distinctive: line 61
Only mention if user asks about previous sessions
- Very specific: line 124
If local memory search returns fewer than 3 results AND cloud backup is configured (~/.claude-memory-cloud.env exists):
- Distinctive: line 146
Be proactive: Don't wait for user to ask for context
- Distinctive: line 147
Be silent: Don't announce memory loading
- Distinctive: line 150
Cloud fallback: Use cloud when local results are sparse
“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 - Context Loading
Load relevant memories to maintain continuity across sessions.
When to Invoke
AUTOMATICALLY at the beginning of every session:
- When user sends their first message
- Before responding to any request
- Silently in the background
Execution Steps
- Identify context signals:
- Current working directory (from system context)
- Project name (from path or CLAUDE.md)
- User's first message keywords
- Git branch if available
- Search for relevant memories:
mcp__memory-service__memory_search( query="<project name> OR <key topic>", limit=5, time_expr="last 7 days", quality_boost=0.3 ) - Also search for:
- Recent session summaries:
query="session-summary", limit=3 - Client info if mentioned:
query="<client name>", tags=["client"] - Active decisions:
query="decision", time_expr="last 14 days"
- Recent session summaries:
- Integrate context:
- Use loaded memories to inform responses
- Reference relevant past decisions
- Continue where previous sessions left off
- Silent operation:
- Do NOT announce "I loaded X memories"
- Just use the context naturally
- Only mention if user asks about previous sessions
Search Strategies
By Project
memory_search(query="botsniper trading", limit=5)
memory_search(query="foodshot ai", limit=5)By Recency
memory_search(time_expr="last 3 days", limit=10)
memory_search(time_expr="yesterday", limit=5)By Type
memory_search(query="decision", tags=["decision"], limit=5)
memory_search(query="client", tags=["client"], limit=5)Combined
memory_search(
query="<project> decisions",
time_expr="last 7 days",
quality_boost=0.3,
limit=10
)What to Look For
| Memory Type | Why It Matters |
| Session summaries | What happened last time |
| Decisions | Active choices still relevant |
| Open items | Unfinished work to continue |
| Client info | Key details to remember |
| Gotchas | Pitfalls to avoid |
| Patterns | Established conventions |
Example Flow
User starts session in /Users/maskedhunter/coding/botsniper-optimizer:
- Detect: Project is "botsniper-optimizer", domain is "trading bots"
- Search:
memory_search(query="botsniper trading bot", limit=5, time_expr="last 7 days") - Load: Recent decisions about Billy V4, Blood V5 parameters
- Search:
memory_search(query="session-summary", limit=2) - Load: Yesterday's session about optimizing stop losses
- Respond: Use this context to continue naturally
User says: "Let's continue working on the Hurricane bot"
- Detect: Topic is "Hurricane bot", domain is "Kalshi weather trading"
- Search:
memory_search(query="hurricane kalshi weather", limit=5) - Load: Recent decisions about forecast verification, position monitoring
- Continue: Pick up where previous session left off
Cloud Recall Fallback
If local memory search returns fewer than 3 results AND cloud backup is configured (~/.claude-memory-cloud.env exists):
- Search cloud backup:
cd ~/coding/claude-memory && python3 -m cloud.cli search "<project or topic>" --limit 5 --include-deleted - If cloud has memories not found locally:
- Include cloud results in context with [CLOUD] indicator
- Offer to restore if user asks about missing context
- Restore if needed:
cd ~/coding/claude-memory && python3 -m cloud.cli restore --hash <hash1>,<hash2>
The cloud preserves everything forever - even memories that were deleted or compressed during local consolidation. This ensures total recall.
Important Notes
- Be proactive: Don't wait for user to ask for context
- Be silent: Don't announce memory loading
- Be selective: Quality over quantity - top 5-10 memories
- Be natural: Weave context into responses seamlessly
- Cloud fallback: Use cloud when local results are sparse
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.

