apps/backend/src/swarm/skills/builtins/slash-commands/SKILL.md
Create, update, list, and delete global slash commands.
npx skillsauth add a-mart/forge slash-commandsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill when the user asks to manage reusable / commands.
Slash commands are global (shared across profiles/sessions) and stored under:
${SWARM_DATA_DIR}/shared/config/slash-commands.jsonRun the CLI from this skill directory.
List all slash commands:
node ./slash-commands.js list
Create a command:
node ./slash-commands.js create \
--name "summarize" \
--prompt "Summarize the latest changes and open risks."
Update by id:
node ./slash-commands.js update \
--id "<command-id>" \
--new-name "summary" \
--prompt "Summarize the latest changes."
Update by name:
node ./slash-commands.js update \
--name "summarize" \
--new-name "summary" \
--prompt "Summarize the latest changes."
Delete by id:
node ./slash-commands.js delete \
--id "<command-id>"
Delete by name:
node ./slash-commands.js delete \
--name "summary"
/.All commands print JSON:
{ "ok": true, ... }{ "ok": false, "error": "..." }data-ai
Use when substantial manager-led work needs durable visible progress, worker evidence links, review gates, blocker tracking, or handoff across pauses, stops, compaction, restart, or model changes. Do not use for quick answers or routine one-step work.
tools
Author repo-root .forge project resources, including skills, specialists, reference docs, Project Agent definitions, Forge extensions, and Pi extensions/settings.
tools
Use when creating, refining, or validating reusable global, project, or repository skills, including trigger wording, templates, helper scripts, and validation checks.
development
Update persistent swarm memory in ${SWARM_MEMORY_FILE} when the user explicitly asks to remember, update, or forget durable information.