example-command

Create and execute customizable slash commands with specified arguments and allowed tools.

3|Updated May 3, 2026
One-click install
npx skills add https://github.com/chloebrett/slay --skill example-command-chloebrett
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: example-command
Source: https://github.com/chloebrett/slay/tree/main/.claude/plugins/marketplaces/claude-plugins-official/plugins/example-plugin/skills/example-command
Command: npx skills add https://github.com/chloebrett/slay --skill example-command-chloebrett

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

It enables users to define custom slash commands in a standardized format that integrates seamlessly with the system, simplifying command creation and execution.

Core Features & Use Cases

  • Command Definition: Provides a clear layout for specifying command arguments, allowed tools, and descriptive instructions.
  • Versatile Integration: Supports multiple invocation methods, including direct commands and argument parsing.
  • Use Case: Developers can create new custom commands such as /generate-report that utilize specific tools and provide concise instructions for the AI to execute.

Quick Start

Invoke /example-command sampleArg to see how the command parses arguments and utilizes allowed tools for execution.

Frequently Asked Questions about example-command

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create custom slash commands with specific arguments?

You create custom slash commands by defining command arguments, permitted tools, and descriptive instructions in a standardized frontmatter format. This format specifies the allowed tools and guidance for the AI to execute the command accurately.

What are slash commands and how do they integrate with AI?

Slash commands are user-invoked instructions that integrate with AI by parsing specified arguments and utilizing permitted tools. They simplify command execution by providing a clear, standardized layout for the AI to follow.

How do I set tool permissions for custom commands?

Tool permissions are set within the command definition frontmatter by specifying allowed tools. This ensures the AI only accesses authorized tools when executing the custom slash command, maintaining controlled interaction.

Can I parse arguments when executing custom slash commands?

Yes, custom slash commands support argument parsing during execution. Invoking a command with a sample argument demonstrates how the system parses inputs and utilizes allowed tools to process the request.

What is the best way to define instructions for AI-driven commands?

The best way to define instructions is through descriptive guidance in the command frontmatter. Providing concise instructions alongside command arguments and allowed tools ensures the AI executes the custom command as intended.

Do I need any dependencies to implement custom slash commands?

No dependencies are required to implement custom slash commands. The system facilitates command creation natively through frontmatter options, allowing developers to define and execute commands without external packages.