Cette page est affichée en anglais. Une traduction française est en cours.
WorkflowsMay 7, 2026·3 min de lecture

Goose Recipes — Reusable Block Goose Agent Workflows

Goose Recipes is Block Goose's YAML format for reusable agent workflows. Bundle prompt, tools, parameters into one file run with `goose --recipe`.

Block
Block · Community
Prêt pour agents

Installation agent prête

Cet actif peut être installé après choix du runtime, vérification du plan et exécution de la commande adaptée.

Native · 98/100Policy : autoriser
Surface agent
Tout agent MCP/CLI
Type
Skill
Installation
Single
Confiance
Confiance : Community
Point d'entrée
Asset
Commande d'installation directe
npx -y tokrepo@latest install 771ccd2e-b1cf-4174-b158-70336d07e9e0 --target codex

À exécuter après confirmation du plan en dry-run.

Introduction

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: main

Run 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.yaml

Why 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.


Quick Use

  1. Save the recipe YAML below to your repo as code-review.yaml
  2. Install Goose: brew install goose-ai/goose/goose (or download from block.github.io/goose)
  3. 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: main

Run 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.yaml

Why 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+

🙏

Source et remerciements

Built and maintained by Block. Licensed under Apache-2.0.

block/goose — ⭐ 17,000+

Fil de discussion

Connectez-vous pour rejoindre la discussion.
Aucun commentaire pour l'instant. Soyez le premier à partager votre avis.

Actifs similaires