boxel-delegated-render-control

boxel-delegated-render-control is a skill for Claude Code, Codex from cardstack/boxel. It costs 79 tokens per session (1,143 once invoked), scanned A, original, MIT.

A guide to controlling how one Boxel card displays another card inside it. It explains the difference between content-sized children and children fitted to a parent-provided box, along with the layout behavior added by the host.

In plain words
What is it for?
Use it when embedding cards in lists, feeds, grids, or other layouts and when diagnosing incorrect spacing, borders, or sizing.
Why use it?
Choosing the wrong display mode can create empty space, collapsed grids, duplicate borders, or hidden content. The guide explains which part should control the child's size and visual container.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it when embedding cards in lists, feeds, grids, or other layouts and when diagnosing incorrect spacing, borders, or sizing.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cardstack/boxel/boxel-delegated-render-control
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 cardstack/boxel --skill boxel-delegated-render-control
Clone the repo
git clone --depth 1 https://github.com/cardstack/boxel

Made for: Claude Code, Codex.

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 boxel-delegated-render-control

README.md
[![agentmods](https://agentmods.dev/badge/skills/cardstack/boxel/boxel-delegated-render-control/github.svg)](https://agentmods.dev/skills/cardstack/boxel/boxel-delegated-render-control)
Your own site
<a href="https://agentmods.dev/skills/cardstack/boxel/boxel-delegated-render-control"><img src="https://agentmods.dev/badge/skills/cardstack/boxel/boxel-delegated-render-control/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 boxel-delegated-render-control

Your own site · 80×15
<a href="https://agentmods.dev/skills/cardstack/boxel/boxel-delegated-render-control"><img src="https://agentmods.dev/badge/skills/cardstack/boxel/boxel-delegated-render-control.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 79 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,143 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 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.00079 $0.01143
Opus 5.5 $0.00032 $0.00457
Sonnet 5.5 $0.00016 $0.00229
Haiku 4.5 $0.00008 $0.00114

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

Security

Grade A, and why

boxel-delegated-render-control 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 5d 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.

packages/software-factory/.agents/skills-orchestrator/boxel-delegated-render-control/SKILL.md · 81 lines

How it starts

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

Delegated Render Control

When a parent card renders a child via <@fields.X @format='...' />, the host wraps the child in a CardContainer with chrome you didn't write (rounded corners, 1px halo, light background, overflow: hidden). Two decisions dominate the outcome: which format you pick, and who owns the chrome. The full mechanics — exact injected DOM/CSS, override layers, recipes, and the child-side contract — live in references/delegated-render-control.md.

Format choice = who owns the cell size (decide BEFORE styling)

Format Who controls the box size? Use when
embedded The child. Width fluid, height = the card's natural content. Vertical lists, feeds, roster rows, variable-height items.
fitted The parent. Child fills the box you give it (width/height: 100%, container-type: size). Uniform tile grids (calendar cells, portraits, badge strips) where you deliberately set the cell size.

The single most common rendering bug: picking fitted for a list of variable-height cards — short content leaves a big empty box below each row. The fix is the format choice, upstream of any CSS. Decision rule: did you set the cell size? Yes → fitted (+ min-height/aspect-ratio on the cell). No → embedded.

Who owns the chrome — three override layers (pick the lowest that works)

  1. Theme cascade — if the linked card has cardInfo.theme, the theme's --background, --foreground, --border, --radius flow into the wrapper. Cleanest, but only when the child instance actually has a theme.
  2. :deep() from the parent's <style scoped> — the workhorse. Target :deep(.boxel-card-container) for radius/background, :deep(.boxel-card-container--boundaries) for the 1px halo.
  3. @displayContainer={{false}} — kills the chrome entirely (display: contents); pair with a parent-owned wrapper element.

Read the full file on GitHub · 81 lines

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. 5d ago First seen · 81 lines · 79 tokens per session scan A 6fb4a12b9034

Subscribe to this mod's changes

boxel-delegated-render-control is a skill published in the GitHub repository cardstack/boxel (27 stars, last pushed today), licensed MIT. It adds 79 tokens to every session and 1,143 once invoked, about $0.0003 per session on Opus 5.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-10-21.

Related

Other skills, from other repositories

anti-slop-design

Autonomous Principal Design Technologist. Cures vibe-coded software from AI frontend slop using curated token archetypes and 7-axis quality gating.

sickn33/agentic-awesome-skills · 34 tokens

chakra-ui-builder

Build responsive, accessible UI components and layouts using Chakra UI v3, install or configure Chakra UI in new and existing projects, and design scalable themes using tokens, semantic tokens, recipes, and slot recipes. Use this skill whenever a user asks to build, create, or generate any UI component, page, form…

chakra-ui/chakra-ui · 214 tokens

visual-ralph

Visual Ralph orchestration for frontend UI from generated references, static references, or live URL targets, using $ultragoal with built-in visual verdict and pixel-diff evidence until the implementation matches and leaves a reproducible design system.

Yeachan-Heo/oh-my-codex · 52 tokens

open-design-setup

Prepare or repair a project's prototyping environment so open-design can build prototypes with the project's own component library and render them through the project's toolchain. Use when the library target is needed and docs/design/prototyping.md is missing, stale, or failing; excludes HTML-only design work and…

compozy/compozy · 67 tokens

edit-site

Plans, coordinates and customizes PAC CLI-downloaded Standard or Enhanced data model non-SPA Power Pages sites created from Microsoft templates or manually in Design Studio. Use for requests involving pages, localized content, navigation, assets, snippets, site markers, Liquid/web templates, page layouts, or styling.…

microsoft/power-platform-skills · 104 tokens

frontend-visual-qa

Audits rendered UI and specific task/object-link handoffs; excludes ordinary source citations alone. Audits already-rendered UI and Markdown/Obsidian image layout — web app, deck/slide, dashboard, design-system, or Electron/native app — via real-browser/native-app journeys and a Playwright sweep. Use after UI…

daymade/claude-code-skills · 125 tokens