Agent skill

Slash Command Creator

by greatSumini in greatSumini/cc-system

Guide for creating Claude Code slash commands. An agent skill from greatSumini/cc-system.

MITAuto-check passedAgent Workflows

Install Slash Command Creator

skills CLI
$ npx skills add greatSumini/cc-system --skill slash-command-creator -a claude-code

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

GitHub CLI
$ gh skill install greatSumini/cc-system slash-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/greatSumini/cc-system.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/slash-command-creator .claude/skills/slash-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
slash-command-creator
GitHub stars
438
Token cost
~773 tokens
SKILL.md length
187 words
Files
4 (incl. scripts, references)
Skills in repo
12
Repo updated
First seen
Licence
MIT

At a glance

Guide for creating Claude Code slash commands. An agent skill from greatSumini/cc-system.

  • Works in 5 steps: Identify the use case: What prompt do… → Choose scope: Project (shared) or… → Initialize: Run scripts/init_command.py → …
  • The user wants to create a new slash command
  • SKILL.md covers Quick Start, Command Structure, Features and Frontmatter Options, plus 2 more sections
  • Runs Python scripts from its folder

What it does

Slash Command Creator is an agent skill from greatSumini/cc-system. Guide for creating Claude Code slash commands. Use when the user wants to create a new slash command, update an existing slash command, or asks about slash command syntax, frontmatter options, or best practices.

Its SKILL.md is about 770 tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files, including scripts and reference files (for example `references/examples.md`, `references/frontmatter.md` and `scripts/init_command.py`).

It sits in Agent Workflows, covering Hooks and plugins. The licence is MIT.

When your agent uses it

  • The user wants to create a new slash command
  • Update an existing slash command
  • Asks about slash command syntax
  • Frontmatter options

Example prompts

  • “/slash-command-creator”

Requirements

  • Python 3

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Identify the use case: What prompt do you repeat often?
  2. Choose scope: Project (shared) or personal (private)?
  3. Initialize: Run scripts/init_command.py
  4. Edit: Update description and body
  5. Test: Run the command in Claude Code

What it can do on your machine

Read from SKILL.md and the folder at commit 172bdd4. 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

    Ships 1 file in scripts/ (Python), which the agent can run.

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

  • Network

    No URLs in SKILL.md.

    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

Slash Command Creator loads about 773 tokens when it runs, and up to ~1.9k if it reads all its reference files. Until then it costs about 58 tokens; SKILL.md has 187 words of instructions outside code blocks.

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

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); the scripts in this folder are not scanned.

SKILL.md

The full file from greatSumini/cc-system at commit 172bdd4, republished under its MIT licence (© greatSumini). 187 words, ~773 tokens.

Download SKILL.mdSave it as .claude/skills/slash-command-creator/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
slash-command-creator
description
Guide for creating Claude Code slash commands. Use when the user wants to create a new slash command, update an existing slash command, or asks about slash command syntax, frontmatter options, or best practices.

Slash Command Creator

Create custom slash commands for Claude Code to automate frequently-used prompts.

Quick Start

Initialize a new command:

bash
scripts/init_command.py <command-name> [--scope project|personal]

Command Structure

Slash commands are Markdown files with optional YAML frontmatter:

markdown
---
description: Brief description shown in /help
---

Your prompt instructions here.

$ARGUMENTS
File Locations
ScopePathShown as
Project.claude/commands/(project)
Personal~/.claude/commands/(user)
Namespacing

Organize commands in subdirectories:

  • .claude/commands/frontend/component.md → /component shows "(project:frontend)"
  • ~/.claude/commands/backend/api.md → /api shows "(user:backend)"

Features

Arguments

All arguments - $ARGUMENTS:

markdown
Fix issue #$ARGUMENTS following our coding standards
# /fix-issue 123 → "Fix issue #123 following..."

Positional - $1, $2, etc.:

markdown
Review PR #$1 with priority $2
# /review 456 high → "Review PR #456 with priority high"
Bash Execution

Execute shell commands with ! prefix (requires allowed-tools in frontmatter):

markdown
---
allowed-tools: Bash(git status:*), Bash(git diff:*)
---

Current status: !`git status`
Changes: !`git diff HEAD`
File References

Include file contents with @ prefix:

markdown
Review @src/utils/helpers.js for issues.
Compare @$1 with @$2.

Frontmatter Options

FieldPurposeRequired
descriptionBrief description for /helpYes
allowed-toolsTools the command can useNo
argument-hintExpected arguments hintNo
modelSpecific model to useNo
disable-model-invocationPrevent SlashCommand tool invocationNo

See references/frontmatter.md for detailed reference.

Examples

See references/examples.md for complete examples including:

  • Simple review/explain commands
  • Commands with positional arguments
  • Git workflow commands with bash execution
  • Namespaced commands for frontend/backend

Creation Workflow

  1. Identify the use case: What prompt do you repeat often?
  2. Choose scope: Project (shared) or personal (private)?
  3. Initialize: Run scripts/init_command.py <name>
  4. Edit: Update description and body
  5. Test: Run the command in Claude Code

© greatSumini, MIT. 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 3 other files (scripts, references) in .claude/skills/slash-command-creator of greatSumini/cc-system.

  • SKILL.md
  • references/examples.md
  • references/frontmatter.md
  • scripts/init_command.py

Open the folder on GitHubat commit 172bdd4

Compare with similar skills

Slash 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.

Slash Command Creator compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Slash Command Creator this skillgreatSumini/cc-system438—~773Automated safety check: PassMIT
Hook Development for Claude Code Pluginsanthropics/claude-plugins-official37k11 repos~4.1kAutomated safety check: NotesApache-2.0
Claude Code Agent Developmentanthropics/claude-plugins-official37k8 repos~2.8kAutomated safety check: PassApache-2.0
Claude Code Skill Developer Guidediet103/claude-code-infrastructure-showcase10k10 repos~3.5kAutomated safety check: PassMIT
Plugin Settings Patternanthropics/claude-plugins-official37k7 repos~3kAutomated safety check: PassApache-2.0
MCP Integration for Pluginsanthropics/claude-plugins-official37k11 repos~3.1kAutomated safety check: PassApache-2.0

Similar skills

  • Hook Development for Claude Code Plugins

    anthropics/claude-plugins-official

    Official

    Explains how to write Claude Code plugin hooks, both prompt-based checks and bash commands, for events such as PreToolUse, Stop and SessionStart.

    37k GitHub starsUsed in 11 repos~4.1k tokens
    Agent WorkflowsAuto-check: notes
  • Claude Code Agent Development

    anthropics/claude-plugins-official

    Official

    Explains how to write agents for Claude Code plugins: the markdown file with YAML frontmatter, trigger descriptions, model and color settings, and system prompt design.

    37k GitHub starsUsed in 8 repos~2.8k tokens
    Agent WorkflowsAuto-check passed
  • Claude Code Skill Developer Guide

    diet103/claude-code-infrastructure-showcase

    A guide to creating and managing Claude Code skills with auto-activation: skill-rules.json triggers, hooks, enforcement levels, YAML frontmatter and progressive disclosure.

    10k GitHub starsUsed in 10 repos~3.5k tokens
    Agent WorkflowsAuto-check passed
  • Plugin Settings Pattern

    anthropics/claude-plugins-official

    Official

    Shows how Claude Code plugins keep per-project settings and state in .claude/plugin-name.local.md files with YAML frontmatter and a markdown body.

    37k GitHub starsUsed in 7 repos~3k tokens
    Agent WorkflowsAuto-check passed
  • MCP Integration for Plugins

    anthropics/claude-plugins-official

    Official

    Explains how to bundle Model Context Protocol servers in a Claude Code plugin, covering config files, stdio, SSE, HTTP and WebSocket server types, and authentication.

    37k GitHub starsUsed in 11 repos~3.1k tokens
    Agent WorkflowsAuto-check passed
  • Claude Code Command Development

    anthropics/claude-plugins-official

    Official

    Explains how to write Claude Code slash commands: Markdown files with YAML frontmatter, arguments, file references, bash context and interactive prompts.

    37k GitHub starsUsed in 10 repos~4.8k tokens
    Agent WorkflowsAuto-check passed

More from greatSumini/cc-system

All 12 skills in this repo
  • Subagent Creator

    greatSumini/cc-system

    Create specialized Claude Code sub-agents with custom system prompts and tool configurations.

    438 GitHub stars~958 tokensUpdated 4 mo ago
    Auto-check passed
  • Cc Usage Audit

    greatSumini/cc-system

    한 프로젝트에서 사용자가 Claude Code에 입력한 프롬프트·작업 이력을 분석해 (1) 사용 패턴 정량화, (2) 사용자의 개발 철학 추출(근거 인용), (3) 그 철학을 렌즈로 한 메타 시스템(하니스·게이트·CI·프로세스) audit, (4) 우선순위가 매겨진 개선점 발굴을 수행한다.

    438 GitHub stars~586 tokensUpdated 4 mo ago
    Auto-check passed
  • Hook Creator

    greatSumini/cc-system

    Create and configure Claude Code hooks for customizing agent behavior.

    438 GitHub stars~662 tokensUpdated 4 mo ago
    Auto-check: notes
  • Youtube Collector

    greatSumini/cc-system

    유튜브 채널을 등록하고 새 컨텐츠를 수집하여 자막 기반 요약을 생성하는 skill. An agent skill from greatSumini/cc-system.

    438 GitHub stars~846 tokensUpdated 4 mo ago
    Auto-check passed
  • Ship

    greatSumini/cc-system

    지금까지의 작업을 한 번에 출하한다 — 커밋 → push → PR 생성 → squash merge. An agent skill from greatSumini/cc-system.

    438 GitHub stars~697 tokensUpdated 4 mo ago
    Auto-check passed
  • Gmail

    greatSumini/cc-system

    gogcli를 사용하여 Gmail 메일을 검색, 조회, 발송하는 skill. An agent skill from greatSumini/cc-system.

    438 GitHub stars~838 tokensUpdated 4 mo ago
    Auto-check passed

Categories

Questions about Slash Command Creator

What does Slash Command Creator do?

Guide for creating Claude Code slash commands. An agent skill from greatSumini/cc-system. Slash Command Creator is an agent skill from greatSumini/cc-system. Guide for creating Claude Code slash commands.

When should I use Slash Command Creator?

Slash Command Creator fits situations like: the user wants to create a new slash command; update an existing slash command; asks about slash command syntax; frontmatter options.

How do I install Slash Command Creator in Claude Code?

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

How do I install Slash Command Creator in Codex?

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

Can I use Slash 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 greatSumini/cc-system --skill slash-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/slash-command-creator, .gemini/skills/slash-command-creator, .github/skills/slash-command-creator and .opencode/skills/slash-command-creator in your project.

What does Slash Command Creator need to run?

Going by SKILL.md and its folder, Slash Command Creator needs Python for the scripts in its folder. Our summary lists: Python 3.

Does Slash Command Creator access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Slash 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. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Slash Command Creator use?

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

How many tokens does Slash Command Creator use?

About 773 tokens (SKILL.md is roughly 3.1k 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 1.1k tokens, read only when the agent opens those files.

What are the alternatives to Slash Command Creator?

Skills that share tags, products or a category with Slash Command Creator: Hook Development for Claude Code Plugins (anthropics/claude-plugins-official, 37k stars), Claude Code Agent Development (anthropics/claude-plugins-official, 37k stars), Claude Code Skill Developer Guide (diet103/claude-code-infrastructure-showcase, 10k stars) and Plugin Settings Pattern (anthropics/claude-plugins-official, 37k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Slash Command Creator?

greatSumini (a GitHub user) maintains it in greatSumini/cc-system, which has 438 GitHub stars. The repository holds 12 skills in this directory. The repository was last updated on June 9, 2026.

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