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/Morningstar202604/awesome-skillkitnpx agentmods add skills/morningstar202604/awesome-skillkit/layout-spec-auditorWrote 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/morningstar202604/awesome-skillkit/layout-spec-auditor)<a href="https://agentmods.dev/skills/morningstar202604/awesome-skillkit/layout-spec-auditor"><img src="https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/layout-spec-auditor/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/morningstar202604/awesome-skillkit/layout-spec-auditor"><img src="https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/layout-spec-auditor.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.00119 | $0.02327 |
| Opus 5.5 | $0.00048 | $0.00931 |
| Sonnet 5.5 | $0.00024 | $0.00465 |
| Haiku 4.5 | $0.00012 | $0.00233 |
Grade A, and why
layout-spec-auditor 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 2mo 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 — 178 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Layout Spec Auditor
Chain gatekeeper. After the image is generated, it passes three gates before delivery: is the ratio right, is resolution enough, is text safe. The canvas agreed at the spec stage—off by 1% at delivery means rework.
Domain Tacit Knowledge (Four Things to Know Before Auditing)
1. Safe-area numbers come from measured platform UI positions, not empirical mysticism. This skill's "8% on all sides / 15% bottom" corresponds to measured fact: Douyin and Bilibili covers overlay duration labels in the lower-left, vertical platforms have progress bars and interaction buttons at bottom, Xiaohongshu/Douyin feed cards have rounded-corner cropping—text or subject landing in these areas gets covered by UI, not "slightly cropped". Different platforms' overlay positions differ, so look up by platform, don't apply universal values.
2. Contrast isn't an aesthetic issue, it's a compliance issue. WCAG 2.x quantitative floor: body text vs background 4.5:1 (AA), large text and UI components 3:1, AAA 7:1. This isn't editorial preference—WebAIM's million-page annual scans show for years running, insufficient contrast is the #1 web accessibility violation (about 80% of home pages hit in recent scans). Same for text burned into images: on-image title vs background contrast below 4.5:1 is unreadable in bright-screen/thumbnail size; audit records it as "compliance failure", not "style suggestion".
3. Color-vision redundancy: about 8% of men have color-vision deficiency. Color blindness isn't rare (US National Eye Institute epidemiology: about 8% of men, about 0.5% of women); red-green contrast is the most common failure combo. If the image has information encoded only by color (status, category, before/ after comparison), add one audit check: is the information still distinguishable after grayscale (desaturate the screenshot and glance, costs 10 seconds). "Pass/fail" markers coded only by red/green are recorded as fail.
4. The squint test is structural check, not aesthetic judgment. This skill doesn't judge aesthetics (that's design critique's job), but "is the first-glance landing the subject" is a structural problem: shrink the image to thumb size (or squint blur), if the first place the eye lands isn't the subject specified in the spec, hierarchy failed—this directly corresponds to Gestalt contrast principle and the universal squint test, is judgeable, and therefore belongs in spec audit scope.
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.
- 2mo ago Changed · +60 lines · -9 tokens per session decb6944a2a3
- 2mo ago Changed · +15 lines 3a561e212231
- 2mo ago First seen · 103 lines · 128 tokens per session scan A e0817a47986f
layout-spec-auditor is a skill published in the GitHub repository Morningstar202604/awesome-skillkit (0 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 119 tokens to every session and 2,327 once invoked, about $0.0005 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-09-19.
layout-spec-auditor compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| layout-spec-auditorMorningstar202604/awesome-skillkit | Skill | 0 | 2mo ago | Apache-2.0 | A | 119 | Claude Code, Codex |
| anatomyNousResearch/hermes-agent | Skill | 267k | today | MIT | A | 15 | Claude Code, Codex |
| ip-as-logoNousResearch/hermes-agent | Skill | 267k | today | MIT | A | 16 | Claude Code, Codex |
| archifyNousResearch/hermes-agent | Skill | 267k | today | MIT | A | 12 | Claude Code, Codex |
| html-artifactslangchain-ai/open-swe | Skill | 11k | today | MIT | A | 52 | Claude Code, Codex |
| show-mehumanlayer/humanlayer | Skill | 13k | 7d ago | Apache-2.0 | A | 25 | Claude Code |
| anywhere-uianywhere-labs/Agents-Anywhere | Skill | 3.9k | yesterday | Apache-2.0 | A | 46 | Claude Code, Codex |