symfony:twig-components

symfony:twig-components is a skill for Claude Code, Codex from dev-toolings/superpowers-symfony. It costs 29 tokens per session (229 once invoked), scanned A, a copy of symfony:brainstorming, MIT.

A guide for building reusable interface components with Symfony UX Twig Components. Twig is Symfony's template language, and components are reusable pieces of a web page.

In plain words
What is it for?
Use it to build Twig components with props, slots, anonymous components, and CVA styling patterns.
Why use it?
It helps keep templates organized by defining component properties, content areas, and reusable styling options.

Skill for Claude CodeCodex

Part of the superpowers-symfony plugin — 44 skills, 13 commands, 7 agents, 1 hook 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/dev-toolings/superpowers-symfony/twig-components
Any agent
npx skills add dev-toolings/superpowers-symfony --skill twig-components
Clone the repo
git clone --depth 1 https://github.com/dev-toolings/superpowers-symfony

Made for: Claude Code, Codex.

Or install superpowers-symfony, the plugin that ships this one along with the rest of its 44 skills, 13 commands, 7 agents, 1 hook.

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 symfony:twig-components

README.md
[![agentmods](https://agentmods.dev/badge/skills/dev-toolings/superpowers-symfony/twig-components.svg)](https://agentmods.dev/skills/dev-toolings/superpowers-symfony/twig-components)
Your own site
<a href="https://agentmods.dev/skills/dev-toolings/superpowers-symfony/twig-components"><img src="https://agentmods.dev/badge/skills/dev-toolings/superpowers-symfony/twig-components.svg" alt="Measured on agentmods" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 229 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 81% copy Near-identical to another mod 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.00029 $0.00229
Opus 5 $0.00015 $0.00114
Sonnet 5 $0.00006 $0.00046
Haiku 4.5 $0.00003 $0.00023

Measured yesterday against content hash 926b54025ba6, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

symfony:twig-components 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 yesterday.

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.

Origin

This is a copy

81% identical to symfony:brainstorming — 7 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/twig-components/SKILL.md · 40 lines

What it actually says

Twig Components (Symfony)

Use when

  • Refining architecture/workflows/context handling in Symfony projects.
  • Planning and executing medium/complex changes safely.

Default workflow

  1. Establish current boundaries, constraints, and coupling points.
  2. Propose smallest coherent architectural adjustment.
  3. Execute in checkpoints with validation at each stage.
  4. Summarize tradeoffs and follow-up backlog.

Guardrails

  • Use existing project patterns by default.
  • Avoid broad refactors without explicit need.
  • Keep decision log clear and auditable.

Progressive disclosure

  • Use this file for execution posture and risk controls.
  • Open references when deep implementation details are needed.

Output contract

  • Architecture/workflow changes.
  • Checkpoint validation outcomes.
  • Residual risks and next steps.

References

  • reference.md
  • docs/complexity-tiers.md
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. yesterday First seen · 40 lines · 29 tokens per session scan A 926b54025ba6

Subscribe to this mod's changes

symfony:twig-components is a skill published in the GitHub repository dev-toolings/superpowers-symfony (208 stars, last pushed 4d ago), licensed MIT. It adds 29 tokens to every session and 229 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 81% identical to symfony:brainstorming, differing in 7 lines, and is treated as a copy.

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

scroll-craft

Build premium scroll-driven landing pages for service, product, food, and drink brands. Plan the visitor journey, page grammar, emotional peak, and bespoke signature move. Create dimensional heroes with independent visual planes, restrained motion, and separate mobile composition. Use supplied photos and footage or…

nateherkai/scroll-craft · 177 tokens

designlang-tokens

Use when styling UI for cal.com — references the extracted design system tokens instead of inventing colors, spacing, or typography.

Manavarya09/design-extract · 30 tokens

shiny-bslib-theming

Advanced theming for Shiny apps using bslib and Bootstrap 5. Use when customizing app appearance with bstheme(), Bootswatch themes, custom colors, typography, brand.yml integration, Bootstrap Sass variables, custom Sass/CSS rules, dark mode and color modes, dynamic theme switching, real-time theming, theme inspection…

posit-dev/skills · 87 tokens

interface-redesign

Upgrades an existing interface to a higher standard without rebuilding it — auditing what is there, identifying what reads as generic or unfinished, and sequencing changes by impact. Use this when a product works but looks dated or default, when a redesign is being considered, when deciding whether to restyle or…

cbrock84/headcount · 77 tokens