Agent skill

Command Creator

by meshery in meshery/meshery-operator

This skill should be used when creating a Claude Code slash command.

Apache-2.0Auto-check passedAgent Workflows

Install Command Creator

skills CLI
$ npx skills add meshery/meshery-operator --skill command-creator -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install meshery/meshery-operator command-creator --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/meshery/meshery-operator.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/command-creator .claude/skills/command-creator && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
command-creator
GitHub stars
151
Used in
4 other repos
Token cost
~1.7k tokens
SKILL.md length
786 words
Files
5 (incl. references)
Skills in repo
8
Repo updated
First seen
Licence
Apache-2.0

At a glance

This skill should be used when creating a Claude Code slash command.

  • Works in 6 steps: Determine Location → Show Command Patterns → Gather Command Information → …
  • Users ask to create a command
  • SKILL.md covers About Slash Commands, When to Use This Skill, Bundled Resources and Command Structure Overview, plus 3 more sections
  • Calls git

What it does

Command Creator is an agent skill from meshery/meshery-operator. This skill should be used when creating a Claude Code slash command. Use when users ask to "create a command", "make a slash command", "add a command", or want to document a workflow as a reusable command. Essential for creating optimized, agent-executable slash commands with proper structure and best practices.

Its SKILL.md is about 1.7k tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files, including reference files (for example `README.md`, `references/best-practices.md` and `references/examples.md`).

It sits in Agent Workflows, covering Hooks and plugins. It works with Git and Kubernetes. The repository describes itself as: Meshery Operator is a Kubernetes Operator that deploys and manages the lifecycle of two Meshery components critical to Meshery's operations of Kubernetes clusters. The licence is Apache-2.0.

When your agent uses it

  • Users ask to create a command
  • Make a slash command
  • Want to document a workflow as a reusable command

Example prompts

  • “create a command”
  • “make a slash command”
  • “add a command”
  • “/command-creator”

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Determine Location
  2. Show Command Patterns
  3. Gather Command Information
  4. Generate Optimized Command
  5. Create the Command File
  6. Test and Iterate (Optional)

What it can do on your machine

Read from SKILL.md and the folder at commit 632cd41. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Command Creator loads about 1.7k tokens when it runs, and up to ~11k if it reads all its reference files. Until then it costs about 82 tokens; SKILL.md has 786 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~82
When it runs · the whole SKILL.md, loaded when a task matches
~1.7k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~11k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from meshery/meshery-operator at commit 632cd41, republished under its Apache-2.0 licence (© meshery). 786 words, ~1,735 tokens.

Download SKILL.mdSave it as .claude/skills/command-creator/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.
name
command-creator
description
This skill should be used when creating a Claude Code slash command. Use when users ask to "create a command", "make a slash command", "add a command", or want to document a workflow as a reusable command. Essential for creating optimized, agent-executable slash commands with proper structure and best practices.

Command Creator

This skill guides the creation of Claude Code slash commands - reusable workflows that can be invoked with /command-name in Claude Code conversations.

About Slash Commands

Slash commands are markdown files stored in .claude/commands/ (project-level) or ~/.claude/commands/ (global/user-level) that get expanded into prompts when invoked. They're ideal for:

  • Repetitive workflows (code review, PR submission, CI fixing)
  • Multi-step processes that need consistency
  • Agent delegation patterns
  • Project-specific automation

When to Use This Skill

Invoke this skill when users:

  • Ask to "create a command" or "make a slash command"
  • Want to automate a repetitive workflow
  • Need to document a consistent process for reuse
  • Say "I keep doing X, can we make a command for it?"
  • Want to create project-specific or global commands

Bundled Resources

This skill includes reference documentation for detailed guidance:

  • references/patterns.md - Command patterns (workflow automation, iterative fixing, agent delegation, simple execution)
  • references/examples.md - Real command examples with full source (submit-stack, ensure-ci, create-implementation-plan)
  • references/best-practices.md - Quality checklist, common pitfalls, writing guidelines, template structure

Load these references as needed when creating commands to understand patterns, see examples, or ensure quality.

Command Structure Overview

Every slash command is a markdown file with:

markdown
---
description: Brief description shown in /help (required)
argument-hint: <placeholder> (optional, if command takes arguments)
---

# Command Title

[Detailed instructions for the agent to execute autonomously]

Command Creation Workflow

Step 1: Determine Location

Auto-detect the appropriate location:

  1. Check git repository status: git rev-parse --is-inside-work-tree 2>/dev/null
  2. Default location:
    • If in git repo → Project-level: .claude/commands/
    • If not in git repo → Global: ~/.claude/commands/
  3. Allow user override:
    • If user explicitly mentions "global" or "user-level" → Use ~/.claude/commands/
    • If user explicitly mentions "project" or "project-level" → Use .claude/commands/

Report the chosen location to the user before proceeding.

Step 2: Show Command Patterns

Help the user understand different command types. Load references/patterns.md to see available patterns:

  • Workflow Automation - Analyze → Act → Report (e.g., submit-stack)
  • Iterative Fixing - Run → Parse → Fix → Repeat (e.g., ensure-ci)
  • Agent Delegation - Context → Delegate → Iterate (e.g., create-implementation-plan)
  • Simple Execution - Run command with args (e.g., codex-review)

Ask the user: "Which pattern is closest to what you want to create?" This helps frame the conversation.

Step 3: Gather Command Information

Ask the user for key information:

A. Command Name and Purpose

Ask:

  • "What should the command be called?" (for filename)
  • "What does this command do?" (for description field)

Guidelines:

  • Command names MUST be kebab-case (hyphens, NOT underscores)
    • ✅ CORRECT: submit-stack, ensure-ci, create-from-plan
    • ❌ WRONG: submit_stack, ensure_ci, create_from_plan
  • File names match command names: my-command.md → invoked as /my-command
  • Description should be concise, action-oriented (appears in /help output)
B. Arguments

Ask:

  • "Does this command take any arguments?"
  • "Are arguments required or optional?"
  • "What should arguments represent?"

If command takes arguments:

  • Add argument-hint: <placeholder> to frontmatter
  • Use <angle-brackets> for required arguments
  • Use [square-brackets] for optional arguments
C. Workflow Steps

Ask:

  • "What are the specific steps this command should follow?"
  • "What order should they happen in?"
  • "What tools or commands should be used?"

Gather details about:

  • Initial analysis or checks to perform
  • Main actions to take
  • How to handle results
  • Success criteria
  • Error handling approach
Show full SKILL.md (317 more words)Show less
D. Tool Restrictions and Guidance

Ask:

  • "Should this command use any specific agents or tools?"
  • "Are there any tools or operations it should avoid?"
  • "Should it read any specific files for context?"
Step 4: Generate Optimized Command

Create the command file with agent-optimized instructions. Load references/best-practices.md for:

  • Template structure
  • Best practices for agent execution
  • Writing style guidelines
  • Quality checklist

Key principles:

  • Use imperative/infinitive form (verb-first instructions)
  • Be explicit and specific
  • Include expected outcomes
  • Provide concrete examples
  • Define clear error handling
Step 5: Create the Command File
  1. Determine full file path:

    • Project: .claude/commands/[command-name].md
    • Global: ~/.claude/commands/[command-name].md
  2. Ensure directory exists:

    bash
    mkdir -p [directory-path]
  3. Write the command file using the Write tool

  4. Confirm with user:

    • Report the file location
    • Summarize what the command does
    • Explain how to use it: /command-name [arguments]
Step 6: Test and Iterate (Optional)

If the user wants to test:

  1. Suggest testing: You can test this command by running: /command-name [arguments]
  2. Be ready to iterate based on feedback
  3. Update the file with improvements as needed

Quick Tips

For detailed guidance, load the bundled references:

  • Load references/patterns.md when designing the command workflow
  • Load references/examples.md to see how existing commands are structured
  • Load references/best-practices.md before finalizing to ensure quality

Common patterns to remember:

  • Use Bash tool for pytest, pyright, ruff, prettier, make, gt commands
  • Use Task tool to invoke subagents for specialized tasks
  • Check for specific files first (e.g., .PLAN.md) before proceeding
  • Mark todos complete immediately, not in batches
  • Include explicit error handling instructions
  • Define clear success criteria

Summary

When creating a command:

  1. Detect location (project vs global)
  2. Show patterns to frame the conversation
  3. Gather information (name, purpose, arguments, steps, tools)
  4. Generate optimized command with agent-executable instructions
  5. Create file at appropriate location
  6. Confirm and iterate as needed

Focus on creating commands that agents can execute autonomously, with clear steps, explicit tool usage, and proper error handling.

© meshery, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 4 other files (references) in .claude/skills/command-creator of meshery/meshery-operator.

  • SKILL.md
  • README.md
  • references/best-practices.md
  • references/examples.md
  • references/patterns.md

Open the folder on GitHubat commit 632cd41

Used in 4 other repositories

We found 4 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 4 other GitHub owners. This page covers the copy in meshery/meshery-operator, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Command Creator next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Command Creator compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Command Creator this skillmeshery/meshery-operator1514 repos~1.7kAutomated safety check: PassApache-2.0
Careful Mode Command Guardrailsgarrytan/gstack136k—~931Automated safety check: NotesMIT
Compound Engineering SetupEveryInc/compound-engineering-plugin25k—~2kAutomated safety check: PassMIT
Readyprekuter/dryforge4101 repos~6.8kAutomated safety check: PassApache-2.0
Migrationprekuter/dryforge4101 repos~3.2kAutomated safety check: PassApache-2.0
Publish Plugins Version Bumpvinta/hal-90001381 repos~1kAutomated safety check: PassMIT

Similar skills

  • Checks each shell command for destructive patterns such as recursive deletes, force pushes and dropped tables, and asks before letting them run.

    136k GitHub stars~931 tokensUpdated today
    SecurityAuto-check: notes
  • Compound Engineering Setup

    EveryInc/compound-engineering-plugin

    Checks Compound Engineering plugin health and repo-local config, or scaffolds a Compound Pack when you ask for one by id.

    25k GitHub stars~2k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Ready

    prekuter/dryforge

    Understand what you mean before anything is built. An agent skill from prekuter/dryforge.

    410 GitHub starsUsed in 1 repo~6.8k tokens
    Agent WorkflowsAuto-check passed
  • Migration

    prekuter/dryforge

    Bring an existing codebase into Dryforge, once. An agent skill from prekuter/dryforge.

    410 GitHub starsUsed in 1 repo~3.2k tokens
    Agent WorkflowsAuto-check passed
  • Finds which plugins in the repository changed, bumps only the ones not already bumped since origin/main, and checks that each plugin's two manifests stay in sync.

    138 GitHub starsUsed in 1 repo~1k tokens
    Agent WorkflowsAuto-check passed
  • Go

    prekuter/dryforge

    Carry out the intent approved in ready, as meant, and prove it with checks that actually ran.

    410 GitHub starsUsed in 1 repo~7.2k tokens
    Agent WorkflowsAuto-check passed

More from meshery/meshery-operator

All 8 skills in this repo
  • Iterate PR

    meshery/meshery-operator

    Iterate on a PR until CI passes. An agent skill from meshery/meshery-operator.

    151 GitHub starsUsed in 8 repos~2.2k tokens
    Auto-check passed
  • QA Test Planner

    meshery/meshery-operator

    Generate comprehensive test plans, manual test cases, regression test suites, and bug reports for QA engineers.

    151 GitHub starsUsed in 5 repos~4.6k tokens
    Auto-check passed
  • Gepetto

    meshery/meshery-operator

    Creates detailed, sectionized implementation plans through research, stakeholder interviews, and multi-LLM review.

    151 GitHub starsUsed in 4 repos~2.7k tokens
    Auto-check passed
  • Database Schema Designer

    meshery/meshery-operator

    Design robust, scalable database schemas for SQL and NoSQL databases.

    151 GitHub starsUsed in 3 repos~4.4k tokens
    Auto-check passed
  • Reducing Entropy

    meshery/meshery-operator

    Manual-only skill for minimizing total codebase size. An agent skill from meshery/meshery-operator.

    151 GitHub starsUsed in 3 repos~640 tokens
    Auto-check passed
  • Agent Md Refactor

    meshery/meshery-operator

    Refactor bloated AGENTS.md, CLAUDE.md, or similar agent instruction files to follow progressive disclosure principles.

    151 GitHub starsUsed in 5 repos~1.9k tokens
    Auto-check passed

Works with

Categories

Questions about Command Creator

What does Command Creator do?

This skill should be used when creating a Claude Code slash command. Command Creator is an agent skill from meshery/meshery-operator. This skill should be used when creating a Claude Code slash command.

When should I use Command Creator?

Command Creator fits situations like: users ask to create a command; make a slash command; want to document a workflow as a reusable command.

How do I install Command Creator in Claude Code?

Run `npx skills add meshery/meshery-operator --skill command-creator -a claude-code`. Or copy the skill folder (.claude/skills/command-creator in meshery/meshery-operator) into .claude/skills/command-creator in your project. Claude Code loads it when a task matches its description.

How do I install Command Creator in Codex?

Run `npx skills add meshery/meshery-operator --skill command-creator -a codex`. Or copy the skill folder (.claude/skills/command-creator in meshery/meshery-operator) into .agents/skills/command-creator in your project. Codex loads it when a task matches its description.

Can I use Command Creator in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add meshery/meshery-operator --skill command-creator -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/command-creator, .gemini/skills/command-creator, .github/skills/command-creator and .opencode/skills/command-creator in your project.

What does Command Creator need to run?

Going by SKILL.md and its folder, Command Creator needs the command-line tools its instructions call (git).

Does Command Creator access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Command Creator safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Command Creator use?

Command Creator is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Command Creator use?

About 1.7k tokens (SKILL.md is roughly 6.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 9.7k tokens, read only when the agent opens those files.

What are the alternatives to Command Creator?

Skills that share tags, products or a category with Command Creator: Careful Mode Command Guardrails (garrytan/gstack, 136k stars), Compound Engineering Setup (EveryInc/compound-engineering-plugin, 25k stars), Ready (prekuter/dryforge, 410 stars) and Migration (prekuter/dryforge, 410 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Command Creator?

meshery (a GitHub organization) maintains it in meshery/meshery-operator, which has 151 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on September 21, 2026.

Source: meshery/meshery-operator on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.