create-slash-commands

create-slash-commands is a skill for Claude Code from glittercowboy/taches-cc-resources. It costs 35 tokens per session (3,781 once invoked), scanned A, original, MIT.

A guide to creating Claude Code slash commands. A slash command is a reusable shortcut such as /optimize that expands into instructions for Claude.

In plain words
What is it for?
Use it to design commands for tasks such as performance analysis, including YAML metadata, structured XML instructions, dynamic context, and clear completion checks.
Why use it?
It turns repeated prompts into consistent commands with a defined purpose, process, context, and success criteria. This saves users from rewriting the same instructions.

Skill for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: reads .claude/ paths; positional $N argument; mentions Claude Code.

Part of the taches-cc-resources plugin — 12 skills, 19 commands, 3 agents shipped together

Good fit Use it to design commands for tasks such as performance analysis, including YAML metadata, structured XML instructions, dynamic context, and clear completion checks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/glittercowboy/taches-cc-resources/create-slash-commands
About the project

TÂCHES Claude Code Resources is a collection of custom commands, skills, and agents that structure Claude Code workflows such as planning, debugging, automation, and subagent creation. It is intended for developers who use Claude Code for real software projects. The catalogue entries are examples of the resources included in the collection.

glittercowboy/taches-cc-resources · 1,976 stars · on GitHub · youtube.com

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add glittercowboy/taches-cc-resources --skill create-slash-commands
Clone the repo
git clone --depth 1 https://github.com/glittercowboy/taches-cc-resources

Made for: Claude Code.

Or install taches-cc-resources, the plugin that ships this one along with the rest of its 12 skills, 19 commands, 3 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for create-slash-commands

README.md
[![agentmods](https://agentmods.dev/badge/skills/glittercowboy/taches-cc-resources/create-slash-commands/github.svg)](https://agentmods.dev/skills/glittercowboy/taches-cc-resources/create-slash-commands)
Your own site
<a href="https://agentmods.dev/skills/glittercowboy/taches-cc-resources/create-slash-commands"><img src="https://agentmods.dev/badge/skills/glittercowboy/taches-cc-resources/create-slash-commands/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for create-slash-commands

Your own site · 80×15
<a href="https://agentmods.dev/skills/glittercowboy/taches-cc-resources/create-slash-commands"><img src="https://agentmods.dev/badge/skills/glittercowboy/taches-cc-resources/create-slash-commands.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,781 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Rogue Agent · line 7
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00035 $0.03781
Opus 5 $0.00017 $0.01891
Sonnet 5 $0.00007 $0.00756
Haiku 4.5 $0.00003 $0.00378

Measured 11d ago against content hash fcdd5660ce07, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

create-slash-commands scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

2 near-identical copies found in the catalogue:

skills/create-slash-commands/SKILL.md · 631 lines

How it starts

The opening of the file, as written. The whole thing — 631 lines — stays where its author put it; the contents beside it link to each section on GitHub.

<quick_start>

---
description: Analyze this code for performance issues and suggest optimizations
---

Analyze the performance of this code and suggest three specific optimizations:

Usage: /optimize

Claude receives the expanded prompt and analyzes the code in context. </quick_start>

<xml_structure> All generated slash commands should use XML tags in the body (after YAML frontmatter) for clarity and consistency.

<required_tags>

<objective> - What the command does and why it matters

<objective>
What needs to happen and why this matters.
Context about who uses this and what it accomplishes.
</objective>

<process> or <steps> - How to execute the command

<process>
Sequential steps to accomplish the objective:
1. First step
2. Second step
3. Final step
</process>

<success_criteria> - How to know the command succeeded

<success_criteria>
Clear, measurable criteria for successful completion.
</success_criteria>

</required_tags>

<conditional_tags>

<context> - When loading dynamic state or files

<context>
Current state: ! `git status`
Relevant files: @ package.json
</context>

(Note: Remove the space after @ in actual usage)

<verification> - When producing artifacts that need checking

<verification>
Before completing, verify:
- Specific test or check to perform
- How to confirm it works
</verification>

<testing> - When running tests is part of the workflow

<testing>
Run tests: ! `npm test`
Check linting: ! `npm run lint`
</testing>

<output> - When creating/modifying specific files

<output>
Files created/modified:
- `./path/to/file.ext` - Description
</output>

</conditional_tags>

<structure_example>

---
name: example-command
description: Does something useful
argument-hint: [input]
---

<objective>
Process $ARGUMENTS to accomplish [goal].

This helps [who] achieve [outcome].
</objective>

<context>
Current state: ! `relevant command`
Files: @ relevant/files
</context>

<process>
1. Parse $ARGUMENTS
2. Execute operation
3. Verify results
</process>

<success_criteria>
- Operation completed without errors
- Output matches expected format
</success_criteria>

</structure_example>

<intelligence_rules>

Simple commands (single operation, no artifacts):

  • Required: <objective>, <process>, <success_criteria>
  • Example: /check-todos, /first-principles

Complex commands (multi-step, produces artifacts):

  • Required: <objective>, <process>, <success_criteria>
  • Add: <context> (if loading state), <verification> (if creating files), <output> (what gets created)
  • Example: /commit, /create-prompt, /run-prompt

Commands with dynamic arguments:

  • Use $ARGUMENTS in <objective> or <process> tags
  • Include argument-hint in frontmatter
  • Make it clear what the arguments are for

Commands that produce files:

  • Always include <output> tag specifying what gets created
  • Always include <verification> tag with checks to perform

Commands that run tests/builds:

  • Include <testing> tag with specific commands
  • Include pass/fail criteria in <success_criteria> </intelligence_rules> </xml_structure>

Read the full file on GitHub · 631 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 631 lines · 35 tokens per session scan A fcdd5660ce07

Subscribe to this mod's changes

create-slash-commands is a skill published in the GitHub repository glittercowboy/taches-cc-resources (1,976 stars, last pushed 5mo ago), licensed MIT. It adds 35 tokens to every session and 3,781 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

baby-sit

Monitor a GitHub pull request until CI is green, diagnose failures, and rerun only evidence-backed flaky GitHub Actions jobs.

langchain-ai/open-swe · 30 tokens

continual-learning

Nightly refinement of an existing per-repo review-style prompt using this reviewer's own finding outcomes. Read confirmed (resolved-by-commit / thumbs-up) and dismissed (thumbs-down) findings, promote the bug patterns the team actually fixes, demote the false-positive patterns, reconcile against the current prompt…

langchain-ai/open-swe · 89 tokens

Agentic UX Design - Relationship-Centric Interfaces

Design AI-first interfaces that build ongoing relationships through memory, trust evolution, and collaborative planning, not just isolated screen interactions.

bencium/bencium-marketplace · 33 tokens

claude-code-audit

Forensic audit of the user's recent Claude Code sessions to surface step-change workflow improvements — not marginal ones. Use when the user asks to "audit my Claude Code sessions", "analyze how I use Claude Code", "find patterns in my usage", "improve my Claude Code workflow", "review my sessions", "find leverage in…

petekp/claude-code-setup · 174 tokens

typography

Apply professional typography principles to create readable, hierarchical, and aesthetically refined interfaces. Use when setting type scales, choosing fonts, adjusting spacing, designing text-heavy layouts, implementing dark mode typography, or when asked about readability, font pairing, line height, measure…

petekp/claude-code-setup · 69 tokens

pumpfun

Complete PumpFun Protocol guide for building token launches, bonding curves, and AMM integrations on Solana. Covers Pump Program (token creation, buy/sell on bonding curves), PumpSwap AMM (liquidity pools, swaps), fee structures, creator fees, and SDK integration.

sendaifun/skills · 60 tokens