Demo skill showing all Claude Code 2.1 features. Use when asked to "demo 2.1" or "show new skill features".
This skill demonstrates Claude Code 2.1's parallel agent capabilities by analyzing your Second Brain knowledge base.
Launch exactly 3 Explore agents IN A SINGLE MESSAGE (this is critical - all 3 Task calls must be in one response to demonstrate parallelism):
Agent 1 - Content Stats: Prompt: "Count markdown files in content/ directory by their frontmatter 'type' field. Read 10-15 sample files to identify the types used (book, podcast, article, til, moc, etc.), then use Glob to count files. Report a breakdown table of type → count."
Agent 2 - Orphan Detection: Prompt: "Find markdown files in content/ that contain NO wiki-links (no [[...]] patterns). These are 'orphan' notes that could benefit from connections. Use Grep to find files WITHOUT the [[ pattern. Report the top 5 candidates with their titles."
Agent 3 - Recent Activity: Prompt: "Find the 5 most recently modified markdown files in content/. Use Glob with sorting by modification time. Report their titles and relative dates (e.g., '2 days ago')."
Use TaskOutput (with block=true) to wait for all 3 agents.
Present findings in a summary:
## 📊 Knowledge Graph Quick Scan Results
### Content Breakdown
[Agent 1 results as table]
### Orphan Notes (Need Links)
[Agent 2 results as list]
### Recently Modified
[Agent 3 results as list]
Use AskUserQuestion with these options:
If user selects options 1-3, spawn another targeted Explore agent. If user selects option 4 or after completing a follow-up, proceed to Phase 4.
End by displaying:
## 2.1 Features Demonstrated
✓ context: fork - Isolated execution (main conversation unchanged)
✓ agent: general-purpose - Enabled Task tool for parallelism
✓ model: haiku - Cost-optimized execution
✓ Parallel Task agents - 3 agents launched simultaneously
✓ hooks.PreToolUse - "🚀 Launching..." on each Task call
✓ hooks.PostToolUse - "✅ Results received" on each TaskOutput
✓ hooks.Stop - Completion message at end
✓ AskUserQuestion - Interactive follow-up options
✓ YAML allowed-tools - Cleaner list syntax
npx skills add alexanderop/demo-2-1-features下载完整 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