Skip to content
Development
Command

/create-skill

Create a new skill via GitHub search, LLM generation, or both.

From plugin
skrills
6817 skills17 commands
Install
$ npx -y skills add athola/skrills --agent claude-code

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/create-skill

Context preview

What this command does when you run it.

Create a new skill via GitHub search, LLM generation, or both.

Command definition

create-skill.md
description: Create a new skill via GitHub search, LLM generation, or both.
argument-hint: "<name> <description> [--method github|llm|both] [--dry-run]"
triggers: create skill, new skill, generate skill, add skill, make skill

Create Skill

Create a new skill using the skrills MCP server.

Use the `mcp__plugin_skrills_skrills__create-skill` tool with:

  • `name`: Name or topic for the skill (required)
  • `description`: What the skill should do (required)
  • `method`: Creation method - github (search), llm (generate), both, or empirical
  • `target_dir`: Directory to create skill in
  • `dry_run`: Preview without creating files

Parse `$ARGUMENTS`:

  • First argument: skill name
  • Remaining text: skill description
  • `--method <method>` or `-m <method>`: Creation method (default: both)
  • `--dry-run` or `-n`: Preview mode
  • `--dir <path>`: Target directory

Default behavior: 1. Search GitHub for existing skills matching the name/description 2. If found, offer to download and adapt 3. If not found or declined, generate a new skill using LLM

Report:

  • Search results (if method includes github)
  • Generated skill content (if method includes llm)
  • File location where skill was created

Handle errors:

  • If name/description missing: Prompt for required fields
  • If GitHub search fails: Fall back to LLM generation
  • If target directory not writable: Report path and suggest alternative
  • If skill already exists: Prompt for overwrite or new name
Read more
Ships withskrills

Write a skill once, use it everywhere. Skrills validates and syncs skills, commands, agents, MCP servers, and hooks across **Claude Code, Codex CLI, GitHub Copilot CLI, and Cursor**, all from a single Rust binary. Install · User Guide · CLI Reference · FAQ ·

Get the whole plugin, auto-invoked
Stats
68
Stars
0
Views
10
Forks
Maintained
Maintenance
Rust
Language
MIT
License
1mo ago
Last commit
8mo ago
Created

Repo: athola/skrills