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.
git clone --depth 1 https://github.com/hekivo/superpowers-sagenpx agentmods add skills/hekivo/superpowers-sage/block-scaffoldingWrote 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.
[](https://agentmods.dev/skills/hekivo/superpowers-sage/block-scaffolding)<a href="https://agentmods.dev/skills/hekivo/superpowers-sage/block-scaffolding"><img src="https://agentmods.dev/badge/skills/hekivo/superpowers-sage/block-scaffolding/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.
<a href="https://agentmods.dev/skills/hekivo/superpowers-sage/block-scaffolding"><img src="https://agentmods.dev/badge/skills/hekivo/superpowers-sage/block-scaffolding.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00102 | $0.04253 |
| Opus 5 | $0.00051 | $0.02126 |
| Sonnet 5 | $0.00020 | $0.00851 |
| Haiku 4.5 | $0.00010 | $0.00425 |
Grade A, and why
superpowers-sage:block-scaffolding 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 12d 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.
How it starts
The opening of the file, as written. The whole thing — 466 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Block Scaffolding — Custom Element Contract per Block
Scaffold a new ACF block with the full custom element architecture: scoped CSS, theme variations, optional JS lifecycle, selective enqueue, and documentation.
Announce at start: "I'm using the block-scaffolding skill to create the block."
When to use
- Auto-invoked by
/building: afterlando acorn acf:blockproduces a new stub - Standalone new block: a block outside of a plan
When NOT to use
- Existing block that needs evolution → use
/block-refactoringinstead. - Non-block UI component (Button, Card) → Blade component, not ACF block.
Input
$ARGUMENTS
Resolve to {ClassName} (PascalCase) and {slug} (kebab-case) before proceeding.
Quick Start
# Generate block stub (PascalCase name required)
bash skills/block-scaffolding/scripts/create-block.sh HeroBlock
# → app/Blocks/HeroBlock.php
# → resources/views/blocks/hero-block.blade.php
Hard Prerequisites
P1. Slug produces a valid custom element tag — block-{slug}. The block-
prefix guarantees the required hyphen.
P2. Design system foundation:
resources/css/design-tokens.css — must exist
resources/views/components/ui/ — must contain button + heading
P3. BaseCustomElement in theme:
resources/js/core/BaseCustomElement.js — must exist
Operation Modes
| Mode | When | $styles |
CSS variations |
|---|---|---|---|
| Full | Theme switching (light/neutral/dark) | 3 entries | 3 .is-style-* selectors |
| Minimal | Fixed appearance (footer, nav, ticker) | absent | base tokens only |
Phase 0 — Generate
lando acorn acf:block {ClassName} --localize
Produces:
app/Blocks/{ClassName}.php— controller stub (localization-ready)resources/views/blocks/{slug}.blade.php— view stub
Phase 0b — Shared component inventory
Before writing the view, build a local registry of available shared components:
- Glob
resources/views/components/*.blade.php— list all component files - For each component:
a. Read its
@propsdeclaration → note prop names + defaults b. Grep forvar(--)patterns → note CSS variable names consumed - Build local registry:
{ "section-header": { props: ["eyebrow","title","align"] }, "eyebrow": { consumes: ["--eyebrow-color","--decorator-color"] }, "button": { consumes: ["--btn-bg","--btn-text"] } }
What ships with it
9 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.
- assets/block-atomic.php.tpl 2.1 KB
- assets/block-container.php.tpl 2.5 KB
- assets/block-view.blade.php.tpl 1.6 KB
- references/acf-composer-registration.md 4.7 KB
- references/block-json.md 4.3 KB
- references/edit-preview-parity.md 4.4 KB
- references/inner-blocks.md 4.4 KB
- references/variants.md 4.3 KB
- scripts/create-block.sh 512 B runs code
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.
- 12d ago First seen · 466 lines · 102 tokens per session scan A 8b18dbcc6328
superpowers-sage:block-scaffolding is a skill published in the GitHub repository hekivo/superpowers-sage (13 stars, last pushed 3mo ago), licensed MIT. It adds 102 tokens to every session and 4,253 once invoked, about $0.0005 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.
Other skills, from other repositories
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.
repro-admin
Reproduce an EmDash admin UI bug. Attach a container, start the demo dev server, drive the admin with agent-browser using the dev-bypass session, and capture the reproduction as screenshots plus a replayable transcript.
create-site
Creates a new Power Pages code site (SPA) using React, Angular, Vue, or Astro. Guides through the full process from initial concept to deployed site: requirements discovery, scaffolding, component planning, design, implementation, validation, and deployment. Use when the user wants to create, build, or scaffold a new…
prototype-web
A clickable, high-fidelity web product prototype with navigation, a hero section, feature cards, steps, social proof, and optional pricing. It is designed to resemble a finished landing page while remaining a prototype.
menu-transitions-rtl
Animate react-horizontal-scrolling-menu scrolling and build right-to-left menus: noPolyfill defaults to true since v8, so transitionDuration (default 500), a custom-easing-function transitionBehavior, and per-call ScrollOptions { duration, boundary } on scrollToItem/scrollNext/scrollPrev are silently ignored unless…
cwv-optimizer
Diagnose and fix Core Web Vitals issues on AEM Edge Delivery Services pages. Goes deeper than generic CWV advice by understanding EDS-specific performance patterns including the 100KB LCP budget, E-L-D loading phases, block rendering behavior, and third-party script impact. Produces specific fixes for LCP, CLS, and…