Skip to content
demo-2-1-features logo

Knowledge Graph Quick Scan

demo-2-1-features

Demo skill showing all Claude Code 2.1 features. Use when asked to "demo 2.1" or "show new skill features".

SKILL.md

Full skill instructions

Knowledge Graph Quick Scan

This skill demonstrates Claude Code 2.1's parallel agent capabilities by analyzing your Second Brain knowledge base.

Phase 1: Parallel Analysis

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')."

Phase 2: Collect & Present

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]

Phase 3: Interactive Follow-up

Use AskUserQuestion with these options:

  • Question: "What would you like to explore next?"
  • Options:
    1. "Deep dive into orphan notes" - Show more orphans with suggestions
    2. "Analyze link patterns" - Find most-linked notes
    3. "Show more content stats" - Detailed type breakdown
    4. "Done - show feature summary" - End with 2.1 features list

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.

Phase 4: Feature Summary

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

Important Notes

  • This is a READ-ONLY demo - no files are modified
  • All agents use subagent_type: "Explore" for fast, safe analysis
  • The demo works best with a populated content/ directory

More Other skills

Delegate independent tasks to specialized agents working concurrently with isolated context.

295.4K 206.3K
View

Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.

179.7K 100.1K
View

Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors/fonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.

179.7K 89.5K
View

A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill whenever asked to write some sort of internal communications (status reports, leadership updates, 3P updates, company newsletters, FAQs, incident reports, project updates, etc.).

179.7K 76.1K
View

Fundamental design principles for writing maintainable, testable Python code.

40.2K 21.9K
View

Modern responsive layouts using container queries, fluid typography, CSS Grid, and mobile-first strategies.

40.2K 20K
View

Generate Playwright tests from scenarios using interactive browser exploration and validation.

39.7K 18.2K
View

Modern React state management with Redux Toolkit, Zustand, Jotai, and React Query for every state category.

40.2K 14.7K
View

GDPR-compliant data handling with consent management, data subject rights, and privacy controls.

40.2K 14.3K
View

Python error handling patterns including input validation, exception hierarchies, and partial failure handling. Use when implementing validation logic, designing exception strategies, handling batch processing failures, or building robust APIs.

40.2K 13.5K
View

Detailed multi-file refactor planning with safety checks and rollback guidance.

39.7K 13K
View