# Craft Command

> How to craft a Slash Command trigger.

- Skill: `attac-t/craft-command` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add attac-t/craft-command`
- Raw SKILL.md: https://api.skillmd.com/api/skills/attac-t/craft-command/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: attac-t (https://skillmd.com/u/attac-t)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/attac-t/craft-command

---


# Skill: Craft Command

> "Thin commands. Fat skills."

## The Philosophy

Commands are **triggers**, not logic containers. If you're writing prose or instructions in a command body, **stop**. That belongs in a skill.

## The Spec

**Read first**: https://code.claude.com/docs/en/slash-commands

## The Pattern

```markdown
---
description: One-line purpose.
argument-hint: <what user provides>
---

/skills/skill-name "$ARGUMENTS"
```

## Frontmatter Reference

| Field           | Purpose                               |
|-----------------|---------------------------------------|
| `description`   | Brief purpose (shown in autocomplete) |
| `argument-hint` | Expected arguments                    |
| `allowed-tools` | Restrict tool access                  |
| `model`         | Override model for this command       |

## Arguments

- `$ARGUMENTS` — all arguments as single string
- `$1`, `$2`, etc. — positional access

## See Also

- `examples.md` — patterns and anti-patterns

