slash-commands
This tool allows your bot to handle and respond to slash commands, enabling users to interact with your bot using a specific syntax like '/command' in chat platforms.
- •When building a Discord bot that requires users to invoke commands with a slash prefix
- •When creating a Slack bot that needs to handle slash commands for various tasks
- •When developing a chatbot that must support a wide range of commands and subcommands
module.exports = { name: 'greeting', description: 'Sends a greeting message', run: (interaction) => interaction.reply('Hello, how are you?') };Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.
Installs with a command or two; your AI agent can do it for you.
mkdir -p ~/.claude/skills/slash-commands && curl -fsSL https://workflowstacks.com/api/skills/slash-commands/claude-skill -o ~/.claude/skills/slash-commands/SKILL.mdOpens the app with this repo with the prompt ready to go — no copy-paste needed.
Slash-commands is a small JavaScript project (~2.8k lines across 87 code files). Setup is light: installs like a normal app. Reading the code is optional. Last commit 51 months ago, Other license, no tests found.
- 1README.mdStart here — what it does and how to install it
- 2index.jsWhere the program starts running
- 3package.jsonDependencies and the commands it exposes
- 4commands/devs/eval.jsInside commands/ — an example of what the AI is told to do
Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.
Installs with a command or two; your AI agent can do it for you.
mkdir -p ~/.claude/skills/slash-commands && curl -fsSL https://workflowstacks.com/api/skills/slash-commands/claude-skill -o ~/.claude/skills/slash-commands/SKILL.mdOpens the app with this repo with the prompt ready to go — no copy-paste needed.
Are you the creator of this tool? and earn 85% of every sale.
Show it off in your README:
[](https://workflowstacks.com/skills/slash-commands?utm_source=github&utm_medium=badge)The five fastest-growing open-source AI skills, ranked by GitHub star growth. One email a week, unsubscribe anytime.
Do this with a working workflow
Pages we wrote and tested that put a skill like this to work — importable n8n templates, outcome guides and Claude Desktop configs.
Related skills
More ai-agent tools founders pair with this one.