Document recipe slash commands feature (#6075)

This commit is contained in:
Emma Youndtsmith
2025-12-15 13:49:32 -06:00
committed by GitHub
parent a31eb7f316
commit eec5df76c6
3 changed files with 63 additions and 2 deletions
@@ -571,7 +571,7 @@ Once you're in an interactive session (via `goose session` or `goose run --inter
- **`/prompt <n> [--info] [key=value...]`** - Get prompt info or execute a prompt
- **`/prompts [--extension <name>]`** - List all available prompts, optionally filtered by extension
- **`/recipe [filepath]`** - Generate a recipe from the current conversation and save it to the specified filepath (must end with .yaml). If no filepath is provided, it will be saved to ./recipe.yaml
- **`/summarize`** - Summarize the current conversation to reduce context length while preserving key information
- **`/compact`** - Compact and summarize the current conversation to reduce context length while preserving key information
- **`/t`** - Toggle between `light`, `dark`, and `ansi` themes. [More info](#themes).
- **`/t <name>`** - Set theme directly (light, dark, ansi)
@@ -592,6 +592,7 @@ Once you're in an interactive session (via `goose session` or `goose run --inter
# Clear the current conversation history
/clear
```
You can also create [custom slash commands for running recipes](/docs/guides/recipes/session-recipes.md#custom-recipe-commands) in goose Desktop or the CLI.
---