spectre-ux

spectre-ux is a skill for Claude Code, Codex from joenandez/spectre. It costs 48 tokens per session (1,350 once invoked), scanned A, original, MIT.

A workflow skill that turns product requirements into a detailed description of how a feature behaves. It documents user flows, screens, components, states, wording, and accessibility in an ux.md file, without prescribing visual style.

In plain words
What is it for?
Use it after a scope or product-requirements document exists when a feature needs a UX behaviour specification. It reads the project’s requirements, confirms the flows, and then writes the detailed specification under the managed feature directory.
Why use it?
It resolves how a feature should respond before implementation begins. Its two-stage process helps confirm user flows first and prevents developers from having to guess missing behaviour.

Skill for Claude CodeCodex

Written for Claude Code and Codex: disable-model-invocation in frontmatter, but also agents/openai.yaml present.

Good fit Use it after a scope or product-requirements document exists when a feature needs a UX behaviour specification. It reads the project’s requirements, confirms the flows, and then writes the detailed specification under the managed feature directory.

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

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 spectre-ux

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/joenandez/spectre/spectre-ux"><img src="https://agentmods.dev/badge/skills/joenandez/spectre/spectre-ux.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,350 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00048 $0.01350
Opus 5 $0.00024 $0.00675
Sonnet 5 $0.00010 $0.00270
Haiku 4.5 $0.00005 $0.00135

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

Security

Grade A, and why

spectre-ux 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 yesterday.

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.

plugins/spectre-codex/skills/spectre-ux/SKILL.md · 95 lines

How it starts

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

ux

Turn requirements into a behavioral spec — what users see/do and the system response, not visual taste. Align flows, then write ux.md.

Inputs

  • $ARGUMENTS — explicit feature name/root or descendant requirements artifact.
  • Requirements — first present, read fully:
    1. {OUT_DIR}/concepts/scope.md (canonical, preferred)
    2. {OUT_DIR}/specs/prd.md
    3. {OUT_DIR}/task_summary.md
  • If none exist → ask for scope context or recommend spectre-scope first; do not invent scope.

Working Set (late-bound — read at run-time, never inline)

  • Reuse a managed FEATURE_ROOT only when explicit/current-thread evidence ties it to this work (physical directory wins; never branch/recency/lifecycle/scans); distinct work ignores ambient roots. Otherwise, including on collision, standalone MUST first load and follow Skill(spectre-feature-root) through DONE; orchestrated calls escalate. Keep writes beneath it and pass it unchanged.
  • Repair stale feature/root metadata in artifacts this workflow touches.
  • OUT_DIR = FEATURE_ROOT.
  • Existing UI: one Stage-1 @spectre_patterns dispatch for similar screens/tokens — ≤~2K in-thread, no files.

Method / guardrails

Stage 1 — Flow discovery & alignment (align before specifying).

  • Identify user segments: first-time/returning, anon/signed-in, free/paid, role-based.
  • Identify goals, entry points, and completion states.
  • Narrate each flow: Goal · Entry · User sees → User does → System responds · branches · success · Questions; call out segment divergence.
  • Present a take and ask for pushback. Every initial or feedback-revised flow presentation ends with the compact handoff table:
Handoff Details
🧭 Current phase Flow approval.
📦 What was just done Initial or revised flows.
▶️ Proposed next step Render resolved action.
  • CONTINUATION: Prototype when interaction, layout, visual validation, or stakeholder review materially matters; otherwise Plan when Scope + flows suffice. Render spectre-prototype {FEATURE_ROOT} FROM_UX=true or spectre-plan {FEATURE_ROOT}; at most one explicit conditional alternative.
  • Flows approved: complete {OUT_DIR}/ux.md, then Prototype or Plan with resolved values.
  • GATE: Never write {OUT_DIR}/ux.md before explicit flow approval + selected continuation. Feedback without approval → revise and re-present. Ambiguous approval or missing route authority → ask only the unresolved choice.

Read the full file on GitHub · 95 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. yesterday Changed · +7 lines · -52 tokens per session 9d17fbac3b27
  2. 6d ago Changed 862dab2228c4
  3. 11d ago First seen · 88 lines · 100 tokens per session scan A 4f9354951d74

Subscribe to this mod's changes

spectre-ux is a skill published in the GitHub repository joenandez/spectre (161 stars, last pushed 2d ago), licensed MIT. It adds 48 tokens to every session and 1,350 once invoked, about $0.0002 per session on Opus 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-08-30.

Related

Other skills, from other repositories

webgl-holographic-foil

A self-contained WebGL2 hero: thin-film interference over a crushed-foil surface whose palette shifts with the viewing angle; move the cursor to tilt the film.

nexu-io/open-design · 41 tokens

html-ppt-hermes-cyber-terminal

OpenDesign + BYOK: choosing and wiring your own model, hands-on — cost, quality, and the routing decision. Built as a decision-grade AI literacy deck for engineers, IT, applied-AI teams.

nexu-io/open-design · 53 tokens

html-ppt-taste-brutalist

16:9 HTML deck in tactical-telemetry / CRT-terminal taste. Deactivated-CRT charcoal slides, white-phosphor monospace, hazard-red accent, scanline overlay, ASCII syntax, density over decoration. Distilled from Leonxlnx/taste-skill brutalist-skill (Tactical Telemetry mode).

nexu-io/open-design · 78 tokens

visual-ralph

Visual Ralph orchestration for frontend UI from generated references, static references, or live URL targets, using $ralph with built-in visual verdict and pixel-diff evidence until the implementation matches and leaves a reproducible design system.

Yeachan-Heo/oh-my-codex · 50 tokens

accessibility

Consolidated accessibility skill entrypoint for WCAG 2.2, ARIA Authoring Practices, cognitive accessibility, Section 508, EN 301 549, design intent verification, and the Accessibility Planner workflow.

microsoft/hve-core · 47 tokens

make-resume

A Chinese-language tool for creating editable HTML resumes that can be changed in a browser and printed to PDF. It uses available resume templates when they are installed and otherwise provides a simpler fallback.

Hisn00w/ASu-skills · 86 tokens