xiaohongshu
xiaohongshu
goose-recipes
Create, validate, and work with Goose recipes - reusable AI agent configurations that package specific setups for tasks. Use when creating recipe.yaml/recipe.json files, configuring Goose extensions, parameters, retry logic, structured outputs, or debugging recipe validation errors.
Full skill instructions
Create and work with Goose recipes - reusable configurations that package up specific AI agent setups.
Start with the basic template from assets/basic-recipe-template.yaml and customize:
version: "1.0.0"
title: "Your Recipe Title"
description: "What this recipe accomplishes"
prompt: "Initial task for the agent"
For complex workflows, use assets/advanced-recipe-template.yaml which includes:
Every recipe MUST have:
version: Use "1.0.0"title: Short, descriptive titledescription: Detailed explanation of purposeChoose based on use case:
instructions: Multi-step guidance for complex tasksprompt: Direct task statement for simple tasksDefine inputs with proper requirements:
parameters:
- key: param_name
input_type: string # or "file" to read file contents
requirement: required # or "optional" or "user_prompt"
description: "What this parameter does"
default: "value" # Required for optional parameters
Use parameters in templates: {{ param_name }}
Include MCP servers or tools:
extensions:
- type: stdio
name: extension_name
cmd: command_to_run
args: [arguments]
timeout: 300
description: "What this extension provides"
Enable automatic retries with validation:
retry:
max_retries: 3
checks:
- type: shell
command: "test -f output.json" # Must exit 0 for success
on_failure: "rm -f output.json" # Cleanup command
Enforce JSON response format:
response:
json_schema:
type: object
properties:
result:
type: string
description: "Main result"
required: [result]
Read and process file contents:
parameters:
- key: source_code
input_type: file
requirement: required
description: "Source code file to analyze"
prompt: "Analyze this code:\n{{ source_code }}"
Use instructions for complex procedures:
instructions: |
1. Parse the input data
2. Validate against schema
3. Generate report with findings
4. Save to specified location
prompt: "Begin processing {{ input_file }}"
Combine multiple recipes:
sub_recipes:
- name: "validate"
path: "./validation.yaml"
values:
strict_mode: "true"
Recipes can use environment-based secrets:
extensions:
- type: stdio
name: github-mcp
cmd: github-mcp-server
env_keys: [GITHUB_PERSONAL_ACCESS_TOKEN]
IMPORTANT: When working with HTTP-based MCP servers that require authentication (Bearer tokens, API keys), do NOT use sse or streamable_http extension types - they don't properly support custom authentication headers in Goose recipes.
Instead, use this pattern:
parameters:
- key: API_KEY
input_type: string
requirement: optional
description: "API key for MCP server authentication"
default: "your-api-key"
instructions: |
**MCP Server Access**
The MCP server is available at: https://your-server.example.com/mcp
Authentication: Use Bearer token with API key: {{ API_KEY }}
The server provides tools for:
- tool_name_1: Description
- tool_name_2: Description
Access these tools by making HTTP requests with the Authorization header.
This approach:
Recipes are validated for:
| Issue | Solution |
|---|---|
| "Template variable without parameter" | Add parameter definition for {{ variable }} |
| "Optional parameter without default" | Add default: "value" to parameter |
| "Invalid YAML syntax" | Check indentation and quotes |
| "Shell command failed" | Test command separately, ensure proper escaping |
{{ parameter_name }}{{ content | indent(2) }}{% extends "parent.yaml" %}
{% block content %}Modified content{% endblock %}
recipe_dir: Directory containing the recipe fileCLI Format (root-level fields):
version: "1.0.0"
title: "Recipe"
description: "Description"
Desktop Format (nested in recipe object):
name: "Recipe Name"
recipe:
version: "1.0.0"
title: "Recipe"
description: "Description"
Both formats work with goose run --recipe command.
For complete field reference and advanced configurations, see:
references/recipe-structure.md - Complete field reference and configuration optionsReady-to-use templates in assets/:
basic-recipe-template.yaml - Simple recipe structureadvanced-recipe-template.yaml - Complex features showcasemcp-server-recipe-template.yaml - HTTP-based MCP servers with authenticationxiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience