Scan ~/.claude/skills/ all installed skills to generate a clear at-a-glance visualized map.
Run
1. Scan
Run scripts/scan.shto get the JSON data of all skills (name, version, invocable, desc).
2. Categorize
Based on skill names and descriptions, automatically classify 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 |
Classification is determined by name prefix and description keywords. When a new skill cannot be classified, put it into "Uncategorized".
3. Render
Present with an ASCII box diagram, format as follows:
╔══════════════════════════════════════════════════════════╗
║ 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, version numbers follow immediately (display
-) - Description is truncated to one line, preserving the core semantics
- Skills whose user_invocable is true get a
/mark after the skill name (indicating they can be directly/技能名called) - Bottom statistics line: total count, invocable count, category count
4. Output
Render the ASCII map directly in the conversation. Do not generate files, do not write to disk.