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.5 | $0.00118 | $0.01100 |
| Sonnet 5.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 3mo 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.
- 3mo 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 (9 stars, last pushed 1mo ago), licensed MIT. It adds 294 tokens to every session and 2,749 once invoked, about $0.0012 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-08-31.
designer-frontend-contract compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| designer-frontend-contractendorphin-ai/hasbrains-agent-kit | Skill | 9 | 1mo ago | MIT | A | 294 | Claude Code |
| icon-forgejoaquimscosta/arkhe-claude-plugins | Skill | 24 | 1mo ago | MIT | A | 70 | Claude Code |
| prototypejoaquimscosta/arkhe-claude-plugins | Skill | 24 | 1mo ago | MIT | A | 118 | Claude Code |
| design-reviewjoaquimscosta/arkhe-claude-plugins | Skill | 24 | 1mo ago | MIT | A | 80 | Claude Code |
| diagrammingjoaquimscosta/arkhe-claude-plugins | Skill | 24 | 1mo ago | MIT | A | 69 | Claude Code, Codex |
| generating-stitch-screensjoaquimscosta/arkhe-claude-plugins | Skill | 24 | 1mo ago | MIT | A | 91 | Claude Code, Codex |
| authoring-stitch-promptsjoaquimscosta/arkhe-claude-plugins | Skill | 24 | 1mo ago | MIT | A | 96 | Claude Code, Codex |