modern-web-guidance

modern-web-guidance is a skill for Claude Code, Codex from cloakyard/cloakpdf. It costs 210 tokens per session (2,305 once invoked), scanned A, a copy of modern-web-guidance, MIT.

A search tool for finding current recommended practices for web platform features, CSS, and browser-side JavaScript. It is meant to be consulted before implementing or changing web interfaces.

In plain words
What is it for?
It is for researching implementation details such as dialogs, popovers, tables, dark mode, layout features, accessibility, sanitisation, dates, and performance.
Why use it?
Web standards and browser APIs change, so it reduces the risk of using outdated patterns or adding unnecessary dependencies.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions CLAUDE.md; mentions Claude Code; installed under .agents/ (shared by several agents).

Good fit It is for researching implementation details such as dialogs, popovers, tables, dark mode, layout features, accessibility, sanitisation, dates, and performance.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cloakyard/cloakpdf/modern-web-guidance
Install

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.

Any agent
npx skills add cloakyard/cloakpdf --skill modern-web-guidance
Clone the repo
git clone --depth 1 https://github.com/cloakyard/cloakpdf

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for modern-web-guidance

README.md
[![agentmods](https://agentmods.dev/badge/skills/cloakyard/cloakpdf/modern-web-guidance/github.svg)](https://agentmods.dev/skills/cloakyard/cloakpdf/modern-web-guidance)
Your own site
<a href="https://agentmods.dev/skills/cloakyard/cloakpdf/modern-web-guidance"><img src="https://agentmods.dev/badge/skills/cloakyard/cloakpdf/modern-web-guidance/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.

agentmods 80×15 button for modern-web-guidance

Your own site · 80×15
<a href="https://agentmods.dev/skills/cloakyard/cloakpdf/modern-web-guidance"><img src="https://agentmods.dev/badge/skills/cloakyard/cloakpdf/modern-web-guidance.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 210 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,305 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00210 $0.02305
Opus 5.5 $0.00084 $0.00922
Sonnet 5.5 $0.00042 $0.00461
Haiku 4.5 $0.00021 $0.00231

Measured 14d ago against content hash 37d68a514c25, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

modern-web-guidance 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 14d 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.

Origin

This is a copy

100% identical to modern-web-guidance — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.agents/skills/modern-web-guidance/SKILL.md · 91 lines

How it starts

The opening of the file, as written. The whole thing — 91 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Modern Web Guidance

Search and retrieve standardized modern web best practices at the start of implementing or updating any web UI, CSS layout/animation, or client-side JS logic (dates/timezones, sanitization, performance, accessibility, UX fixes) before writing ad-hoc solutions or adding dependencies.

Primary Workflow

Step 1. Search Use Cases

Run modern-web-guidance directly with npx using a 2–5 word action-oriented query for a single web platform capability or UI pattern:

  • Keep queries focused and generic: Describe the user-visible capability (<verb> + <UI/platform object>, optionally paired with the target HTML/CSS/JS feature name if known). Omit framework/library names (React, Vue, Tailwind, etc.) and app/domain nouns (product, route, or component/file names). Split multi-feature tasks into separate search calls.
  • Name implied UI primitives: When the user's prompt expresses intent without naming the UI primitive (e.g. "confirm first", "delete with confirmation", "pick a date"), translate the domain intent into the implied UI component or platform mechanism (e.g. search "confirmation modal dialog" or "confirm dialog" rather than "confirm destructive action", or "date picker input" rather than "pick a date").
  • Example: Search "light dismiss dialog" or "responsive data table", not "dialog" (too terse), "responsive table dark mode" (compound — split into two searches), or "close React settings modal on outside click" (framework/app noise).
npx -y modern-web-guidance@latest search "<query>" --skill-version 2026_11_09-5bcc021b

Note: Returns [{ "id", "description" }, ...]. Judge results by their description fields:

  • Match found: Call retrieve directly—do not also run list.
  • Weak or empty results: If search returns [] or unrelated descriptions, rephrase search once using the concrete HTML/CSS/UI component noun or synonym (e.g., dialog, modal, popover, table, form) before falling back to list (or use list once for broad UI audits).
  • Topic not covered: If no description matches after rephrasing, proceed without retrieving unrelated guides.

Read the full file on GitHub · 91 lines

Files

What ships with it

60 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.

Changes

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.

  1. 14d ago First seen · 91 lines · 210 tokens per session scan A 37d68a514c25

Subscribe to this mod's changes

modern-web-guidance is a skill published in the GitHub repository cloakyard/cloakpdf (16 stars, last pushed 6d ago), licensed MIT. It adds 210 tokens to every session and 2,305 once invoked, about $0.0008 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to modern-web-guidance, differing in 0 lines, and is treated as a copy.

Related

modern-web-guidance compared with skills from other repositories

modern-web-guidance next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
modern-web-guidancecloakyard/cloakpdfSkill166d agoMITA210Claude Code, Codex
walkeros-create-sourceelbwalker/walkerOSSkill3544d agoMITA65Claude Code
walkeros-understanding-sourceselbwalker/walkerOSSkill3544d agoMITA37Claude Code
exploring-autocapture-eventsPostHog/posthogSkill41ktodaynoneA127Claude Code, Codex
styling-sidebar-productsPostHog/posthogSkill41ktodaynoneA137Claude Code, Codex
building-the-toolbarPostHog/posthogSkill41ktodaynoneA178Claude Code, Codex
building-html-canvasesPostHog/posthogSkill41ktodaynoneA99Claude Code, Codex