create-slash-command

create-slash-command is a skill for Claude Code, Codex from BrentFarris/echo. It costs 43 tokens per session (3,088 once invoked), scanned A, original, MIT.

A procedure for creating or editing Echo slash commands, which are saved shortcuts for actions in the Echo app. It covers text commands, plugin actions, and app views, including how commands are registered.

In plain words
What is it for?
Use it to add or change Echo shortcuts, connect them to existing tools or apps, or generate and install a plugin when a command needs new behavior.
Why use it?
It prevents treating a command file as automatically registered and helps identify the machine, bot, and existing tool or app that the command should use.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Codex.

Good fit Use it to add or change Echo shortcuts, connect them to existing tools or apps, or generate and install a plugin when a command needs new behavior.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/brentfarris/echo/create-slash-command
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 BrentFarris/echo --skill create-slash-command
Clone the repo
git clone --depth 1 https://github.com/BrentFarris/echo

Made for: Claude Code, Codex.

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-command

README.md
[![agentmods](https://agentmods.dev/badge/skills/brentfarris/echo/create-slash-command/github.svg)](https://agentmods.dev/skills/brentfarris/echo/create-slash-command)
Your own site
<a href="https://agentmods.dev/skills/brentfarris/echo/create-slash-command"><img src="https://agentmods.dev/badge/skills/brentfarris/echo/create-slash-command/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-command

Your own site · 80×15
<a href="https://agentmods.dev/skills/brentfarris/echo/create-slash-command"><img src="https://agentmods.dev/badge/skills/brentfarris/echo/create-slash-command.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,088 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.
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.00043 $0.03088
Opus 5.5 $0.00017 $0.01235
Sonnet 5.5 $0.00009 $0.00618
Haiku 4.5 $0.00004 $0.00309

Measured 12d ago against content hash d5ceb16e619f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

create-slash-command 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 12d 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-slash-command/SKILL.md · 186 lines

How it starts

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

Create an Echo slash command

Use an existing tool or app when it already does the requested work. Generate a plugin only when the command needs new behavior. A slash command is an owner-defined shortcut saved on an Echo machine; adding a skill or plugin file does not register a command.

Workflow

  1. Identify the machine that owns the command and, for plugin/app actions, the selected or fixed bot. Commands belong to that machine's profile and are shared across its browsers. Chat suggestions follow the selected bot's machine, with the chat's home machine as fallback. Settings has its own machine selector. Remote machines must advertise slash-commands/1.
  2. Read existing commands and the destination catalog through the owner API, or inspect Settings → General → Slash commands. Reuse actual plugin, tool, view, feature, and bot IDs from that machine. The catalog includes tool parameter schemas and unavailable reasons; disabled or pending plugins can still appear.
  3. Choose text, plugin, or app using the complete options below. For a new plugin, read Plugin generation examples, obtain plugin_template, install the package, then register the command separately.
  4. Create or edit the definition in Settings, or use the owner API below when an authorized owner session is available. Echo currently exposes no slash_command_save model tool. plugin_install installs packages, not commands. Do not invent a tool, write the private settings database, or describe a prepared definition as already registered.
  5. Verify the saved definition and exercise its intended behavior. Invoking a plugin command executes its tool immediately, so use suitable sample arguments and the intended bot. Report the command name, owning machine, action, and any remaining registration or package-approval step.

Complete command options

Create/update JSON has this shape: {"name":"review","description":"Review the draft","action":{...}}.

Field Type Rules and defaults
name string, required Enter without /. Trimmed and lowercased on save. Pattern ^[a-zA-Z][a-zA-Z0-9_-]{0,63}$: starts with a letter, at most 64 ASCII characters, then letters/digits/_/-. Unique ignoring case, including names of removed built-ins.
description string, optional Human-readable suggestion text; trimmed; at most 1,000 UTF-8 bytes on the server. Empty is allowed.
action object, required Exactly one of the action types below. Saving retains only the fields relevant to that type.
id string, server-managed Generated on create. Update/delete by this ID in the URL, not by the slash name. A body id does not select the command to update.
builtin boolean, server-managed Custom saves always set false; clients cannot create a built-in this way.
enabled boolean, server-managed Custom saves always set true. There is no custom disable toggle; delete custom commands. Removed built-ins remain listed with false and can be restored.

Read the full file on GitHub · 186 lines

Files

What ships with it

1 file 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. 12d ago First seen · 186 lines · 43 tokens per session scan A d5ceb16e619f

Subscribe to this mod's changes

create-slash-command is a skill published in the GitHub repository BrentFarris/echo (12 stars, last pushed 9d ago), licensed MIT. It adds 43 tokens to every session and 3,088 once invoked, about $0.0002 per session on Opus 5.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-11-04.

Related

create-slash-command compared with skills from other repositories

create-slash-command next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
create-slash-commandBrentFarris/echoSkill129d agoMITA43Claude Code, Codex
claude_code_delegationsiddsachar/row-botSkill1.7ktodayApache-2.0A31Claude Code, Codex
developer_codingsiddsachar/row-botSkill1.7ktodayApache-2.0A17Claude Code, Codex
code-runnerxyva-yuangui/XyvaClawSkill213mo agoMITA65Claude Code, Codex
add-resendnanocoai/nanoclawSkill31ktodayMITA16Claude Code
add-macos-statusbarnanocoai/nanoclawSkill31ktodayMITA49Claude Code
Cortexdanielmiessler/LifeOSSkill20k10d agoMITA184Claude Code