claudecode/skills/session-start/SKILL.md
Initialize memory session, load project context, and create a session_id for tracking.
npx skillsauth add edwin-hao-ai/awareness-sdk session-startInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Initialize Awareness Memory session and load project context.
Try MCP tools first (awareness_init, awareness_recall, awareness_record, awareness_lookup).
If MCP tools are NOT available, use Bash to call the local daemon HTTP API directly:
# awareness_init — fresh session, no prior-session noise (default max_sessions=0)
curl -s -X POST http://localhost:37800/mcp -H "Content-Type: application/json" -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"awareness_init","arguments":{"source":"claude-code"}}}'
# awareness_init — resume/continuity mode, include last N session summaries
curl -s -X POST http://localhost:37800/mcp -H "Content-Type: application/json" -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"awareness_init","arguments":{"source":"claude-code","max_sessions":3}}}'
# awareness_recall — pass ONE query string, daemon picks the rest
curl -s -X POST http://localhost:37800/mcp -H "Content-Type: application/json" -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"awareness_recall","arguments":{"query":"<natural-language question>","limit":10}}}'
# awareness_record — pass ONE content string (action=remember is implied)
curl -s -X POST http://localhost:37800/mcp -H "Content-Type: application/json" -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"awareness_record","arguments":{"content":"<detailed description>","insights":{"knowledge_cards":[...],"action_items":[...],"risks":[...]}}}}'
The response is JSON-RPC: result.content[0].text contains the tool output as JSON string.
Call awareness_init with source: "claude-code".
awareness_init({ source: "claude-code" }) — no prior-session summaries in payload, saves ~500-1000 prompt tokens for brand-new tasks.awareness_init({ source: "claude-code", max_sessions: 3 }) — adds last 3 session summaries for explicit continuity ("continue where we left off").Store the returned session_id for use in subsequent awareness_record calls.
If $ARGUMENTS is provided, also call awareness_recall with a single parameter:
query: expand $ARGUMENTS into a full natural-language question (daemon picks scope/mode/detail automatically)If the response contains _setup_action, you MUST follow the instruction to write workflow rules to the specified file.
ATTENTION PROTOCOL: If context.attention_summary.needs_attention is true:
Present a concise summary (3-5 bullet points):
user_preferences): show key user identity, tech stack preferences, and communication styleactive_skills is present, list the activated skills by nameIf active_skills is present, apply each skill's summary as behavioral guidance for the session.
Skill Outcome Feedback: After applying any active skill during this session, call
awareness_mark_skill_used(skill_id, outcome) with one of:
"success" — skill worked as expected (resets decay, boosts confidence)"partial" — skill partially helped (reduced decay boost)"failed" — skill didn't work (decreases confidence; 3+ failures → needs_review)Rules:
testing
Setup Awareness Memory — check local daemon, authenticate via browser, and configure credentials.
tools
Save current session progress to Awareness memory as a batch of structured steps.
testing
Search Awareness memory for past implementations, decisions, or relevant context.
tools
End the current Awareness memory session and save final progress.