create-cmd

create-cmd is a skill for Claude Code, Codex from fayis672/slash-IT. It costs 16 tokens per session (490 once invoked), scanned A, original, MIT.

A way to save your previous message as a reusable slash command, which is a short command that runs a saved instruction.

In plain words
What is it for?
Use it to create a named command stored for all projects or only the current project.
Why use it?
It saves you from rewriting the same instruction and lets you reuse it later in the chosen scope.

Skill for Claude CodeCodex

Part of the slash-it plugin — 5 skills shipped together

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.

agentmods
npx agentmods add skills/fayis672/slash-it/create-cmd
Any agent
npx skills add fayis672/slash-IT --skill create-cmd
Clone the repo
git clone --depth 1 https://github.com/fayis672/slash-IT

Made for: Claude Code, Codex.

Or install slash-it, the plugin that ships this one along with the rest of its 5 skills.

Per session 16 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 490 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00016 $0.00490
Opus 5 $0.00008 $0.00245
Sonnet 5 $0.00003 $0.00098
Haiku 4.5 $0.00002 $0.00049

Measured 3d ago against content hash 23f74258cf8f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

create-cmd 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 3d 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.

skills/create-cmd/SKILL.md · 34 lines

What it actually says

The user wants to save their previous message — the most recent user turn in this conversation before this invocation — as a reusable custom slash command, unchanged.

Raw arguments: $ARGUMENTS

Do this:

  1. Parse $ARGUMENTS into a name and an optional scope flag:
    • --global / -g / the word global -> save system-wide.
    • --project / -p / the word project -> save to the current project.
    • Everything else is the command name.
  2. If no name is given, STOP and ask for one, e.g. /slash-it:create-cmd fix-bug. A name is required.
  3. Determine where to save (scope):
    • If a scope flag was given, use it.
    • Otherwise, ASK the user with AskUserQuestion: "Where should /<name> be saved?" with options Global (all projects) and Project (this repo only).
    • Global path: ~/.claude/commands/ (the user's home .claude/commands directory)
    • Project path: <current working directory>/.claude/commands/ — create this folder if it doesn't exist. If there is no project / not in a repo, fall back to Global and say so.
  4. Normalize the name: lowercase, kebab-case, strip any leading / and the .md extension.
  5. Find the user's previous prompt (the message right before this call). Use its text verbatim as the command body. Do NOT rewrite, optimise, or summarize it.
  6. Add YAML frontmatter with a one-line description derived from the prompt.
  7. Write the file to <chosen path>/<name>.md.
  8. If that file already exists, show its current contents and ask before overwriting.
  9. Confirm: print the saved file path, the scope (global/project), and that /<name> is now available (reopen the / menu for it to appear).
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. 3d ago First seen · 34 lines · 16 tokens per session scan A 23f74258cf8f

Subscribe to this mod's changes

create-cmd is a skill published in the GitHub repository fayis672/slash-IT (2 stars, last pushed 2mo ago), licensed MIT. It adds 16 tokens to every session and 490 once invoked, about $0.0001 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-31.