ux-stats

ux-stats is a command for coding agents from Laith0003/ux-skill. It costs 43 tokens per session (443 once invoked), scanned A, original, MIT.

A command that prints an inventory of the data files used by a user-experience design toolkit. It reports the toolkit version and how many entries are available in categories such as styles, colors, fonts, components, and usability guidance.

In plain words
What is it for?
Use it to verify an installation, inspect the available data, or audit the data files before a release. Its output can also be shown as raw JSON or filtered with command-line tools.
Why use it?
It provides a quick check that the data is installed and that an upgrade or release has not lost entries.

Command

Part of the ux-skill plugin — 25 commands, 5 agents shipped together

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.

agentmods
npx agentmods add commands/laith0003/ux-skill/ux-stats
Clone the repo
git clone --depth 1 https://github.com/Laith0003/ux-skill

Or install ux-skill, the plugin that ships this one along with the rest of its 25 commands, 5 agents.

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/laith0003/ux-skill/ux-stats.svg)](https://agentmods.dev/commands/laith0003/ux-skill/ux-stats)
Your own site
<a href="https://agentmods.dev/commands/laith0003/ux-skill/ux-stats"><img src="https://agentmods.dev/badge/commands/laith0003/ux-skill/ux-stats.svg" alt="Measured on agentmods" height="20"></a>
Per session 43 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 443 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00043 $0.00443
Opus 5 $0.00022 $0.00221
Sonnet 5 $0.00009 $0.00089
Haiku 4.5 $0.00004 $0.00044

Measured 5d ago against content hash 6981acbb64ea, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

ux-stats 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 5d 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.

commands/ux-stats.md · 61 lines

What it actually says

/ux-stats — show the data inventory

One command. One snapshot.

Prints the version, then the count of entries in each of the 11 data manifests:

{
  "version": "2.0.0-alpha.1",
  "counts": {
    "styles": 84,
    "palettes": 176,
    "type-pairs": 70,
    "components": 148,
    "industries": 170,
    "chart-types": 35,
    "tech-stacks": 25,
    "ux-guidelines": 112,
    "motion-presets": 57,
    "anti-patterns": 35,
    "brands": 72
  }
}

When to use

  • Verify the install — confirm the data files are present and reasonable counts.
  • Audit before a release — check no manifest has dropped entries.
  • Quick sanity check after upgrading via pip install --upgrade uxskill.

How it runs

python3 -m engine.cli.main stats

Behind the scenes this calls engine.data_loader.stats() which loads each manifest, reads the _meta.entries count and the actual entry list length, and returns the dictionary above.

Manual invocation

ux stats                      # pretty (rich) output by default
ux --no-pretty stats          # raw JSON, pipe-friendly
ux stats | jq '.counts'       # extract just counts

Errors

  • {"missing": true} in a count → the JSON file isn't present yet. Run pip install --upgrade uxskill or check the install path.
  • Counts of 0 → the JSON file exists but is empty. Open an issue at https://github.com/Laith0003/ux-skill/issues.
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. 5d ago First seen · 61 lines · 43 tokens per session scan A 6981acbb64ea

Subscribe to this mod's changes

ux-stats is a command published in the GitHub repository Laith0003/ux-skill (66 stars, last pushed 1mo ago), licensed MIT. It adds 43 tokens to every session and 443 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.