automation

Slash Command Dispatch

A GitHub action that facilitates "ChatOps" by creating repository dispatch events for slash commands
698 stars63 forksTypeScriptUpdated 7/27/2026100% free · open source
What it does

Slash-command-dispatch is a GitHub action that creates repository dispatch events for slash commands, enabling 'ChatOps' automation in your workflow.

When to use it
  • You need to automate tasks in response to specific commands from your team's chat platform
  • You want to trigger GitHub workflows based on slash commands without using a dedicated chatbot
  • Your team uses GitHub and a chat platform, and you want to integrate their workflows
Ready-to-paste prompt
Trigger a workflow dispatch event for a 'deploy' command: '{ "command": "deploy", "repository": "owner/repo" }'
Heads up: Make sure to replace 'owner/repo' with your actual GitHub repository name and owner in the 'repository' input of the 'actions/slash-command-dispatch' action
Saves to your device
Use with Claude
New

Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.

✅ Light setup

Installs with a command or two; your AI agent can do it for you.

Try it instantly — no install
Claude Code
mkdir -p ~/.claude/skills/slash-command-dispatch && curl -fsSL https://workflowstacks.com/api/skills/slash-command-dispatch/claude-skill -o ~/.claude/skills/slash-command-dispatch/SKILL.md
Open in another AI app

Opens the app with this repo with the prompt ready to go — no copy-paste needed.

Connect the whole catalog (MCP)
claude mcp add --transport http workflowstacks https://workflowstacks.com/api/mcp

Adds a WorkflowStacks connector to Claude Code: search and load any skill here by chatting.

How Slash Command Dispatch works
Codeflow
Free to inspect

Slash Command Dispatch is a small TypeScript project (~950 lines across 8 code files). Setup is light: install Node.js, run one command. Last commit this month, MIT license, has a test suite.

Size
Small codebase
~950 lines · 8 code files · 8 min skim
Setup
Light setup
Install Node.js, run one command.
Runs on
Node.js
No API keys detected
TypeScript 99%JavaScript 1%
Where to start reading
  1. 1
    README.md
    Start here — what it does and how to install it
  2. 2
    action.yml
    Where the program starts running
  3. 3
    package.json
    Dependencies and the commands it exposes
  4. 4
    src/main.ts
    Inside src/ — the main logic begins here
What's in each folder
src/Core code — the actual logic5 files
docs/Documentation9 files
__test__/Folder2 files
.github/CI / automation (GitHub Actions)9 files
READMEHas testsDocumentedCI checksMIT licenseUpdated this month
Quick Actions
Details
Creator
peter-evans
Language
TypeScript
Category
automation
Published
11/24/2019

Are you the creator of this tool? Claim your listing → and earn 85% of every sale.