config-management

config-management is a skill for Claude Code from abderrahimghazali/drupal-boost. It costs 40 tokens per session (739 once invoked), scanned A, original, MIT.

A guide for managing Drupal configuration, which controls a site's settings and structure. It explains storing configuration as YAML files, moving it between environments, and keeping development settings separate from production settings.

In plain words
What is it for?
Use it to export, import, compare, or change Drupal settings with Drush, and to configure Config Split for development, staging, and production.
Why use it?
It helps prevent configuration changes from being lost, applied in the wrong environment, or copied manually between sites.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is folder: ../config/splits/dev.

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

Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/abderrahimghazali/drupal-boost
agentmods
npx agentmods add skills/abderrahimghazali/drupal-boost/config-management

Made for: Claude Code.

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 config-management

README.md
[![agentmods](https://agentmods.dev/badge/skills/abderrahimghazali/drupal-boost/config-management.svg)](https://agentmods.dev/skills/abderrahimghazali/drupal-boost/config-management)
Your own site
<a href="https://agentmods.dev/skills/abderrahimghazali/drupal-boost/config-management"><img src="https://agentmods.dev/badge/skills/abderrahimghazali/drupal-boost/config-management.svg" alt="Measured on agentmods" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 739 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.1 $0.00040 $0.00739
Opus 5 $0.00020 $0.00369
Sonnet 5 $0.00008 $0.00148
Haiku 4.5 $0.00004 $0.00074

Measured 6d ago against content hash 9d3e746213d8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

config-management 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 6d 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/config-management/SKILL.md · 121 lines

How it starts

The opening of the file, as written. The whole thing — 121 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Drupal Configuration Management

Core Concepts

Configuration is stored in YAML files and tracked in the config/sync directory (set in settings.php via $settings['config_sync_directory']).

Essential Commands

# Export all config
drush config:export    # or drush cex
# Import all config
drush config:import    # or drush cim
# Check status (what's changed)
drush config:status    # or drush cst
# Export single config
drush config:get system.site
# Set single value
drush config:set system.site name "My Site"

Config Split (Multi-Environment)

Install: composer require drupal/config_split

Setup for dev/staging/prod

# config/sync/config_split.config_split.dev.yml
id: dev
label: Development
folder: ../config/splits/dev
status: true
weight: 0
module:
  devel: 0
  kint: 0
  webprofiler: 0
theme: {}
complete_list: []
partial_list: []

Activate per environment in settings.php

// settings.php
$config['config_split.config_split.dev']['status'] = FALSE;
$config['config_split.config_split.prod']['status'] = FALSE;

// settings.local.php (dev only)
$config['config_split.config_split.dev']['status'] = TRUE;

// settings.prod.php (prod only)
$config['config_split.config_split.prod']['status'] = TRUE;

Config Split Commands

drush config-split:export dev    # or drush csex dev
drush config-split:import dev    # or drush csim dev

Config Overrides in settings.php

Override any config at runtime (not exported):

// Disable caching in development
$config['system.performance']['css']['preprocess'] = FALSE;
$config['system.performance']['js']['preprocess'] = FALSE;

// Change site name per environment
$config['system.site']['name'] = 'My Site (Dev)';

Config Schema

Always define schema for custom config in config/schema/MODULE_NAME.schema.yml:

MODULE_NAME.settings:
  type: config_object
  label: 'Module settings'
  mapping:
    api_key:
      type: string
      label: 'API Key'
    max_items:
      type: integer
      label: 'Maximum items'
    enabled:
      type: boolean
      label: 'Enabled'

Read the full file on GitHub · 121 lines

Files

What ships with it

2 files 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. 6d ago First seen · 121 lines · 40 tokens per session scan A 9d3e746213d8

Subscribe to this mod's changes

config-management is a skill published in the GitHub repository abderrahimghazali/drupal-boost (1 stars, last pushed 5mo ago), licensed MIT. It adds 40 tokens to every session and 739 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.

Related

Other skills, from other repositories