Scan all installed skills under ~/.claude/skills/ and generate an at-a-glance visual map.
Execution
1. Scan
Run scripts/scan.shto get JSON data for all skills (name, version, invocable, desc).
2. Categorize
Based on skill names and descriptions, automatically sort skills into the following categories:
| Category | Icon | Meaning | Typical members |
|---|---|---|---|
| Cognitive atoms | ◆ | Atomic operations for content processing | ljg-plain, ljg-word, ljg-writes, ljg-paper |
| Output forging | ▲ | Transform content into deliverables | ljg-card |
| Network reach | ● | Interact with the external world | agent-reach |
| System operations | ■ | Maintenance and management of the Agent itself | datetime-check, memory-review, save-conversation, skill-creator, ljg-skill-map |
| Environment deployment | ★ | One-time installation and configuration | Her-init |
Categorization is based on name prefixes and description keywords. When a new skill cannot be categorized, place it in "Uncategorized".
3. Render
Present it as an ASCII box diagram in the following format:
╔══════════════════════════════════════════════════════════╗
║ SKILL MAP · {N} skills installed ║
╠══════════════════════════════════════════════════════════╣
║ ║
║ ◆ 认知原子 ║
║ +-----------------+----------------------------------+ ║
║ | ljg-plain v4.0 | 白 — 好问题+类比让人 grok | ║
║ | ljg-word v1.0 | 英文单词深度拆解 | ║
║ | ljg-writes v4.0 | 写作引擎 | ║
║ | ljg-paper v2.0 | 论文阅读与分析 | ║
║ +-----------------+----------------------------------+ ║
║ ║
║ ▲ 输出铸造 ║
║ +-----------------+----------------------------------+ ║
║ | ljg-card v1.5 | 铸 — 内容转 PNG 可视化 | ║
║ +-----------------+----------------------------------+ ║
║ ║
║ ... ║
╚══════════════════════════════════════════════════════════╝
Rules:
- One block per category, with the category icon + Chinese name as the title
- Skill names are left-aligned, with the version number immediately following (show
-) - Descriptions are truncated to one line, retaining the core meaning
- Add
/after skills whose user_invocable is true (indicating they can be invoked directly via/技能名) - Bottom statistics line: total count, invocable count, category count
4. Output
Render the ASCII map directly in the conversation. Do not generate files or write to disk.