site-templates

site-templates is a skill for Claude Code, Codex from ImYourBoyRoy/Portable_Web_toolkit. It costs 78 tokens per session (806 once invoked), scanned A, original, MIT.

A template installer for Astro websites hosted with Cloudflare. It copies ready-made site parts such as layouts, navigation, analytics consent, contact forms, styles, and fonts into a project.

In plain words
What is it for?
Use it when starting a site or adding a header, footer, mobile menu, breadcrumbs, consent banner, analytics, contact form, or shared styling.
Why use it?
It removes the need to hand-build common site foundations and helps place files and imports in the expected locations. It also provides a form-checking step for installed forms.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is node ./Web_Toolkit/site_templates/bin/site-templates.mjs list # names, one line each.

Part of the portable-web-toolkit plugin — 16 skills shipped together

Good fit Use it when starting a site or adding a header, footer, mobile menu, breadcrumbs, consent banner, analytics, contact form, or shared styling.

Compare 6 skills from other repositories ↓
Install

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.

Clone the repo
git clone --depth 1 https://github.com/ImYourBoyRoy/Portable_Web_toolkit
agentmods
npx agentmods add skills/imyourboyroy/portable_web_toolkit/site-templates

Made for: Claude Code, Codex.

Or install portable-web-toolkit, the plugin that ships this one along with the rest of its 16 skills.

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 site-templates

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/imyourboyroy/portable_web_toolkit/site-templates"><img src="https://agentmods.dev/badge/skills/imyourboyroy/portable_web_toolkit/site-templates.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 78 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 806 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.00078 $0.00806
Opus 5.5 $0.00031 $0.00322
Sonnet 5.5 $0.00016 $0.00161
Haiku 4.5 $0.00008 $0.00081

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

Security

Grade A, and why

site-templates 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 16d 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.

skills/site-templates/SKILL.md · 46 lines

How it starts

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

Site Templates

Do not hand-write what a template already provides. One command copies files to the right places, adds CSS imports in valid order, installs prerequisites first, and prints the follow-up steps.

node ./Web_Toolkit/site_templates/bin/site-templates.mjs list                       # names, one line each
node ./Web_Toolkit/site_templates/bin/site-templates.mjs show layout                # what it installs/needs, README outline (~150 tokens)
node ./Web_Toolkit/site_templates/bin/site-templates.mjs show layout --section props   # one README section only
node ./Web_Toolkit/site_templates/bin/site-templates.mjs add layout analytics contact styles fonts --project-root .          # dry run
node ./Web_Toolkit/site_templates/bin/site-templates.mjs add layout analytics contact styles fonts --project-root . --apply

Choose

Need Template
Page head/SEO, header with mobile menu, footer, breadcrumbs, skip link layout
Consent banner (default off), GA4 / PostHog / Cloudflare Web Analytics after consent analytics
Contact form: honeypot, rate limit, optional Turnstile, Workers send_email, draft + mailto fallback contact
Long multi-section intake form with a strict field allowlist contact-intake (on top of contact)
Buttons, cards, hero, forms, prose on theme tokens styles
Self-hosted fonts and preload fonts
Theme tokens, five themes theme (via site-theme apply)

add pulls in prerequisites itself (theme, base, discovery). Install only what the site needs: contact-intake is separate so a plain contact form carries no intake code.

Workflow

  1. show <name> for any template you will wire by hand; read one README section with --section, never the whole README.
  2. Dry run, read the plan, then --apply. It never overwrites a changed file (--force does); edited data files (site.json, nav.json, contact.json) are kept.
  3. Edit the copied data files, wire components as printed under next, run site-theme apply paper ink for tokens.
  4. Build: <pm> run check then <pm> run build; then stylesheet-check scan --root ., discovery-doctor on dist/, and the wcag-auditor gate.
  5. Forms: node ./Web_Toolkit/form_doctor/bin/form-doctor.mjs scan --project-root . (read-only), then run --spawn after a build. It probes a local Worker with a broken mail binding and fails a form that says "sent" when nothing was delivered.

Read the full file on GitHub · 46 lines

Files

What ships with it

2 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. 16d ago First seen · 46 lines · 78 tokens per session scan A 724dd7c13530

Subscribe to this mod's changes

site-templates is a skill published in the GitHub repository ImYourBoyRoy/Portable_Web_toolkit (2 stars, last pushed 16d ago), licensed MIT. It adds 78 tokens to every session and 806 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-11-17.

Related

site-templates compared with skills from other repositories

site-templates next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
site-templatesImYourBoyRoy/Portable_Web_toolkitSkill216d agoMITA78Claude Code, Codex
cloudflare-onecloudflare/skillsSkill3.6ktodayApache-2.0A63Claude Code
agents-sdkcloudflare/skillsSkill3.6ktodayApache-2.0A19Claude Code
cloudflare-one-migrationscloudflare/skillsSkill3.6ktodayApache-2.0A36Claude Code
sandbox-migrate-to-nextcloudflare/skillsSkill3.6ktodayApache-2.0A45Claude Code
sandbox-stablecloudflare/skillsSkill3.6ktodayApache-2.0A39Claude Code
durable-objectscloudflare/skillsSkill3.6ktodayApache-2.0A22Claude Code