SuperAPI AI Directory

ljg-skill-map

General & other

View repository

Updated 10-15 20:05

About this skill

ljg-skill-map: Skill Map

Scan all installed skills under ~/.claude/skills/ and generate an at-a-glance visual map.

Execution

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 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 Casting ▲ 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 determined by 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, followed immediately by the version number (if no version, display -)
  • Descriptions are truncated to one line, preserving the core meaning
  • Skills with user_invocable set to true get a / marker after the skill name (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, do not write to disk.