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 AdamBien/airails --skill web-conventionsgit clone --depth 1 https://github.com/AdamBien/airailsWrote 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/adambien/airails/web-conventions)<a href="https://agentmods.dev/skills/adambien/airails/web-conventions"><img src="https://agentmods.dev/badge/skills/adambien/airails/web-conventions/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/adambien/airails/web-conventions"><img src="https://agentmods.dev/badge/skills/adambien/airails/web-conventions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 1 finding, up to medium
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- medium Data Exfiltration · line 84 Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
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.00227 | $0.02122 |
| Opus 5.5 | $0.00091 | $0.00849 |
| Sonnet 5.5 | $0.00045 | $0.00424 |
| Haiku 4.5 | $0.00023 | $0.00212 |
Grade A, and why
web-conventions 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 — 105 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Apply all rules below strictly to any HTML and CSS you write, generate, or review.
Scope
- Platform-level rules for HTML and CSS only — semantics, accessibility, styling, theming, browser-support policy.
- JavaScript language-level rules — modules, syntax, functions, collections, asynchrony, errors, JSDoc types — are not in this skill; they are the sibling baseline
javascript-conventions, which applies the Baseline policy below to JavaScript syntax and APIs. - JavaScript policy (whether JavaScript is used at all), architecture, state management, routing, dependencies, project structure, and verification loops are not in this skill — see the context-specific skills
web-static(no-JavaScript static sites),web-sprinkles(static sites with bounded JavaScript enhancements), andweb-components(web component SPAs). - Responsive strategy (media queries vs container queries) is stack-specific — the composed skill decides.
- When a composed skill specifies a rule, the composed skill wins; this skill is the fallback baseline.
Guiding Principles
- web standards and web platform first
- minimal external dependencies — every dependency must justify its existence
- progressive enhancement over JavaScript-first design
HTML Rules
- semantic elements over generic
<div>/<span>— use<header>,<nav>,<main>,<article>,<section>,<aside>,<footer>,<figure>,<time>,<address> - one
<main>per page - proper heading hierarchy (h1 → h2 → h3, no skipping)
langattribute on<html>alton all images (emptyalt=""for decorative)aria-labelon<nav>when multiple navs exist<label>associated with every form input- skip link for keyboard users
- use
<a>for navigation, not buttons - use
<br>only for line breaks in content, never for spacing
Form Rules
- use the semantically correct input type —
email,url,tel,password,search,number,date,time,range,file,checkbox,radio— nevertype="text"plus JavaScript re-implementation; the type alone provides the right mobile keyboard, native widget, and built-in validation (all Widely Available) - exception:
<input type="color">is Baseline Limited — do not use it; fall back to a text input with apatternfor hex colors - declare constraints in markup:
required,pattern,min/max/step,minlength/maxlength— built-in validation is the first line of defense, JavaScript only for rules markup cannot express (Constraint Validation API is Widely Available) autocompleteon every field with a well-known meaning (name,email,street-address,current-password, …) — autofill is both UX and accessibilityinputmodeonly when no dedicated input type fits (Widely Available)placeholderis a hint, never a substitute for a<label>- group related controls with
<fieldset>/<legend> - give every
<button>inside a form an explicittype— the default issubmit, which makes stray buttons submit the form - style validation states with
:user-valid/:user-invalid(Widely Available since 2026-05), not:valid/:invalid— the:user-*pseudo-classes wait for user interaction instead of flagging pristine fields
What ships with it
3 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.
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 · 105 lines · 227 tokens per session scan A fed7c4b321d9
web-conventions is a skill published in the GitHub repository AdamBien/airails (76 stars, last pushed yesterday), licensed MIT. It adds 227 tokens to every session and 2,122 once invoked, about $0.0009 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-30.
web-conventions compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| web-conventionsAdamBien/airails | Skill | 76 | yesterday | MIT | A | 227 | Claude Code, Codex |
| anywhere-uianywhere-labs/Agents-Anywhere | Skill | 3.9k | yesterday | Apache-2.0 | A | 46 | Claude Code, Codex |
| authoring-java-sdk-tasksastronomer/agents | Skill | 465 | today | Apache-2.0 | A | 152 | Claude Code |
| configuring-airflow-language-sdksastronomer/agents | Skill | 465 | today | Apache-2.0 | A | 155 | Claude Code |
| design-context-extractyonatangross/orchestkit | Skill | 312 | today | MIT | A | 40 | Claude Code |
| figma-design-handoffyonatangross/orchestkit | Skill | 312 | today | MIT | A | 58 | Claude Code |
| ui-componentsyonatangross/orchestkit | Skill | 312 | today | MIT | A | 44 | Claude Code |