Claude-skill-registry ctx
Use when starting a session on a project, returning after time away, or before making significant changes. Essential for building comprehensive understanding of project state through total recall and deep exploration.
git clone https://github.com/majiayu000/claude-skill-registry
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/ctx" ~/.claude/skills/majiayu000-claude-skill-registry-ctx && rm -rf "$T"
skills/data/ctx/SKILL.mdContextualize
You need to fully contextualize yourself in this repository before doing any work.
Step 1: Search Total Recall
First, search Total Recall for relevant context about this project. Use whichever tool name is available:
# Claude Code: mcp__plugin_totalrecall_memory-total-recall__synthesis_search({ query: "project name/key terms recent work decisions made", max_results: 15 }) # Codex/other: totalrecall.synthesis_search({ query: "project name/key terms recent work decisions made", max_results: 15 })
Look for:
- Recent conversations about this project
- Decisions that were made
- Problems that were solved
- Patterns established
- Gotchas discovered
Step 2: Dispatch the Oracle for Deep Context
If Task tool is available, use it to dispatch an Oracle:
Task( subagent_type: "general-purpose", model: "opus", prompt: """ You are The Oracle - contextualize yourself deeply in this repository. [see investigation checklist below] """ )
If Task tool is NOT available, perform the investigation yourself directly.
Investigation Checklist
Whether delegated to Oracle or done directly, cover these areas:
-
Project Identity
- Read CLAUDE.md, README.md, package.json (or equivalent)
- What is this project? What does it do?
- What are the core technologies and patterns?
- What are the established conventions?
-
Current Work Status
- Check .plans/ directory for active plans
- Check .tasks/ or TODO files for pending work
- Check git status and recent commits (git log -10 --oneline)
- What was being worked on? What's in progress?
-
Decision History
- Check .plans/DECISIONS.md or .plans/decisions/
- What major decisions have been made?
- What constraints exist from past choices?
-
Architecture Overview
- Map the key directories and their purposes
- Identify core modules/services
- Understand the data flow
-
Pain Points & Context
- Look for TODOs, FIXMEs, HACKs in code
- Check for any KNOWN_ISSUES or TROUBLESHOOTING docs
- Identify technical debt markers
Deliverable Format
## Project Summary [What this is, in 2-3 sentences] ## Current Status - Active work: [what's in progress] - Blocked items: [if any] - Recent changes: [last few commits summary] ## Key Decisions to Remember - [Decision 1] - [Decision 2] ## Established Patterns - [Pattern 1]: [where/how used] - [Pattern 2]: [where/how used] ## Conventions & Constraints - [Convention from CLAUDE.md] - [Technical constraint] ## Recommended Next Steps Based on current state, suggest what to focus on.
Step 3: Synthesize and Report
After gathering context from memory and investigation:
- Summarize the key findings for the user
- Highlight anything that seems urgent or blocked
- Confirm understanding of current priorities
- Ask if there's specific context you're missing
When to Use This Command
- Starting a new session on a project
- Returning to a project after time away
- Before making significant changes
- When feeling uncertain about project state
- After another developer has made changes
Remember: Context prevents mistakes. Take the time to understand before acting.