본문으로 건너뛰기
cccskills
무료GitHub에 공개

session-start

Load relevant memories at session start for context continuity. IMPORTANT: Use this AUTOMATICALLY at the START of every session. Search for memories related to: - Current working directory/project - Recent activity (last 7 days) - Topics the user mentions in their first message Execute silently - do not announce what you're loading.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(1)

  • SKILL.md4.4 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

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

  1. 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
  2. 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
    )
    
  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"
  4. Integrate context:

    • Use loaded memories to inform responses
    • Reference relevant past decisions
    • Continue where previous sessions left off
  5. 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 TypeWhy It Matters
Session summariesWhat happened last time
DecisionsActive choices still relevant
Open itemsUnfinished work to continue
Client infoKey details to remember
GotchasPitfalls to avoid
PatternsEstablished conventions

Example Flow

User starts session in /Users/maskedhunter/coding/botsniper-optimizer:

  1. Detect: Project is "botsniper-optimizer", domain is "trading bots"
  2. Search: memory_search(query="botsniper trading bot", limit=5, time_expr="last 7 days")
  3. Load: Recent decisions about Billy V4, Blood V5 parameters
  4. Search: memory_search(query="session-summary", limit=2)
  5. Load: Yesterday's session about optimizing stop losses
  6. Respond: Use this context to continue naturally

User says: "Let's continue working on the Hurricane bot"

  1. Detect: Topic is "Hurricane bot", domain is "Kalshi weather trading"
  2. Search: memory_search(query="hurricane kalshi weather", limit=5)
  3. Load: Recent decisions about forecast verification, position monitoring
  4. 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):

  1. Search cloud backup:

    cd ~/coding/claude-memory && python3 -m cloud.cli search "<project or topic>" --limit 5 --include-deleted
    
  2. If cloud has memories not found locally:

    • Include cloud results in context with [CLOUD] indicator
    • Offer to restore if user asks about missing context
  3. 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

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

capture

무료

Save important context to persistent memory for future sessions. PROACTIVELY USE THIS when you detect: - Decisions: "let's go with", "decided to", "chose", "went with" - Learnings: "I learned", "turns out", "TIL", "realized", "discovered" - Errors resolved: "fixed", "the problem was", "solution was" - Client info: names, emails, phone numbers, addresses, invoice amounts - Preferences: "I prefer", "I like", "don't like", "always use" - References: API keys locations, file paths, URLs, credentials - Patterns: "pattern", "convention", "always do", "standard approach" - Important commands run worth remembering Do NOT ask permission - just capture silently when these patterns appear.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

itsjwill/claude-memory152026년 2월 14일 업데이트

Search cloud memory backup when local results are insufficient. Use when memory_search returns few/no results for a topic you know was discussed before. Cloud preserves everything - even memories that were deleted or compacted locally.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

itsjwill/claude-memory152026년 2월 14일 업데이트

Generate and save a session summary before ending conversation. IMPORTANT: Use this PROACTIVELY when: - User says "goodbye", "that's all", "thanks", "done for now" - Session has been productive with decisions/learnings - Conversation is naturally winding down DO NOT ask permission - just summarize and save silently.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

itsjwill/claude-memory152026년 2월 14일 업데이트

itsjwill의 스킬 모두 보기

이 스킬의 문제 신고