writing-web

writing-web is a skill for Claude Code, Codex from alexei-led/cc-thingz. It costs 63 tokens per session (478 once invoked), scanned A, original, MIT.

Guidance for building simple websites with HTML, CSS, JavaScript, and HTMX, a tool for adding server-driven interactions to HTML pages.

In plain words
What is it for?
Use it to change web pages, stylesheets, server-rendered templates, forms, layouts, and small browser interactions without using a frontend framework.
Why use it?
It helps keep pages semantic, responsive, accessible, and safe while fitting the project's existing templates and asset setup.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to change web pages, stylesheets, server-rendered templates, forms, layouts, and small browser interactions without using a frontend framework.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/alexei-led/cc-thingz/writing-web
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 alexei-led/cc-thingz --skill writing-web
Clone the repo
git clone --depth 1 https://github.com/alexei-led/cc-thingz

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 writing-web

README.md
[![agentmods](https://agentmods.dev/badge/skills/alexei-led/cc-thingz/writing-web/github.svg)](https://agentmods.dev/skills/alexei-led/cc-thingz/writing-web)
Your own site
<a href="https://agentmods.dev/skills/alexei-led/cc-thingz/writing-web"><img src="https://agentmods.dev/badge/skills/alexei-led/cc-thingz/writing-web/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 writing-web

Your own site · 80×15
<a href="https://agentmods.dev/skills/alexei-led/cc-thingz/writing-web"><img src="https://agentmods.dev/badge/skills/alexei-led/cc-thingz/writing-web.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 478 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 original No closer match found 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.00063 $0.00478
Opus 5.5 $0.00025 $0.00191
Sonnet 5.5 $0.00013 $0.00096
Haiku 4.5 $0.00006 $0.00048

Measured 2mo ago against content hash 26870cf7c224, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

writing-web 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.

src/skills/writing-web/SKILL.md · 37 lines

What it actually says

Web Development

Follow the existing template language, asset pipeline, and conventions. Add a dependency, build step, or framework only when the project already uses it or the user approves; requests that need a SPA framework belong to writing-typescript.

HTML and CSS

  • Semantic HTML first; HTMX or JS only where native behavior falls short. button for actions, a for navigation, details/summary and dialog before custom widgets.
  • Label every control; group with fieldset/legend; use native input types, validation, and autocomplete. Add ARIA only when HTML cannot express the state.
  • Mobile-first, fluid CSS: gap, logical properties, rem/clamp. Design tokens in custom properties; one-off values stay local.
  • :focus-visible styles, and animations respect prefers-reduced-motion. !important only at integration boundaries.

HTMX

  • Use HTMX when the server owns the state or the fragment. Set explicit hx-target and hx-swap, and return fragments shaped for that target.
  • Keep the form's action and method so it still works without JS.
  • Send CSRF and auth headers through the project's existing mechanism.
  • Request not firing: check trigger, target, swap, response status, and CSRF/auth headers before adding a JS fallback.

JavaScript

  • Small scoped modules, event delegation for dynamic content, no new globals.
  • Render untrusted data with textContent, never innerHTML, unless the project sanitizer marks it trusted.
  • Clean up timers, observers, and listeners on elements that can be swapped out.

Checks

UI changes need a look at mobile and desktop widths and keyboard navigation. Use browser-automation for rendered checks, screenshots, and interaction tests.

Done when the relevant build/test/lint checks pass on what you changed, or you name each check that did not run and why.

Files

What ships with it

1 file 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. 2mo ago Changed · -21 lines 26870cf7c224
  2. 3mo ago First seen · 58 lines · 63 tokens per session scan A f691bb9e2bef

Subscribe to this mod's changes

writing-web is a skill published in the GitHub repository alexei-led/cc-thingz (37 stars, last pushed yesterday), licensed MIT. It adds 63 tokens to every session and 478 once invoked, about $0.0003 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.

Related

writing-web compared with skills from other repositories

writing-web next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
writing-webalexei-led/cc-thingzSkill37yesterdayMITA63Claude Code, Codex
generic-static-code-reviewertravisjneuman/.claudeSkill115yesterdayMITA59Claude Code
ring:validating-ux-completenessLerianStudio/ringSkill2181mo agoApache-2.0A113Cursor
frontend-code-reviewyunseo-kim/agent-toolboxSkill1todaynoneA42Claude Code, Codex
find-simplificationsQwenLM/qwen-codeSkill31ktodayApache-2.0C103Claude Code, Codex
aoe-sandbox-boundaryagent-of-empires/agent-of-empiresSkill5.2ktodayMITA85Claude Code, Codex
swarm-pr-reviewZaxbyHub/opencode-swarmSkill549todayMITA91Claude Code