← ClaudeAtlas

add_commandlisted

Creates a new slash command (skill) that users can invoke with /name. Use when asked to add a command, automate a repeatable workflow step, or expose a task as a /name shortcut.
VytCepas/project-init · ★ 0 · AI & Automation · score 72
Install: claude install-skill VytCepas/project-init
> **Claude Code specific**: this skill manages Claude Code configuration > (settings.json wiring). Other agents do not consume what it produces. ## Create a skill Slash commands in this project live in `.agents/skills/<name>/SKILL.md`. Each skill is a markdown file with YAML frontmatter. ## Step 0 — Confirm the current schema (best-effort) The frontmatter fields below are a snapshot and can lag Claude Code releases. **If** a docs-lookup tool is available to you — the Context7 MCP, or WebFetch when it's permitted — confirm the field name / value against the current reference (<https://docs.agents.com/en/docs/claude-code/slash-commands>) before relying on it. This skill's `allowed-tools` does not grant those tools, so skip this step cleanly whenever the tool is unavailable, unapproved, egress is disabled (`--no-egress` / air-gapped), or the lookup fails — fall back to the embedded reference below. Don't request extra permissions and never block on it. ## Step 1 — Create the file Create `.agents/skills/<name>/SKILL.md` where `<name>` is the command name (lowercase, hyphen-separated). ## Step 2 — Write the frontmatter ```yaml --- name: <name> description: <What it does and when to use it. Third person. Include trigger keywords.> when_to_use: <Extra trigger context — action phrases the user might say.> argument-hint: "<expected arguments>" allowed-tools: Bash Read Write # tools pre-approved while this skill is active model: <model-id> # optional override