recipes-api

recipes-api is a skill for Claude Code, Codex from abderrahimghazali/drupal-boost. It costs 34 tokens per session (530 once invoked), scanned A, original, MIT.

A guide for Drupal Recipes, which are reusable definitions that install modules, themes, settings, and optional starter content. Drupal is a PHP system for building websites.

In plain words
What is it for?
Use it to create, apply, and organize Drupal 11 recipes, install modules or themes, import configuration, apply settings, and build site templates.
Why use it?
It reduces repeated manual setup when creating or configuring Drupal sites.

Skill for Claude CodeCodex

Part of the drupal-boost plugin — 13 skills, 8 commands, 6 agents, 3 hooks shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/abderrahimghazali/drupal-boost/recipes-api
Any agent
npx skills add abderrahimghazali/drupal-boost --skill recipes-api
Clone the repo
git clone --depth 1 https://github.com/abderrahimghazali/drupal-boost

Made for: Claude Code, Codex.

Or install drupal-boost, the plugin that ships this one along with the rest of its 13 skills, 8 commands, 6 agents, 3 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for recipes-api

README.md
[![agentmods](https://agentmods.dev/badge/skills/abderrahimghazali/drupal-boost/recipes-api.svg)](https://agentmods.dev/skills/abderrahimghazali/drupal-boost/recipes-api)
Your own site
<a href="https://agentmods.dev/skills/abderrahimghazali/drupal-boost/recipes-api"><img src="https://agentmods.dev/badge/skills/abderrahimghazali/drupal-boost/recipes-api.svg" alt="Measured on agentmods" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 530 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00034 $0.00530
Opus 5 $0.00017 $0.00265
Sonnet 5 $0.00007 $0.00106
Haiku 4.5 $0.00003 $0.00053

Measured 3d ago against content hash 45cff1f2d091, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

recipes-api scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/recipes-api/SKILL.md · 97 lines

What it actually says

Drupal Recipes API

Recipes automate module installation and configuration. Available in Drupal 10.3+ as experimental, stable in Drupal 11.

Recipe Structure

recipes/my_recipe/
├── recipe.yml          # Required: recipe definition
├── config/             # Optional: config to import
│   ├── system.site.yml
│   └── node.type.article.yml
└── content/            # Optional: default content

recipe.yml Schema

name: 'My Recipe'
description: 'Sets up a blog with article content type and views.'
type: 'Content type'

# Install modules
install:
  - node
  - views
  - pathauto
  - metatag

# Install themes
themes:
  install:
    - olivero
  default: olivero
  admin: claro

# Apply other recipes first
recipes:
  - core/recipes/standard

# Config actions
config:
  actions:
    node.type.article:
      createIfNotExists:
        label: 'Article'
        description: 'Use articles for time-sensitive content.'
    system.site:
      simpleConfigUpdate:
        name: 'My Blog'
        page:
          front: '/blog'

Applying Recipes

# Via Drush (recommended)
drush recipe recipes/my_recipe

# Via PHP script
php core/scripts/drupal recipe recipes/my_recipe

Config Actions

  • createIfNotExists — Create config if it doesn't exist
  • simpleConfigUpdate — Update specific values in existing config
  • createForEach — Create multiple config entities from a template
  • setPermissions — Assign permissions to roles

Composing Recipes

Recipes can include other recipes:

recipes:
  - core/recipes/standard
  - recipes/blog_base
  - recipes/media_setup

Key Rules

  • Recipes are idempotent — safe to apply multiple times
  • Recipes are applied once and cannot be "uninstalled"
  • Use recipes for site setup, not for ongoing configuration management
  • Place custom recipes in the project root recipes/ directory
  • Test recipes on a clean install before distributing
  • Use createIfNotExists to avoid overwriting existing config
Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 97 lines · 34 tokens per session scan A 45cff1f2d091

Subscribe to this mod's changes

recipes-api is a skill published in the GitHub repository abderrahimghazali/drupal-boost (1 stars, last pushed 5mo ago), licensed MIT. It adds 34 tokens to every session and 530 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.