Quick Use
- Save the recipe YAML below to your repo as
code-review.yaml - Install Goose:
brew install goose-ai/goose/goose(or download from block.github.io/goose) - Run:
goose run --recipe code-review.yaml
Intro
Goose Recipes are reusable YAML workflow definitions for Block's Goose agent. Each recipe bundles a prompt, a list of allowed tools, and parameters into a single shareable file you run with goose run --recipe. Best for: teams standardizing repeated agent tasks (code review, dependency audits, release notes). Works with: Goose CLI, Goose Desktop. Setup time: under 2 minutes.
What's in a recipe
A recipe.yaml file defines:
title: Code Review Agent
description: Reviews changes since main branch
prompt: |
Review all changes since main. Flag bugs, security issues,
and style violations. Format findings by severity.
extensions:
- name: developer
- name: github
parameters:
- key: branch
description: Branch to compare against
default: mainRun a recipe
# Inline prompt
goose run --text "Add unit tests for foo.py"
# From a recipe file
goose run --recipe code-review.yaml --params branch=main
# From the official cookbook
goose run --recipe https://raw.githubusercontent.com/block/goose/main/cookbook/code-review.yamlWhy use recipes vs raw prompts
| Without recipe | With recipe |
|---|---|
| Re-type the prompt every time | Run by name |
| Tool list inconsistent across runs | Tool list fixed in the file |
| No way to share | Commit the YAML, share the URL |
| No parameters | --params key=value |
FAQ
Q: Is Goose Recipes free? A: Yes. Goose itself is open-source under Apache-2.0 license. Recipes are just YAML files — you only pay for the LLM tokens consumed when you run them.
Q: How does this differ from a slash command? A: Slash commands are interactive prompts you type each time. Recipes are checked-in files with parameters and a fixed extension list, designed for shareable, reproducible runs across machines and teammates.
Q: Where can I find pre-built recipes?
A: Block maintains the official cookbook at github.com/block/goose under /cookbook. Each recipe has a title, description, and is runnable via --recipe URL directly.
Source & Thanks
Built and maintained by Block. Licensed under Apache-2.0.
block/goose — ⭐ 17,000+