Agent HTML
Agent Buildingagent-htmlAgent HTML is an Agent Skill for agent building published in the Sayhi-bzb/Agent-HTML repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
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.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/Sayhi-bzb/Agent-HTML/blob/HEAD/_archive/.agents/skills/agent-html/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/agent-html, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
agent-html
Write agent-html DSL, not JSX or HTML.
Workflow
- Read
.agents/skills/agent-html/references/prompt-schema.mdfor the supported tags, attrs, defaults, and forbidden constructs. - Reuse the closest valid fixture pattern from
.agents/skills/agent-html/references/examples.mdbefore inventing new structure. - Stay within the currently supported runtime tags unless the user explicitly wants a future-target draft.
- When an icon is needed, run
.agents/skills/agent-html/scripts/search_icons.py "<query>"instead of guessing names. - In an AgentHTML workspace, edit user-facing artifacts at
projects/{project-id}/{section-id}/artifact.agent-html.
Rules
- Output only
agent-htmlDSL. - Use
PascalCasetags. - Root must be
<Cell>. - Use quoted scalar attrs like
columns="2"orvalue="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, orGrid. - Do not put UI directly under
Cellor layout nodes; wrap UI inBlock, 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>"