Claude-skill-registry context-finder

Auto-spawn context-finder agent for search tasks. Use when user says "find", "search", "where is", "look for", "trace", "what file", "which commit", "grep", "locate". Triggers search in git history, files, issues, retrospectives.

install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/context-finder" ~/.claude/skills/majiayu000-claude-skill-registry-context-finder && rm -rf "$T"
manifest: skills/data/context-finder/SKILL.md
source content

Context Finder Skill

Auto-trigger search when user needs to find something

Proactive Triggers

MUST Spawn context-finder Agent When:

  • User says: "find", "search", "where is", "look for"
  • User says: "what file", "which commit", "locate"
  • User asks: "did we work on X", "when did we", "where did"
  • User needs to trace: code, history, issues, docs

How to Invoke

Spawn the context-finder agent:

Task tool:
  subagent_type: context-finder
  model: haiku
  prompt: |
    Search for [USER'S QUERY] in:
    1. Git history: git log --all --oneline --grep="[QUERY]"
    2. Files: find/grep for [QUERY]
    3. GitHub issues: gh issue list --search "[QUERY]"
    4. Retrospectives: grep in ψ/memory/retrospectives/

    Return: compact list of matches with paths/commits

What context-finder Searches

SourceCommandFinds
Git history
git log --grep
Commits mentioning topic
Files
find
,
grep
Current files
Issues
gh issue list
Planning, discussions
Retrospectives
grep ψ/memory/
Past session context

When NOT to Use

  • User already knows the exact file path
  • Simple questions about current code (just read it)
  • User explicitly says "don't search"

Quick Patterns

User SaysAction
"find the auth code"Spawn agent → search "auth"
"where did we put X"Spawn agent → search files + git
"when did we work on Y"Spawn agent → search retrospectives
"trace Z"Spawn agent → comprehensive search