xllama / wiki / commands

Custom slash commands

Create reusable prompt templates as Markdown files. They appear alongside built-in commands in the navigable slash menu.

Create a command

~/.xllama/commands/ship.md

---
name: ship
description: prepare a release for $1
---

Prepare release $1. Extra notes: $ARGUMENTS

Arguments

TokenValue
$ARGUMENTSAll arguments joined with spaces
$1 … $9Individual positional arguments

Running /ship 1.2.0 hotfix sets $1 to 1.2.0 and $ARGUMENTS to 1.2.0 hotfix.