Skip to content
Agent Orchestration
Command

/example-command

An example slash command that demonstrates command frontmatter options

BOOST
From plugin
aigc
20019 skills15 agents19 commands10 MCP
Install
$ npx -y skills add xiaoyuge886/aigc --agent claude-code

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/example-command

Context preview

What this command does when you run it.

An example slash command that demonstrates command frontmatter options

Command definition

example-command.md
description: An example slash command that demonstrates command frontmatter options
argument-hint: <required-arg> [optional-arg]
allowed-tools: [Read, Glob, Grep, Bash]

Example Command

This command demonstrates slash command structure and frontmatter options.

Arguments

The user invoked this command with: $ARGUMENTS

Instructions

When this command is invoked:

1. Parse the arguments provided by the user 2. Perform the requested action using allowed tools 3. Report results back to the user

Frontmatter Options Reference

Commands support these frontmatter fields:

  • **description**: Short description shown in /help
  • **argument-hint**: Hints for command arguments shown to user
  • **allowed-tools**: Pre-approved tools for this command (reduces permission prompts)
  • **model**: Override the model (e.g., "haiku", "sonnet", "opus")

Example Usage

/example-command my-argument
/example-command arg1 arg2
Ships withaigc

基于 Claude AI 的智能对话与任务执行平台,支持自定义技能生态和场景化 AI 解决方案

Get the whole plugin

Other commands on aigc.