Skill discovery

From UitbreidenOS/UitKit · View interactive version

Skill discovery is an AI agent skill from the GitHub repository UitbreidenOS/UitKit. Find related skills via dependency graph analysis, discover learning paths, and identify skill clusters

How to use this skill

Skill file

Skill Discovery Skill

When to activate

When NOT to use

Instructions

Step 1 — Ask for a skill or topic

Phrase your query as one of:

Step 2 — Generate or fetch the dependency graph

Run the dependency graph script and parse the output:

node scripts/dependency-graph.js --json

This produces an adjacency list: { "skill-name": ["ref1", "ref2", ...], ... }

If you need stats instead (e.g., to find orphans):

node scripts/dependency-graph.js --stats

Step 3 — Analyze the graph for your query

For "related skills" queries:
  1. Find the skill in the graph by name (exact match, lowercase, hyphens)
  2. Return all skills it references (outbound edges) — these are "downstream" or "expanding" skills
  3. Also find all skills that reference it (inbound edges) — these are "upstream" or "prerequisite" skills
  4. Group by category (e.g., skills/ai-engineering/, skills/backend/, etc.) for clarity

Example:

Query: "What skills relate to prompt-caching?"

For "learning path" queries:
  1. Start at the target skill
  2. Recursively follow inbound edges (skills that lead into the target) up to 3 hops
  3. Order the path by dependency: prerequisites first, target last
  4. Include brief descriptions of each skill

Example:

Query: "What's a learning path to agent-teams?"

  1. agent-teams references: [agent-handoff, multi-agent-memory, ...]
  2. agent-handoff references: [session-handoff, agent-tracing, ...]
  3. Order: session-handoff → agent-handoff → agent-teams (with agent-tracing as optional parallel)
For "orphaned skills" queries:

Compare the JSON graph output with the full skill inventory:

Report both categories:

For "most central skills" queries:
  1. Count outbound edges per skill (how many other skills it references)
  2. Count inbound edges per skill (how many skills reference it)
  3. Define "centrality" as inbound degree (how much depended on)
  4. Return top 10–15 by centrality with their edge counts

Example:

Top central skills (by in-degree):
1. prompt-engineering: 18 incoming
2. agent-handoff: 16 incoming
3. claude-api: 14 incoming

Step 4 — Present results with context

For each result, provide:

  1. Skill name and description (from the skill's metadata or title)
  2. Location (e.g., skills/ai-engineering/)
  3. Direction of relationship (prerequisite, expansion, alternative, or related)
  4. Brief summary of why the skills are related
  5. Suggested reading order if it's a learning path

Example output:

### Skills related to "RAG"

**Prerequisites:**
- prompt-engineering (skills/ai-engineering/) — Understanding how to structure prompts before implementing retrieval
- llm-eval (skills/ai-engineering/) — Evaluating retrieval quality and relevance

**Core RAG:**
- rag-architect (skills/ai-engineering/) — Building end-to-end RAG systems

**Expansions:**
- enterprise-search (skills/ai-engineering/) — Scaling RAG to production
- mcp-server-builder (skills/ai-engineering/) — Integrating RAG with MCP servers

**Learning Path:**
1. prompt-engineering
2. llm-eval
3. rag-architect
4. (choose: enterprise-search OR mcp-server-builder)

Step 5 — Offer interactive exploration

If the user wants to dig deeper, offer to:


Example

User Query: "I want to learn about multi-agent workflows. Where should I start?"

Skill Discovery Process:

  1. Search for "multi-agent" in skill names → find multi-agent-memory.md, agent-teams.md
  2. Query the graph for these:

```json

{

"multi-agent-memory": ["agent-handoff", "agent-tracing", "session-handoff"],

"agent-teams": ["agent-handoff", "managed-agents"]

}

```

  1. Find prerequisites for both: agent-handoff references session-handoff, agent-tracing
  2. Build the path:

```

session-handoff (basic agent communication)

↓

agent-handoff (structured handoff protocol)

↓

agent-tracing (observability)

↓

multi-agent-memory OR agent-teams (choose path)

```

Result:

Multi-agent workflow learning path:

1. **session-handoff** — understand how agents hand off state
2. **agent-handoff** — structured protocols for agent-to-agent transfer
3. **agent-tracing** — observe multi-agent execution and debug issues
4. Choose one:
   - **multi-agent-memory** (if you need shared state across agents)
   - **agent-teams** (if you're building coordinated agent groups)

Estimated reading time: 20–30 minutes

Integration with the Dependency Graph

This skill relies on scripts/dependency-graph.js and should be invoked whenever a user asks a discovery question. The skill effectively makes the graph queryable in natural language.

For programmatic use in other tools or workflows, reference the guide at guides/skill-dependency-graph.md.


Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.