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.
npx skills add endorphin-ai/hasbrains-agent-kit --skill designer-frontend-contractgit clone --depth 1 https://github.com/endorphin-ai/hasbrains-agent-kitWrote 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/endorphin-ai/hasbrains-agent-kit/designer-frontend-contract)<a href="https://agentmods.dev/skills/endorphin-ai/hasbrains-agent-kit/designer-frontend-contract"><img src="https://agentmods.dev/badge/skills/endorphin-ai/hasbrains-agent-kit/designer-frontend-contract/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/endorphin-ai/hasbrains-agent-kit/designer-frontend-contract"><img src="https://agentmods.dev/badge/skills/endorphin-ai/hasbrains-agent-kit/designer-frontend-contract.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.00294 | $0.02749 |
| Opus 5 | $0.00147 | $0.01375 |
| Sonnet 5 | $0.00059 | $0.00550 |
| Haiku 4.5 | $0.00029 | $0.00275 |
Grade A, and why
designer-frontend-contract 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.
How it starts
The opening of the file, as written. The whole thing — 151 lines — stays where its author put it; the contents beside it link to each section on GitHub.
TASKLANG TYPE SKILL
IDENTITY "Designer ↔ Frontend Contract (universal — any stack)"
ONE skill = the WHOLE collaboration between the web designer and the frontend dev: what each side PRODUCES for the other, where the shared data is STORED, how they COMMUNICATE (paths + committed artifacts, never chat blobs), and how the CONTRACT between them is written and mechanically ENFORCED. The designer freezes the approved mockup into an ORACLE; the frontend PORTS it 1:1 and self-gates; the independent design-diff VERIFIES the running UI against the oracle and feeds the pipeline's verify gate. TECH-AGNOSTIC by construction: no framework, port, template language, or product fact lives here — those are read from
docs/project_config/info.md({config.frontend_runtime}+{config.spec_path}) at runtime. It exists because builds without this contract silently re-style, drop whole page regions, and ship broken UI that a green HTTP-200 smoke never catches.
This SKILL.md is a MAP. Detail lives in workflows/ (the three role playbooks) +
references/ (atomized notes) + maps/ (machine-readable nav). Read this file +
maps/index.json to orient, then open ONLY the workflow/note a task needs.
The three sides (who runs what)
| Side | Role | Playbook | Runs when |
|---|---|---|---|
| PRODUCER | the design owner (skill owner) | [[designer-handoff]] | An approved mockup must become a build target: freeze → manifest → inventory → token parity → acceptance contract. |
| CONSUMER | the frontend owner | [[frontend-port]] | Building a page from a frozen oracle: consume the contract → port 1:1 → self-gate census→DOM→pixel → report + KB write-back. |
| VERIFIER | the design owner + whoever runs the verify gate | [[design-diff]] | Independently verifying built pages against the oracle (pipeline verify gate, fan-out audit finder, or ad-hoc). |
Top Rules / Invariants (headlines — detail in references)
What ships with it
14 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.
- FORMAT.md 6.8 KB
- maps/index.json 5.6 KB
- maps/links.json 793 B
- maps/manifest.json 1.3 KB
- maps/tags.json 949 B
- README.md 1.5 KB
- references/baseline-and-oracle.md 5.7 KB
- references/contract-and-communication.md 12 KB
- references/fidelity-checks.md 7.5 KB
- references/region-census.md 5.4 KB
- VOICE.md 2.5 KB
- workflows/design-diff.md 6.4 KB
- workflows/designer-handoff.md 6.9 KB
- workflows/frontend-port.md 8.2 KB
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.
- 10d ago First seen · 151 lines · 294 tokens per session scan A 842086e98865
designer-frontend-contract is a skill published in the GitHub repository endorphin-ai/hasbrains-agent-kit (4 stars, last pushed today), licensed MIT. It adds 294 tokens to every session and 2,749 once invoked, about $0.0015 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.
Other skills, from other repositories
icon-forge
Generate brand icons as SVG and produce all platform assets including favicon package (ICO, SVG with dark mode, apple-touch-icon), PWA manifest icons, and mobile app icons. Use when user runs /icon-forge, requests "brand icon", "favicon generation", "app icon", or "svg logo" for a project.
prototype
Rapid UI prototyping — generates 3 visually distinct HTML/CSS components from a text prompt and serves them in a live browser gallery. Use when user runs /prototype, asks to "prototype a UI", "mock up a component", "generate HTML mockups", "create UI variations", "design exploration", "quick UI concept", or wants to…
design-intent-specialist
Creates accurate frontend implementations from visual references while maintaining design consistency. Use when user provides Figma URLs, screenshots, design images, requests visual implementation from reference, or asks to build UI matching a design. Automatically checks existing design intent patterns before…
html-artifacts
Author the HTML for a plan artifact, dashboard iframe, or Slack attachment — structure, design plan, available runtime, theming, and craft. Read this before writing HTML for saveplan, outputiframe, or slackattachhtml.
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…
information-architecture
Design the structure of a website or product including sitemap, navigation, URL structure, content types, taxonomy, and labeling. Use this skill whenever the user asks to plan a sitemap, design navigation, structure URLs, define content types, build taxonomies, design site search, or organize content at the system…