Automatically invokes init-explorer agent when project context is empty or unknown.
This skill detects when Claude Code lacks project context and automatically invokes the init-explorer agent to gather it.
Invoke this skill when ANY of these conditions are true:
claude-progress.txt doesn't exist or hasn't been readarchitects_digest.md doesn't exist or hasn't been readBefore invoking, verify context is actually missing:
# Check if session files exist
ls -la claude-progress.txt architects_digest.md 2>/dev/null || echo "Context files missing"
When context is empty, invoke the init-explorer agent:
Task(subagent_type="init-explorer", prompt="
Gather project context for this codebase.
next_agent: none
task: Explore and document project structure, tech stack, and patterns
After exploration, return a summary of:
1. Project purpose and description
2. Tech stack (languages, frameworks, databases)
3. Key directories and their purpose
4. Testing setup
5. Build/run commands
")
The init-explorer agent will:
pwd, ls -la, git log, git statusclaude-progress.txt for previous sessionsarchitects_digest.md for task statearchitects_digest.md if missingAfter init-explorer completes, you will have:
claude-progress.txtarchitects_digest.mdScenario: User asks "How does authentication work in this project?"
Before: You have no context about the project.
Action: Invoke this skill to run init-explorer.
After: You understand the project uses Flask with JWT authentication, tests are in tests/, and the auth module is in src/auth/.