drupal-sdc-twig

drupal-sdc-twig is a skill for Claude Code from kanopi/cms-cultivator. It costs 126 tokens per session (2,489 once invoked), scanned A, original, GPL-2.0.

Best-practice guidance for building Drupal Single Directory Components with Twig, Drupal’s templating language. It covers component inputs, markup structure, escaping, accessibility, schemas, validation, and overrides.

In plain words
What is it for?
Use it when building or reviewing an SDC, its component.yml file, Twig templates, props, slots, attributes, or overrides.
Why use it?
It helps avoid common mistakes when creating reusable Drupal components and rendering them safely.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the cms-cultivator plugin — 26 skills shipped together

Good fit Use it when building or reviewing an SDC, its component.yml file, Twig templates, props, slots, attributes, or overrides.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kanopi/cms-cultivator/drupal-sdc-twig
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.

Any agent
npx skills add kanopi/cms-cultivator --skill drupal-sdc-twig
Clone the repo
git clone --depth 1 https://github.com/kanopi/cms-cultivator

Made for: Claude Code.

Or install cms-cultivator, the plugin that ships this one along with the rest of its 26 skills.

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 drupal-sdc-twig

README.md
[![agentmods](https://agentmods.dev/badge/skills/kanopi/cms-cultivator/drupal-sdc-twig/github.svg)](https://agentmods.dev/skills/kanopi/cms-cultivator/drupal-sdc-twig)
Your own site
<a href="https://agentmods.dev/skills/kanopi/cms-cultivator/drupal-sdc-twig"><img src="https://agentmods.dev/badge/skills/kanopi/cms-cultivator/drupal-sdc-twig/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for drupal-sdc-twig

Your own site · 80×15
<a href="https://agentmods.dev/skills/kanopi/cms-cultivator/drupal-sdc-twig"><img src="https://agentmods.dev/badge/skills/kanopi/cms-cultivator/drupal-sdc-twig.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 126 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,489 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown 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.00126 $0.02489
Opus 5 $0.00063 $0.01244
Sonnet 5 $0.00025 $0.00498
Haiku 4.5 $0.00013 $0.00249

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

Security

Grade A, and why

drupal-sdc-twig 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 10d 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/drupal-sdc-twig/SKILL.md · 212 lines

The source is not reproduced here

Licensed GPL-2.0

The repository is licensed GPL-2.0, which this catalogue does not treat as permission to reproduce the file. Read it at the source.

Read it on GitHub

Files

What ships with it

5 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. 10d ago First seen · 212 lines · 126 tokens per session scan A f544b03759d6

Subscribe to this mod's changes

drupal-sdc-twig is a skill published in the GitHub repository kanopi/cms-cultivator (17 stars, last pushed 9d ago), licensed GPL-2.0. It adds 126 tokens to every session and 2,489 once invoked, about $0.0006 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-30.

Related

Other skills, from other repositories

top-design

Create award-winning, immersive web experiences at the level of Awwwards-featured agencies. Use when the user mentions "Awwwards quality", "make my site stunning", "scroll animations", "parallax storytelling", "cinematic web design", "portfolio site", or "brand experience". Also trigger when elevating a standard…

wondelai/skills · 113 tokens

web-typography

Select, pair, and implement typefaces for web projects. Use when the user mentions "font pairing", "which typeface", "line height", "responsive typography", "web font loading", "type hierarchy", "variable fonts", "FOUT/FOIT", "typographic scale", or "the text is hard to read". Also trigger when choosing between system…

wondelai/skills · 128 tokens

create-website

Guided journey from a blank page to a live, high-converting website, built message-first, then design, then conversion. Orchestrates ten skills phase by phase - one-page-marketing, storybrand-messaging, made-to-stick, top-design, web-typography, refactoring-ui, ux-heuristics, cro-methodology, scorecard-marketing…

wondelai/skills · 228 tokens

high-perf-browser

Optimize web performance through network protocols, resource loading, and browser rendering internals. Use when the user mentions "my site is slow", "Core Web Vitals", "HTTP/2 or HTTP/3", "resource hints", "network latency", "render blocking", "TCP/TLS optimization", "service worker", "Cache-Control or caching…

wondelai/skills · 128 tokens

refactoring-ui

Audit and fix visual hierarchy, spacing, color, and depth in web UIs. Use when the user mentions "my UI looks off" (or amateur/unprofessional), "fix the design", "Tailwind styling", "color palette", "visual hierarchy", "design system", "spacing scale", or "component styling". Also trigger when building consistent…

wondelai/skills · 132 tokens

interface-craft

Raises the visual and interaction quality of an interface — layout, hierarchy, type, spacing, density, and the details that separate a considered product from a generic one. Use this when a screen works but looks unfinished or default, when a layout feels crowded or arbitrary, when a page has no clear focal point, or…

cbrock84/headcount · 79 tokens