Saving Recipes
This guide covers storing, organizing, and finding goose recipes when you need to access them again later.
- goose Desktop has a visual Recipe Library for browsing and managing saved recipes
- goose CLI stores recipes as files that you find using file paths or environment variables
Understanding Recipe Storage
Before saving recipes, it's important to understand where they can be stored and how this affects their availability.
Recipe Storage Locations
| Type | Location | Availability | Best For |
|---|---|---|---|
| Global | ~/.config/goose/recipes/ | All projects and sessions | Personal workflows, general-purpose recipes |
| Local | YOUR_WORKING_DIRECTORY/.goose/recipes/ | Only when working in that project | Project-specific workflows, team recipes |
Choose Global Storage When:
- You want the recipe available across all projects
- It's a personal workflow or general-purpose recipe
- You're the primary user of the recipe
Choose Local Storage When:
- The recipe is specific to a particular project
- You're working with a team and want to share the recipe
- The recipe depends on project-specific files or configurations
Storing Recipes
- goose Desktop
- goose CLI
Save New Recipe:
- To create a recipe from your chat session, see: Create Recipe
- Once in the Recipe Editor, click
Save Recipeto save it to your Recipe Library
Save Modified Recipe:
If you're already using a recipe and want to save a modified version:
- Click the button with your current model at the bottom of the window
- Click
View Recipe - Make any desired edits to the description, instructions, or initial prompts
- Click
Save Recipe
When you modify and save a recipe with a new name, a new recipe and new link are generated. You can still run the original recipe from the recipe library, or using the original link. If you edit a recipe without changing its name, the version in the recipe library is updated, but you can still run the original recipe via link.
When you create a recipe, it gets saved to:
- Your working directory by default:
./recipe.yaml - Any path you specify:
/recipe /path/to/my-recipe.yaml - Local project recipes:
/recipe .goose/recipes/my-recipe.yaml
The CLI saves recipes as .yaml files. While the CLI can run recipes in .json format, it does not provide an option to save recipes as JSON.
Importing Recipes
- goose Desktop
- goose CLI
Import a recipe using its deeplink or recipe file:
- Click the button in the top-left to open the sidebar
- Click
Recipesin the sidebar - Click
Import Recipe - Choose your import method:
- To import via a link: Under
Recipe Deeplink, paste in the recipe link - To import via a file: Under
Recipe File, clickChoose File, select a recipe file, and clickOpen
- To import via a link: Under
- Click
Import Recipeto save a copy of the recipe to your Recipe Library
goose Desktop accepts .yaml, .yml, and .json files, but the CLI only supports .yaml and .json. For full compatibility across both interfaces, avoid .yml extensions.
All recipe formats follow the same schema structure.
Recipe import is only available in goose Desktop.
Finding Available Recipes
- goose Desktop
- goose CLI
Access Recipe Library:
- Click the button in the top-left to open the sidebar
- Click
Recipesto view your Recipe Library - Browse your available recipes, which show:
- Recipe title and description
- Last modified date
- Whether they're stored globally or locally
The Desktop Recipe Library displays all recipes you've explicitly saved or imported. It doesn't automatically discover recipe files from your filesystem like the CLI does.
Use the goose recipe list command to find all available recipes from multiple sources:
Basic Usage
# List all available recipes
goose recipe list
# Show detailed information including titles and full paths
goose recipe list --verbose
# Output in JSON format for automation
goose recipe list --format json
Recipe Discovery Process
goose searches for recipes in the following locations (in order):
- Current directory:
.(looks for*.yamland*.jsonfiles) - Custom paths: Directories specified in
GOOSE_RECIPE_PATHenvironment variable - Global recipe library:
~/.config/goose/recipes/(or equivalent on your OS) - Local project recipes:
./.goose/recipes/ - GitHub repository: If
GOOSE_RECIPE_GITHUB_REPOenvironment variable is configured
Example Output
Default text format:
$ goose recipe list
Available recipes:
goose-self-test - A comprehensive meta-testing recipe - local: ./goose-self-test.yaml
hello-world - A sample recipe demonstrating basic usage - local: ~/.config/goose/recipes/hello-world.yaml
job-finder - Find software engineering positions - local: ~/.config/goose/recipes/job-finder.yaml
Verbose mode:
$ goose recipe list --verbose
Available recipes:
goose-self-test - A comprehensive meta-testing recipe - local: ./goose-self-test.yaml
Title: goose Self-Testing Integration Suite
Path: ./goose-self-test.yaml
hello-world - A sample recipe demonstrating basic usage - local: ~/.config/goose/recipes/hello-world.yaml
Title: Hello World Recipe
Path: /Users/username/.config/goose/recipes/hello-world.yaml
JSON format for automation:
[
{
"name": "goose-self-test",
"source": "Local",
"path": "./goose-self-test.yaml",
"title": "goose Self-Testing Integration Suite",
"description": "A comprehensive meta-testing recipe"
},
{
"name": "hello-world",
"source": "GitHub",
"path": "recipes/hello-world.yaml",
"title": "Hello World Recipe",
"description": "A sample recipe demonstrating basic usage"
}
]
Configuring Recipe Sources
Add custom recipe directories:
export GOOSE_RECIPE_PATH="/path/to/my/recipes:/path/to/team/recipes"
goose recipe list
Configure GitHub recipe repository:
export GOOSE_RECIPE_GITHUB_REPO="myorg/goose-recipes"
goose recipe list
See the Environment Variables Guide for more configuration options.
Manual Directory Browsing (Advanced)
If you need to browse recipe directories manually:
# List recipes in default global location
ls ~/.config/goose/recipes/
# List recipes in current project
ls .goose/recipes/
# Search for all recipe files
find . -name "*.yaml" -path "*/recipes/*" -o -name "*.json" -path "*/recipes/*"
The goose recipe list command is the recommended way to find recipes as it automatically searches all configured sources and provides consistent formatting.
Using Saved Recipes
- goose Desktop
- goose CLI
- Click the button in the top-left to open the sidebar
- Click
Recipes - Find your recipe in the Recipe Library
- Choose one of the following:
- Click
Useto run it immediately - Click
Previewto see the recipe details first, then click Load Recipe to run it
- Click
Once you've located your recipe file, run the recipe or open it in goose Desktop.
The CLI can run recipes saved from goose Desktop without any conversion. Both CLI-created and Desktop-saved recipes work with all recipe commands.