hud-from-mockup

hud-from-mockup is a skill for Claude Code from AgusLoza2021/Thoughtline. It costs 68 tokens per session (1,126 once invoked), scanned A, original, MIT.

A Unity workflow for building a game interface screen from a mockup or reference image. Unity is a game engine, and uGUI is its built-in system for buttons, text and other interface elements.

In plain words
What is it for?
Use it to plan and build Unity HUDs, popups and menus from mockups or existing project screens, including their layout, states, localization and visual effects.
Why use it?
It gives a repeatable way to turn a visual reference into a screen without copying another game's artwork or layout pixel for pixel. Re-running the generated Unity editor script can rebuild the screen.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the thoughtline plugin — 3 skills, 5 commands, 1 agent, 6 hooks, 1 MCP server shipped together

Good fit Use it to plan and build Unity HUDs, popups and menus from mockups or existing project screens, including their layout, states, localization and visual effects.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/agusloza2021/thoughtline/hud-from-mockup
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 AgusLoza2021/Thoughtline --skill hud-from-mockup
Clone the repo
git clone --depth 1 https://github.com/AgusLoza2021/Thoughtline

Made for: Claude Code.

Or install thoughtline, the plugin that ships this one along with the rest of its 3 skills, 5 commands, 1 agent, 6 hooks, 1 MCP server.

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 hud-from-mockup

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/agusloza2021/thoughtline/hud-from-mockup"><img src="https://agentmods.dev/badge/skills/agusloza2021/thoughtline/hud-from-mockup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,126 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.00068 $0.01126
Opus 5.5 $0.00027 $0.00450
Sonnet 5.5 $0.00014 $0.00225
Haiku 4.5 $0.00007 $0.00113

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

Security

Grade A, and why

hud-from-mockup 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 8d 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.

plugin/claude-code/skills/hud-from-mockup/SKILL.md · 83 lines

How it starts

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

Unity HUD from a mockup

A pipeline to turn a reference image (or an existing screen in the project) into a Unity uGUI screen that can be rebuilt at any time by re-running one Editor script.

Activation contract

Load when the user hands over a mockup or reference and asks to build, rebuild or restyle a screen. Read references/recipe.md for the builder skeleton before writing code. For a pure reskin of an existing screen use the hud-premium-restyle skill instead.

Reference, never copy

A reference teaches structure: hierarchy, spacing rhythm, hit-target sizes, grouping, and which state each element shows. It is never a source of pixels.

  • Safe references: the user's own mockups and screens that already exist in the project.
  • A screenshot of someone else's game is a mood board only. Never trace, slice or redraw it 1:1, and never reuse its icons, fonts, names or copy. Reduce it to a written layout brief (zones, priorities, states) and build from the brief, not from the image.
  • To use an existing screen as the example, read its builder for the pattern (find-before-create, reference space, helpers) and write a new builder for the new screen. Do not duplicate its node tree or layout numbers; extract shared helpers instead of pasting them.
  • Art comes from the project's own sprite folders or is generated new. Do not commit the reference image unless the user made it for this project.

Hard rules

  • The builder is the source of truth. Edit the Editor script and re-run it. Hand edits in the Hierarchy get overwritten on the next run.
  • Find before create. Look a node up by name in its direct parent before creating it, so a rerun re-wires instead of duplicating. Keep the lookup local: sub-blocks reuse names like Icon or Value, and a deep search re-parents one slot's child into another.
  • Never enable a feature from the builder. It authors the screen; a separate flag or kill-switch turns it on.
  • Author in one coordinate space. Write positions in the mockup's own pixels and scale once into the canvas. A constant calibrated on a single aspect ratio breaks every other aspect.
  • Text goes through the project's localization, never a literal string in a view.
  • Every UI animation restores its state in OnDisable, idempotently. A persistent HUD with a tween left mid-flight (scale 0, alpha 0) stays invisible forever with no log.
  • Reuse art before drawing any. Check existing sprites and atlases first.
  • Do not build the player or run Editor actions on a scene someone else is editing; commit with Conventional Commits.

Read the full file on GitHub · 83 lines

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. 8d ago First seen · 83 lines · 68 tokens per session scan A b9342fc4cbb7

Subscribe to this mod's changes

hud-from-mockup is a skill published in the GitHub repository AgusLoza2021/Thoughtline (4 stars, last pushed 8d ago), licensed MIT. It adds 68 tokens to every session and 1,126 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-22.

Related

hud-from-mockup compared with skills from other repositories

hud-from-mockup next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
hud-from-mockupAgusLoza2021/ThoughtlineSkill48d agoMITA68Claude Code
bhivedArtKeyAi/bhived-mcpSkill3515d agoApache-2.0A96Claude Code
jumbo-design-goaljumbocontext/cliSkill28312d agoAGPL-3.0A42Claude Code, Codex
game-artphuonghx/aim-cliSkill15mo agoMITA93Claude Code, Codex
impeccableAnmol-Srv/sigilSkill1011d agoMITA189Claude Code
segassmurfgg04-gif/context-mSkill2yesterdayApache-2.0A39Claude Code, Codex
tetrisssmurfgg04-gif/context-mSkill2yesterdayApache-2.0A23Claude Code, Codex