with one click
new-recipe
Scaffold a new gale recipe TOML file from a GitHub repo
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Scaffold a new gale recipe TOML file from a GitHub repo
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
| name | new-recipe |
| description | Scaffold a new gale recipe TOML file from a GitHub repo |
| disable-model-invocation | true |
Create a new gale recipe TOML file for a package.
/new-recipe <github-org/repo> or /new-recipe <name>
gale import homebrew <name> for a starting pointcurl -sL <url> | shasum -a 256recipes/<first-letter>/<name>.tomlgale lint on the recipeSee .claude/agents/recipe-creator.md for the full
pattern reference (Cargo, Go, Autotools, cmake).
repo = "owner/repo" for auto-updatereleased_at from GitHub release date[binary.*] sections (CI adds those)--path <crate-dir> instead of --path .${PREFIX}, ${VERSION}, ${JOBS},
${OS}, ${ARCH}, ${PLATFORM}Goal: the installed binary is byte-identical to the
CI-built, SHA256'd, Sigstore-attested artifact. As of gale
0.16.3, install does NOT rewrite rpaths — gale bakes the
dependency-farm rpath at build time, and a package's own
broken @rpath refs are no longer auto-fixed. If a Mach-O
references @rpath/lib<self>.dylib with no resolving
LC_RPATH, dyld aborts and scripts/check_install.py fails
the build. Common in C/C++ recipes where a bin/ tool (or a
lib/<pkg>/ plugin) links a sibling dylib. Prefer, in order:
-DENABLE_SHARED=OFF -DENABLE_STATIC=ON, autotools
--disable-shared --enable-static."for b in ${PREFIX}/bin/*; do [ -f \"$b\" ] || continue; file \"$b\" | grep -q Mach-O || continue; install_name_tool -add_rpath @loader_path/../lib \"$b\" 2>/dev/null || true; done"
See recipes/o/openssl4.toml, recipes/p/postgresql.toml.Full rationale: docs/dev/linking-policy.md.
To create multiple recipes at once, use the Agent tool with subagent_type="programmer" and the recipe-creator agent instructions. Launch up to 5 agents in parallel:
/new-recipe batch k9s helix age glow jless
This dispatches one agent per package.