cratis-specifications-test-application-ui

cratis-specifications-test-application-ui is a skill for Claude Code, Codex from Cratis/AI. It costs 51 tokens per session (503 once invoked), scanned A, original, MIT.

A guide to testing frontend behavior from the user's point of view, such as submitting a form, seeing a refusal, or navigating after success.

In plain words
What is it for?
Use it to test pending submissions, blocked repeat clicks, successful navigation or closing, preserved form data after refusal, and retry behavior after errors.
Why use it?
It helps avoid tests that only check internal code calls and miss what the user actually sees. It also separates UI behavior from database persistence, which needs a different test.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to test pending submissions, blocked repeat clicks, successful navigation or closing, preserved form data after refusal, and retry behavior after errors.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cratis/ai/cratis-specifications-test-application-ui
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 Cratis/AI --skill cratis-specifications-test-application-ui
Clone the repo
git clone --depth 1 https://github.com/Cratis/AI

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 cratis-specifications-test-application-ui

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/cratis/ai/cratis-specifications-test-application-ui"><img src="https://agentmods.dev/badge/skills/cratis/ai/cratis-specifications-test-application-ui.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 503 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.00051 $0.00503
Opus 5.5 $0.00020 $0.00201
Sonnet 5.5 $0.00010 $0.00101
Haiku 4.5 $0.00005 $0.00050

Measured today against content hash 1f25bbfe86cf, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

cratis-specifications-test-application-ui 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 today.

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.

.cratis/ai/skills/cratis-specifications-test-application-ui/SKILL.md · 18 lines

What it actually says

Test the consequence the user can observe

Choose the harness by the observation, not by whether the file contains JSX. For a submit decision, start without React: construct the application view model with a fake command executor and a recorder for close or navigation. Do not fake a database: this test cannot establish whether anything persisted.

  1. Arrange a named draft and a pending command result. Invoke the submit action once. Check that a second click cannot start another submission while the first is pending.
  2. Resolve with the outcome under test. On success, assert the destination or close request, not the number of internal setter calls. On refusal, assert that the form stays open with the original draft and the user can correct it. For Arc-backed submits, distinguish the resolved result branches that change the UI from a rejected promise; on a thrown error, check that the busy state clears so the user can retry.
  3. Run the application’s configured test project using its existing package script. Follow an adjacent for_*/when_* suite for discovery, assertion setup and cleanup. A passing refusal spec must turn red if the view model closes unconditionally.

Use static rendering only for a markup contract, such as whether the initial button is disabled. Mount the control under its real providers for focus return, portals, gestures or navigation. Drive the same input as a user and observe the result by role and accessible name. Stub only the external boundary the test needs; restore timers and measurements and unmount between independent scenarios. When using Arc suspense queries, reset their shared state as well. An interaction that passes only after a different test ran is not isolated.

A Storybook play function is useful for a rendered component interaction; running an application behavior spec does not execute that story. Conversely, a story with a fake command cannot prove command-to-row delivery. For delivery, open the running application as the intended caller in a disposable namespace, submit a unique draft, and wait for its row on the same page without reloading.

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. today First seen · 18 lines · 51 tokens per session scan A 1f25bbfe86cf

Subscribe to this mod's changes

cratis-specifications-test-application-ui is a skill published in the GitHub repository Cratis/AI (4 stars, last pushed today), licensed MIT. It adds 51 tokens to every session and 503 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-11-30.

Related

cratis-specifications-test-application-ui compared with skills from other repositories

cratis-specifications-test-application-ui next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cratis-specifications-test-application-uiCratis/AISkill4todayMITA51Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill101ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill395ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill330k2d agoMITA21Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill14kyesterdayCC0-1.0A113Claude Code, Codex
next-cache-components-adoptionvercel/next.jsSkill144ktodayMITA95Claude Code