html-tool-generator

html-tool-generator is a skill for Claude Code, Codex from EnkrateiaLucca/skills. It costs 35 tokens per session (3,896 once invoked), scanned B, original, MIT.

A guide for creating browser-based utilities as one self-contained HTML file using plain JavaScript. The tools can use libraries loaded from a content delivery network, a service that hosts files for browsers.

In plain words
What is it for?
Use it to build client-side converters and data processors, API playgrounds, offline utilities, and browser tools that store API keys locally.
Why use it?
It avoids a build system, server, or front-end framework, making small tools easy to open, share, and run directly in a browser.

Skill for Claude CodeCodex

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

Good fit Use it to build client-side converters and data processors, API playgrounds, offline utilities, and browser tools that store API keys locally.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/enkrateialucca/skills/html-tool-generator
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 EnkrateiaLucca/skills --skill html-tool-generator
Clone the repo
git clone --depth 1 https://github.com/EnkrateiaLucca/skills

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 html-tool-generator

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/enkrateialucca/skills/html-tool-generator"><img src="https://agentmods.dev/badge/skills/enkrateialucca/skills/html-tool-generator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,896 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 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.00035 $0.03896
Opus 5 $0.00017 $0.01948
Sonnet 5 $0.00007 $0.00779
Haiku 4.5 $0.00003 $0.00390

Measured 9d ago against content hash b3f4a45b608d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade B, and why

html-tool-generator scanned grade B with 2 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 9d 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.

Sends data to an external URLmediumData exfiltration

A POST to an outside endpoint may be telemetry or may be exfiltration; either way the mod talks to somewhere, and you should know where.

const response = await fetch('https://api.anthropic.com/v1/messages', { method: 'POST',

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

const response = await fetch(url, options);
skills/html-tool-generator/SKILL.md · 649 lines

How it starts

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

Single-File HTML Tool Generator

Generate self-contained HTML tools that work entirely in the browser. Based on Simon Willison's patterns for building useful utilities without servers, build steps, or frameworks.

When to Use This Skill

Use this skill when the user requests:

  • Building a single-file HTML utility or tool
  • Creating a browser-based tool that uses an API
  • Making a client-side data processor or converter
  • Building a tool that should work offline or without a server
  • Creating utilities for LLM API testing/interaction

Trigger phrases: "create an HTML tool", "build a single-file tool", "make a browser utility", "create a client-side tool", "build an API playground"

Core Principles

1. Single File, No Build Steps

  • Everything in one HTML file: HTML, CSS, and JavaScript
  • Never use React, Vue, or anything requiring compilation
  • No JSX, no TypeScript, no bundlers
  • Vanilla JavaScript only

2. CDN Dependencies Only

  • Load libraries from cdnjs, jsDelivr, or unpkg
  • Always use versioned URLs for stability
  • Common libraries:
    • marked for Markdown rendering
    • highlight.js for syntax highlighting
    • pdf.js for PDF handling
    • Tesseract.js for OCR
    • Pyodide for Python execution

3. API Keys in localStorage (NEVER in HTML)

  • Prompt user for API keys on first use
  • Store in localStorage immediately
  • Never send keys to any server
  • Provide a way to clear/reset stored keys

4. State Management

  • URL hash/params for shareable state (configs, settings)
  • localStorage for user data (drafts, preferences)
  • No server-side storage needed

Template Structure

Every HTML tool follows this anatomy:

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Tool Name</title>
    <style>
        /* All CSS inline - no external stylesheets */
    </style>
</head>
<body>
    <!-- Tool UI -->

    <script>
        /* All JavaScript inline - no external scripts except CDN libs */
    </script>
</body>
</html>

Read the full file on GitHub · 649 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. 9d ago First seen · 649 lines · 35 tokens per session scan B b3f4a45b608d

Subscribe to this mod's changes

html-tool-generator is a skill published in the GitHub repository EnkrateiaLucca/skills (3 stars, last pushed 3mo ago), licensed MIT. It adds 35 tokens to every session and 3,896 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it B with 2 findings (sends data to an external url, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

frontend-design

Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.

anthropics/claude-plugins-official · 40 tokens

ima-dai-sdk

Integrates the Google Interactive Media Ads (IMA) Dynamic Ad Insertion (DAI) SDK into websites, web apps, mobile apps, or TV apps. Use when: - A video player needs to load and play HLS or DASH streams in web apps, Android apps, iOS apps, tvOS apps, Cast (CAF) receivers, or Roku channels. - The app needs to make use of…

google/skills · 125 tokens

migrate-xml-views-to-jetpack-compose

Provides a structured workflow for migrating an Android XML View to Jetpack Compose. This skill details the step-by-step process, from planning and dependency setup, to theming and layout migration, validation and XML cleanup. Use this skill when you need to migrate an XML View to Jetpack Compose in an Android…

android/skills · 98 tokens

baseline-ui

Quickly deslop UI code by fixing spacing, hierarchy, typography, and small layout issues. Use when the interface needs a fast cleanup or polish pass.

ibelick/ui-skills · 34 tokens

gpt-image-2

A skill for generating or editing images with GPT Image 2 across local, host-provided, or advisory setups.

ConardLi/garden-skills · 177 tokens

accessibility

Audit and improve web accessibility following WCAG 2.2 guidelines. Use when asked to "improve accessibility", "a11y audit", "WCAG compliance", "screen reader support", "keyboard navigation", or "make accessible".

addyosmani/web-quality-skills · 51 tokens