adv-theme

adv-theme is a skill for Codex from YunYouJun/advjs. It costs 89 tokens per session (1,879 once invoked), scanned A, original, MPL-2.0.

A guide for designing and checking the player-facing screens of an ADV.JS story game, including title, dialogue, choices, save, and ending screens.

In plain words
What is it for?
Use it when creating or restyling a game theme, changing visual design tokens, adding component overrides, or verifying the finished interface.
Why use it?
It helps turn a game's story into a consistent visual style and checks the result with diagnostics and screenshots.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: $skill-name invocation.

Good fit Use it when creating or restyling a game theme, changing visual design tokens, adding component overrides, or verifying the finished interface.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yunyoujun/advjs/adv-theme
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 YunYouJun/advjs --skill adv-theme
Clone the repo
git clone --depth 1 https://github.com/YunYouJun/advjs

Made for: 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 adv-theme

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/yunyoujun/advjs/adv-theme"><img src="https://agentmods.dev/badge/skills/yunyoujun/advjs/adv-theme.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 89 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,879 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.00089 $0.01879
Opus 5.5 $0.00036 $0.00752
Sonnet 5.5 $0.00018 $0.00376
Haiku 4.5 $0.00009 $0.00188

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

Security

Grade A, and why

adv-theme 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 4d 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/adv-theme/SKILL.md · 115 lines

How it starts

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

ADV Theme

Give a game a UI that belongs to its story, using the lightest layer that achieves the look, and prove it with adv check and screenshots you have actually looked at.

Tools

Need CLI MCP
Story brief adv context adv://project/overview
Token contract, contrast pairs, presets, current theme state adv context --theme adv://theme (JSON)
Start from a preset adv theme init --preset <id> [--force] —
Diagnostics adv check --json (ADV_THEME_* codes) adv_validate
Screenshots adv theme screenshot [--viewport name=WxH] [--url <dev server>] adv_theme_screenshot (returns images)

Screenshots need Playwright with Chromium in the project (npm i -D playwright && npx playwright install chromium). Without --url, the command starts the same project preview the desktop app uses; pass --url to reuse a preview that is already running.

Workflow

1. Read the brief

Run adv context and adv context --theme. From the world, outline, scenes and characters, write a five-line art direction before touching any file:

  • Setting and era — where the eye is (rain-slick city, Song-dynasty teahouse, school rooftop).
  • Mood — two or three words (wary, tender, feverish).
  • Materials — what UI surfaces would be made of in that world (glass HUD, rice paper, lacquer, chalkboard).
  • Palette — one dominant surface, one ink, one accent, one alert/focus colour, each with a reason from the story.
  • Type — a body stack that reads CJK well at 20–22px, and an optional display stack. Device font stacks only, ending in a generic family; no web fonts unless the project already ships them.

Read the full file on GitHub · 115 lines

Files

What ships with it

3 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. 4d ago First seen · 115 lines · 89 tokens per session scan A 8295478aa045

Subscribe to this mod's changes

adv-theme is a skill published in the GitHub repository YunYouJun/advjs (330 stars, last pushed 5d ago), licensed MPL-2.0. It adds 89 tokens to every session and 1,879 once invoked, about $0.0004 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-02.

Related

adv-theme compared with skills from other repositories

adv-theme next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
adv-themeYunYouJun/advjsSkill3305d agoMPL-2.0A89Codex
ux-designDonchitos/Claude-Code-Game-StudiosSkill36k18d agoMITA31Claude Code
scenario-unity-uiscenario-labs/skillsSkill3.2kyesterdayMITA124Claude Code
game-craftalfredxw/denovaSkill986yesterdayApache-2.0A92Claude Code, Codex
anti-cheat-systemsgmh5225/awesome-game-securitySkill3.7ktodayMITA46Claude Code
reverse-engineering-toolsgmh5225/awesome-game-securitySkill3.7ktodayMITA38Claude Code
game-supply-chain-securitygmh5225/awesome-game-securitySkill3.7ktodayMITA41Claude Code