ui-data-testid

ui-data-testid is a skill for Codex from dtyq/magic. It costs 60 tokens per session (1,410 once invoked), scanned A, original, no licence file.

A coding aid that adds stable data-testid labels to new or refactored user-interface components. These labels give unit and end-to-end tests reliable ways to find buttons, menus, views, and other interactive elements.

In plain words
What is it for?
Use it when building React or TSX screens, shadcn or antd-style components, dropdowns, menus, and other tested interactions.
Why use it?
It reduces test breakage caused by changing text, styling, or page structure. Tests can target stable labels instead of fragile visual details.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it when building React or TSX screens, shadcn or antd-style components, dropdowns, menus, and other tested interactions.

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

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 ui-data-testid

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/dtyq/magic/ui-data-testid"><img src="https://agentmods.dev/badge/skills/dtyq/magic/ui-data-testid.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,410 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 unknown 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.00060 $0.01410
Opus 5.5 $0.00024 $0.00564
Sonnet 5.5 $0.00012 $0.00282
Haiku 4.5 $0.00006 $0.00141

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

Security

Grade A, and why

ui-data-testid 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 3d 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.

frontend/magic-web/.agents/skills/ui-data-testid/SKILL.md · 141 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

Read it on GitHub

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. 3d ago Changed · +2 tokens per session 2043fa2fb716
  2. 1mo ago First seen · 141 lines · 58 tokens per session scan A b7d6937325df

Subscribe to this mod's changes

ui-data-testid is a skill published in the GitHub repository dtyq/magic (5,057 stars, last pushed 3d ago), with no licence file. It adds 60 tokens to every session and 1,410 once invoked, about $0.0002 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-08-30.

Related

Other skills, from other repositories

reproduce-bug

Reproduce a reported bug in googleapis/mcp-toolbox and decide whether it is real, delivering an evidence-backed verdict: confirmed, already fixed, misconfiguration, client-side, works as intended, not reproducible, or blocked. Use whenever a maintainer asks you to reproduce, verify, confirm, or investigate a bug…

googleapis/mcp-toolbox · 130 tokens

connect-agent

Connect the codebase's AI agent to LangWatch agent simulations, so test suites run against the real agent process. Adds a small connect function beside the service startup that calls the agent already in the codebase, which opens an outbound connection and registers the agent with its environment and its run…

langwatch/langwatch · 102 tokens

langbot-testing

Test LangBot WebUI and core product flows with an automated browser and backend logs. Use when validating the configured LangBot frontend, pipeline Debug Chat, model provider setup and test buttons, bot and knowledge-base UI flows, or troubleshooting failed LangBot end-to-end tests.

langbot-app/LangBot · 58 tokens

test-cli-usability

Write scenario tests that verify your CLI tool is usable by AI agents. Ensures commands work non-interactively, provide clear output, and don't hang on prompts. Use when you want to prove your CLI is agent-friendly.

langwatch/langwatch · 49 tokens

app_verification

Verify a newly created or newly installed Rome app after coding:appcreation or coding:workflowcreation finishes installing it. Use only as a second-pass verifier: receive the app id, source root, expected behavior, and local dashboard/API base URL from the creator, then visit the installed app, exercise its safe…

rome-os/rome · 0 tokens

smoke-test

Run smoke tests against a deployed or local app based on your git diff. Each test uses Skyvern browser tools (navigate, act, validate, screenshot) with Chrome DevTools MCP as fallback. Posts screenshot evidence as PR comments.

Skyvern-AI/skyvern · 50 tokens