Get the FREE Ultimate OpenClaw Setup Guide →

discover-skills

npx machina-cli add skill kaichen/agent-skillset/discover-skills --openclaw
Files (1)
SKILL.md
6.1 KB

Discover Skills

Help users explore and understand available Claude Code skills.

Instructions

When invoked, search for and present all available skills in an organized manner.

Steps

  1. List Loaded Skills

    Skills from ~/.claude/skills/ and installed plugins are already loaded - check the Skill tool's "Available skills" list first.

  2. Search for Additional Skills

    Use Glob tool to find uninstalled skills in the current project:

    # Plugin skills in workspace
    Glob: pattern="**/plugins/*/skills/*/SKILL.md"
    
  3. Search from Github via preset awesome list and Search using keyword

    Dicovery skills via networking github colleciton repo, request to view readme for discovery more.

  4. Parse Skill Metadata

    Extract from each SKILL.md frontmatter:

    • name: Skill identifier
    • description: What the skill does
  5. Present Results

    ## Available Skills
    
    | Skill | Description |
    |-------|-------------|
    | /skill-name | Brief description |
    
    ---
    
    **Tips:**
    - Use `/skill-name` to invoke a skill directly
    - Create custom skills in `.claude/skills/your-skill/SKILL.md`
    - Project skills (`.claude/skills/`) override global ones (`~/.claude/skills/`)
    

Skill Locations

LocationScopePriority
.claude/skills/ProjectHighest
Plugin bundlesPluginMedium
~/.claude/skills/User (global)Lowest

Handling No Skills Found

If no skills are discovered:

  1. Inform the user that no custom skills were found
  2. Mention built-in skills from Claude Code (commit, code-review, etc.)
  3. Provide guidance on creating custom skills
  4. Recommend exploring skill collections (see below)

Popular Skill Collections

⚠️ Security Notice: Always review third-party skills before installing. Skills contain instructions that Claude will follow - treat them like executable code.

Official

RepositoryDescription
anthropics/skillsOfficial Anthropic skills - document processing, creative design, MCP builders

Community Curated (Awesome Lists)

RepositoryDescription
ComposioHQ/awesome-claude-skillsComprehensive catalog with categorized skills
travisvn/awesome-claude-skillsCommunity skills collection
VoltAgent/awesome-claude-skillsPartner and community contributions
BehiSecc/awesome-claude-skillsCurated skills list

Note: Awesome lists are curated indexes with links to actual skill repos. Always fetch and read the README first:

gh repo view owner/repo

Community Featured Skills

High-quality skills from recognized organizations and developers:

RepositoryDescription
vercel-labs/agent-skillsVercel's official agent skills for React and Next.js development and Web Design guideline
huggingface/skillsHuggingFace ML/AI focused skills
trailofbits/skillsSecurity-focused skills from Trail of Bits
kepano/obsidian-skillsObsidian knowledge management skills
K-Dense-AI/claude-scientific-skillsScientific research and analysis skills
nextlevelbuilder/ui-ux-pro-max-skillUI/UX design with 50+ styles, palettes, and multi-framework support

Tip: These repos contain actual SKILL.md files. View and install directly:

gh repo view vercel-labs/agent-skills
gh api repos/vercel-labs/agent-skills/git/trees/main?recursive=1 --jq '.tree[] | select(.path | endswith("SKILL.md")) | .path'

Explore Skills on GitHub

Use gh CLI to discover skill repositories dynamically.

Search for Skill Repositories

# Search for SKILL.md files (most accurate)
gh search repos "SKILL.md in:path" --limit 30 --json fullName,description,stargazersCount,defaultBranch,createdAt,updatedAt

# Search agent-skills repos
gh search repos "skills" --limit 30 --match readme --json fullName,description,stargazersCount,defaultBranch,createdAt,updatedAt

Get Repository Details

# Get README content for skill overview
gh repo view owner/repo

# Download specific SKILL.md file
gh repo view owner/repo --raw path/to/SKILL.md > skill.md

Explore Skill Contents

# List skills directory structure
gh api repos/owner/repo/contents/skills --jq '.[].name'

# Get specific SKILL.md content (use --decode on macOS, -d on Linux)
gh api repos/owner/repo/contents/skills/skill-name/SKILL.md --jq '.content' | base64 --decode

# List all SKILL.md files in repo
gh api repos/owner/repo/git/trees/main?recursive=1 --jq '.tree[] | select(.path | endswith("SKILL.md")) | .path'

Quick Install from GitHub

# Clone entire skills repo as plugin
gh repo clone owner/repo ~/.claude/plugins/repo-name

# Download single skill
mkdir -p ~/.claude/skills/skill-name
gh repo view owner/repo --raw skills/skill-name/SKILL.md > ~/.claude/skills/skill-name/SKILL.md

Creating Custom Skills

Follow the template:

---
name: my-skill
description: Clear description of when to trigger this skill
---

# My Skill

## Instructions
[What Claude should do when this skill activates]

## Examples
[Usage examples]

Resources:

Source

git clone https://github.com/kaichen/agent-skillset/blob/main/plugins/discover-skills/skills/discover-skills/SKILL.mdView on GitHub

Overview

Discover Skills helps users locate and understand all available Claude Code skills. It reports loaded skills from project and user locations, enables workspace-wide discovery of uninstalled skills, and surfaces each skill’s name and description so users can browse and invoke them with direct commands.

How This Skill Works

It first reads loaded skills from ~/.claude/skills and plugin bundles. It then uses a Glob query to discover uninstalled SKILL.md files in the current workspace, parsing frontmatter to extract name and description. Finally it presents a structured catalog with direct invocation hints like /skill-name.

When to Use It

  • When users ask 'what skills are available', 'list skills', or 'show me skills'.
  • When you want to browse installed and project-scoped skills (.claude/skills) before deciding what to enable.
  • When scanning the workspace for uninstalled skills using Glob.
  • When exploring skills from GitHub collections or official/community lists.
  • When preparing a catalog to help users decide which skills to install or enable.

Quick Start

  1. Step 1: List loaded skills from ~/.claude/skills and plugin bundles.
  2. Step 2: Use Glob to search workspace for SKILL.md files under plugins/*/skills/*/SKILL.md.
  3. Step 3: Parse frontmatter to build and present a catalog; invoke with /skill-name.

Best Practices

  • Ensure loaded skills are up-to-date before presenting results.
  • Validate frontmatter (name and description) for accuracy.
  • Show skills in a simple table with /skill-name invocations.
  • Note skill locations and priority: project > plugin > global.
  • Flag third-party or community skills for security review.

Example Use Cases

  • A user asks for 'list skills' and the system returns a table listing Skill and Description, e.g., /skill-a - Performs A, /skill-b - Handles B.
  • User wants uninstalled skills in the workspace; a Glob search returns SKILL.md files and suggests candidates like /custom-skill.
  • User asks about precedence; response explains that project skills override global ones.
  • User browses Official and Community collections; the UI displays repository links to official and curated lists.
  • User discovers /skill-name and invokes it directly using the /skill-name syntax.

Frequently Asked Questions

Add this skill to your agents
Sponsor this space

Reach thousands of developers