Age Gate Lint — UK Online Safety Act

8 rules for Ofcom's highly effective age assurance duty, in force since 25 July 2025, where the penalty ceiling is £18m (£18 million) or 10% of qualifying worldwide revenue. One sample vape storefront page returned 13 findings, 10 of them high severity.
Install
npx @readystack/age-gate-lint file
Node 18+. The same 8 rules as the VS Code extension, from a terminal or CI.
Free
- Reads the HTML file you have open and names every weak point in its age gate — all 8 rules, line numbers, Ofcom clause, severity — no key asked.
--rules lists every rule
With a licence ($29 once)
- Runs the same 8 rules across every HTML file in the workspace in one pass and writes a dated evidence report you keep and can hand to a client or to Ofcom.
@readystack/age-gate-lint --dir ./templates --report html --out report.html
A freelance web developer bills about $60/hour; a manual pass over one storefront's gate plus the written note is roughly half a day, near $240.
Use from an AI agent (MCP)
Claude Code · Cursor · Windsurf · any MCP client - add to your MCP config:
{ "mcpServers": { "age-gate-lint": { "command": "npx", "args": ["-y", "@readystack/age-gate-lint", "--mcp"] } } }
Tools: check_text and check_file (free) · check_dir (licence). The agent gets every finding with the line number.
Use in CI
- name: Age Gate Lint — UK Online Safety Act
run: npx -y @readystack/age-gate-lint --dir . --ci
(container: docker run --rm -v "$PWD:/work" getreadystack/age-gate-lint --dir /work --ci)
The folder sweep, reports and CI mode need one licence — one payment, no subscription. Set READYSTACK_LICENSE=<key> or run --license <key> once.
Get a licence