Scaffolds a structured investigation in scratch/ for empirical research and documentation. Use when the user says "start an investigation" or wants to: trace code paths or data flow ("trace from X to Y", "what touches X", "follow the wiring"), document system architecture comprehensively ("document how the system works", "archeology"), investigate bugs ("figure out why X happens"), explore technical feasibility ("can we do X?"), or explore design options ("explore the API", "gather context", "design alternatives"). Creates dated folder with README. NOT for simple code questions or single-file searches.
{REPO_ROOT}/scratch/ with the format {YYYY-MM-DD}-{descriptive-name}:
mkdir scratch/$(uv run python -c "import datetime; print(datetime.date.today().isoformat())")-{descriptive-name}
README.md in this folder with: task description, background context, task checklist. Update with findings as you progress.These are common patterns, not rigid categories. Most investigations blend multiple patterns.
Tracing - "trace from X to Y", "what touches X", "follow the wiring"
System Architecture Archeology - "document how the system works", "archeology"
Bug Investigation - "figure out why X happens", "this is broken"
Technical Exploration - "can we do X?", "is this possible?", "figure out how to"
Design Research - "explore the API", "gather context", "design alternatives"
uv with inline dependencies for standalone scripts; for scripts importing local project code, use python directly (or uv run python if env not activated)npx serve -p 8080 --cors --no-clipboard &scratch/repos/ for direct source accessThe scratch/ directory is in .gitignore and will NOT be committed.
npx skills add talmolab/investigation下载完整 Skill 目录,包含 SKILL.md 及所有相关文件
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer