Agent skill

Agent HTML

by Sayhi-bzb in Sayhi-bzb/Agent-HTML

A skill your agent uses when editing AgentHTML artifacts, agent-html files, Gallery Preview DSL, blocks, components, sections, prompt schema, or runtime-rendered artifact content.

Apache-2.0Auto-check passedFrontend & Design

Install Agent HTML

skills CLI
$ npx skills add Sayhi-bzb/Agent-HTML --skill agent-html -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Sayhi-bzb/Agent-HTML agent-html --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Sayhi-bzb/Agent-HTML.git skills-src && mkdir -p .claude/skills && cp -r skills-src/_archive/.agents/skills/agent-html .claude/skills/agent-html && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
agent-html
GitHub stars
541
Token cost
~523 tokens
SKILL.md length
195 words
Files
7 (incl. scripts, references)
Skills in repo
1
Repo updated
First seen
Licence
Apache-2.0

At a glance

A skill your agent uses when editing AgentHTML artifacts, agent-html files, Gallery Preview DSL, blocks, components, sections, prompt schema, or runtime-rendered artifact content.

  • Works in 5 steps: Read… → Reuse the closest valid fixture pattern… → Stay within the currently supported… → …
  • Editing AgentHTML artifacts
  • SKILL.md covers Workflow, Rules, References and Scripts
  • Runs Python scripts from its folder

What it does

Agent HTML is an agent skill from Sayhi-bzb/Agent-HTML. Use when editing AgentHTML artifacts, agent-html files, Gallery Preview DSL, blocks, components, sections, prompt schema, or runtime-rendered artifact content. Before editing AgentHTML content, read .agents/skills/agent-html/references/prompt-schema.md for the current DSL contract and enabled component grammar.

Its SKILL.md is about 520 tokens, which your agent loads only when the skill is triggered. The skill folder holds 9 other files, including scripts and reference files (for example `agents/openai.yaml`, `references/examples.md` and `references/icons.md`).

It sits in Frontend & Design. It works with shadcn/ui. The repository describes itself as: You don't need a chat ui but a canvas with ai. The licence is Apache-2.0.

When your agent uses it

  • Editing AgentHTML artifacts
  • Agent-html files
  • Gallery Preview DSL
  • Runtime-rendered artifact content

Example prompts

  • “/agent-html”

Requirements

  • Python 3

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Read .agents/skills/agent-html/references/prompt-schema.md for the supported tags, attrs, defaults, and forbidden constructs.
  2. Reuse the closest valid fixture pattern from .agents/skills/agent-html/references/examples.md before inventing new structure.
  3. Stay within the currently supported runtime tags unless the user explicitly wants a future-target draft.
  4. When an icon is needed, run .agents/skills/agent-html/scripts/search_icons.py "" instead of guessing names.
  5. In an AgentHTML workspace, edit user-facing artifacts at projects/{project-id}/{section-id}/artifact.agent-html.

What it can do on your machine

Read from SKILL.md and the folder at commit 05a16a9. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Agent HTML loads about 523 tokens when it runs, and up to ~8.7k if it reads all its reference files. Until then it costs about 81 tokens; SKILL.md has 195 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~81
When it runs · the whole SKILL.md, loaded when a task matches
~523
With references · SKILL.md plus every file in references/, read only if the agent opens them
~8.7k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from Sayhi-bzb/Agent-HTML at commit 05a16a9, republished under its Apache-2.0 licence (© Sayhi-bzb). 195 words, ~523 tokens.

Download SKILL.mdSave it as .claude/skills/agent-html/SKILL.md (or your agent's skills folder). This skill also uses 6 other files; get the full folder from GitHub.
name
agent-html
description
Use when editing AgentHTML artifacts, agent-html files, Gallery Preview DSL, blocks, components, sections, prompt schema, or runtime-rendered artifact content. Before editing AgentHTML content, read `.agents/skills/agent-html/references/prompt-schema.md` for the current DSL contract and enabled component grammar.

agent-html

Write agent-html DSL, not JSX or HTML.

Workflow

  1. Read .agents/skills/agent-html/references/prompt-schema.md for the supported tags, attrs, defaults, and forbidden constructs.
  2. Reuse the closest valid fixture pattern from .agents/skills/agent-html/references/examples.md before inventing new structure.
  3. Stay within the currently supported runtime tags unless the user explicitly wants a future-target draft.
  4. When an icon is needed, run .agents/skills/agent-html/scripts/search_icons.py "<query>" instead of guessing names.
  5. In an AgentHTML workspace, edit user-facing artifacts at projects/{project-id}/{section-id}/artifact.agent-html.

Rules

  • Output only agent-html DSL.
  • Use PascalCase tags.
  • Root must be <Cell>.
  • Use quoted scalar attrs like columns="2" or value="82".
  • Do not use class, className, style, imports, hooks, JS expressions, or raw HTML tags.
  • Do not invent tags or attrs not present in the grammar reference.
  • Do not put bare text directly under Cell, Block, Stack, Cluster, or Grid.
  • Do not put UI directly under Cell or layout nodes; wrap UI in Block, then arrange blocks with layout.

References

  • Runtime contract and prompt schema: .agents/skills/agent-html/references/prompt-schema.md
  • Valid and invalid fixture patterns: .agents/skills/agent-html/references/examples.md
  • Icon lookup notes: .agents/skills/agent-html/references/icons.md

.agents/skills/agent-html/references/prompt-schema.md is the runtime contract surface. In an AgentHTML workspace, the app rewrites it from the current enabled component set.

Scripts

  • Search Lucide icon names: .agents/skills/agent-html/scripts/search_icons.py "<query>"

© Sayhi-bzb, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 6 other files (scripts, references) in _archive/.agents/skills/agent-html of Sayhi-bzb/Agent-HTML.

  • SKILL.md
  • agents/openai.yaml
  • references/examples.md
  • references/icon-names.txt
  • references/icons.md
  • references/prompt-schema.md
  • scripts/search_icons.py

Open the folder on GitHubat commit 05a16a9

Compare with similar skills

Agent HTML next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Agent HTML compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Agent HTML this skillSayhi-bzb/Agent-HTML541—~523Automated safety check: PassApache-2.0
Web Artifacts Builderanthropics/skills180k41 repos~769Automated safety check: PassApache-2.0
UI StylingOhh-889/skyroc79513 repos~2.5kAutomated safety check: PassMIT
Shadcnsupabase/evals14342 repos~4.5kAutomated safety check: PassApache-2.0
Integrating shadcn/ui Componentsgoogle-labs-code/stitch-skills8.4k4 repos~2.3kAutomated safety check: NotesApache-2.0
UI UX Pro Maxsaoudi-h/solar-icons18618 repos~11kAutomated safety check: NotesCustom licence

Similar skills

  • Web Artifacts Builder

    anthropics/skills

    Official

    Builds multi-component claude.ai HTML artifacts as a small React, TypeScript and Tailwind project, then bundles it into one shareable HTML file.

    180k GitHub starsUsed in 41 repos~769 tokens
    Frontend & DesignAuto-check passed
  • UI Styling

    Ohh-889/skyroc

    Create beautiful, accessible user interfaces with shadcn/ui components (built on Radix UI + Tailwind), Tailwind CSS utility-first styling, and canvas-based visual designs.

    795 GitHub starsUsed in 13 repos~2.5k tokens
    Frontend & DesignAuto-check passed
  • Shadcn

    supabase/evals

    Official

    Manages shadcn components and projects — adding, searching, fixing, debugging, styling, and composing UI.

    143 GitHub starsUsed in 42 repos~4.5k tokens
    Frontend & DesignAuto-check passed
  • Integrating shadcn/ui Components

    google-labs-code/stitch-skills

    Official

    Guides finding, installing, customizing and wiring up shadcn/ui components in a project, with MCP tools for the component catalog and registries.

    8.4k GitHub starsUsed in 4 repos~2.3k tokens
    Frontend & DesignAuto-check: notes
  • UI UX Pro Max

    saoudi-h/solar-icons

    UI/UX design intelligence for web and mobile. An agent skill from saoudi-h/solar-icons.

    186 GitHub starsUsed in 18 repos~11k tokens
    Frontend & DesignAuto-check: notes
  • Creative Tim UI Blocks

    creativetimofficial/ui

    Helps install, generate and review Creative Tim UI blocks: shadcn/ui-based React and Tailwind sections that follow a restrained, production-minded design philosophy.

    12k GitHub stars~2.1k tokensUpdated 6 mo ago
    Frontend & DesignAuto-check: notes

Works with

Questions about Agent HTML

What does Agent HTML do?

A skill your agent uses when editing AgentHTML artifacts, agent-html files, Gallery Preview DSL, blocks, components, sections, prompt schema, or runtime-rendered artifact content. Agent HTML is an agent skill from Sayhi-bzb/Agent-HTML. Use when editing AgentHTML artifacts, agent-html files, Gallery Preview DSL, blocks, components, sections, prompt schema, or runtime-rendered artifact content.

When should I use Agent HTML?

Agent HTML fits situations like: editing AgentHTML artifacts; agent-html files; gallery Preview DSL; runtime-rendered artifact content.

How do I install Agent HTML in Claude Code?

Run `npx skills add Sayhi-bzb/Agent-HTML --skill agent-html -a claude-code`. Or copy the skill folder (_archive/.agents/skills/agent-html in Sayhi-bzb/Agent-HTML) into .claude/skills/agent-html in your project. Claude Code loads it when a task matches its description.

How do I install Agent HTML in Codex?

Run `npx skills add Sayhi-bzb/Agent-HTML --skill agent-html -a codex`. Or copy the skill folder (_archive/.agents/skills/agent-html in Sayhi-bzb/Agent-HTML) into .agents/skills/agent-html in your project. Codex loads it when a task matches its description.

Can I use Agent HTML in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Sayhi-bzb/Agent-HTML --skill agent-html -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/agent-html, .gemini/skills/agent-html, .github/skills/agent-html and .opencode/skills/agent-html in your project.

What does Agent HTML need to run?

Going by SKILL.md and its folder, Agent HTML needs Python for the scripts in its folder. Our summary lists: Python 3.

Does Agent HTML access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Agent HTML safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Agent HTML use?

Agent HTML is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Agent HTML use?

About 523 tokens (SKILL.md is roughly 2.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 8.2k tokens, read only when the agent opens those files.

What are the alternatives to Agent HTML?

Skills that share tags, products or a category with Agent HTML: Web Artifacts Builder (anthropics/skills, 180k stars), UI Styling (Ohh-889/skyroc, 795 stars), Shadcn (supabase/evals, 143 stars) and Integrating shadcn/ui Components (google-labs-code/stitch-skills, 8.4k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Agent HTML?

Sayhi-bzb (a GitHub user) maintains it in Sayhi-bzb/Agent-HTML, which has 541 GitHub stars. The repository was last updated on July 22, 2026.

Source: Sayhi-bzb/Agent-HTML on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.