Create Slash Command
Generates custom slash commands for Slack/Discord using provided instructions and desired functionality.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add create-slash-command npx -- -y @trustedskills/create-slash-command
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"create-slash-command": {
"command": "npx",
"args": [
"-y",
"@trustedskills/create-slash-command"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill allows you to define and generate slash commands for AI agents. It enables users to trigger specific actions or workflows within an agent's environment through simple, recognizable text commands. The generated commands can be easily integrated into various platforms that support slash command functionality.
When to use it
- Automating repetitive tasks: Create a
/summarizecommand to automatically generate summaries of long documents. - Triggering specific workflows: Define a
/deploycommand to initiate deployment pipelines in your development environment. - Providing quick access to information: Build a
/weathercommand that returns current weather conditions for a specified location. - Customizing agent interactions: Implement custom commands like
/translateor/calculateto extend the agent's capabilities.
Key capabilities
- Slash command generation
- Workflow integration
- Action triggering
- Platform compatibility (implied)
Example prompts
- "Create a slash command called 'report_bug' that opens a new bug report form."
- "Generate a slash command for '/ping' which sends a simple confirmation message."
- "I need a slash command to run my daily backup script. Name it /backup."
Tips & gotchas
The skill’s effectiveness depends on the underlying platform supporting slash commands and the agent’s ability to execute the associated actions. Ensure that the target environment is properly configured to handle these custom commands.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.