ui-ai-first

ui-ai-first is a skill for Claude Code, Codex from bearded-illirian/trailmark. It costs 145 tokens per session (2,564 once invoked), scanned A, original, MIT.

A final review method for checking whether newly built features can be used without directly running code, database commands, or web requests. It classifies each code-only operation as something an agent can automate or something that needs a user interface.

In plain words
What is it for?
Use it near the end of a large project to inspect completed work and create a phased list of interface improvements.
Why use it?
It finds usability gaps that can remain hidden even when the implementation works. Without this check, useful features may be available only to the developer who built them.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code; installed under .agents/ (shared by several agents).

Good fit Use it near the end of a large project to inspect completed work and create a phased list of interface improvements.

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

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 ui-ai-first

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/bearded-illirian/trailmark/ui-ai-first"><img src="https://agentmods.dev/badge/skills/bearded-illirian/trailmark/ui-ai-first.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 145 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,564 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00145 $0.02564
Opus 5 $0.00072 $0.01282
Sonnet 5 $0.00029 $0.00513
Haiku 4.5 $0.00015 $0.00256

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

Security

Grade A, and why

ui-ai-first scanned grade A with 1 finding 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

are available only via code / curl / SQL and decides per each:
adapters/codex/.agents/skills/ui-ai-first/SKILL.md · 361 lines

How it starts

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

UI/AI-First Protocol

Final protocol of the *-first family. Launched after implementing a large task — before formal closure. Protects against invisible usability debt: features implemented in code but unavailable to a non-developer (everything via curl / SQL / Claude Code).

Input

A completed arch-first task near closure; its task.md, block reports, guides, and code changes.

Output

ui-ai-first-report.md with operations classified A (automate via skill / AI agent) or B (build UI), and a phased roadmap of B items.

Hands off to

ship-first (called from ship-first Step 0.6 when run_ui_ai_first=true).


Introduction

Why it's needed

Every large task leaves "code-only" operations. In reports this doesn't sound like a problem — "feature works", "endpoint in prod". But when an operator wants to use the capability — they hit curl with admin_password in JSON or SQL INSERT into several tables.

3 months later these capabilities effectively exist only on paper — no one but the task author uses them. This is technical debt that looks like "everything's ready".

A/B classification principle

For each "code-only" operation — one of two:

  • A — skill / AI agent for rare or technical operations. Quick to build, cheap to run
  • B — UI task for frequent operator operations where a skill is insufficient — need a form, button, dashboard

Not every feature needs UI. Not every operation needs a skill.

What it does NOT do

Does not implement findings. Only classifies and forms a prioritized roadmap. Implementation — separate work streams with their own library-first / plan-first.


Step 1 — Get task_path

If passed as argument — use. If not — ask user or propose the last closed task from routing DB.

Verify task is actually closed:

  • task.md has blocks with ✅
  • ≥1-2 report-NN.md in task log

If not — stop: "Task is not yet closed. Audit is premature."


Step 2 — Gather list of implemented blocks

Read task.md → all blocks with ✅ or "Done" mark. Ignore planned or cancelled.

Read the full file on GitHub · 361 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. 5d ago Changed 14a6478a7ccb
  2. 9d ago First seen · 361 lines · 145 tokens per session scan A f9d1a284fa0c

Subscribe to this mod's changes

ui-ai-first is a skill published in the GitHub repository bearded-illirian/trailmark (19 stars, last pushed 7d ago), licensed MIT. It adds 145 tokens to every session and 2,564 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). 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

mission-control

Interact with Mission Control — AI agent orchestration dashboard. Use when registering agents, managing tasks, syncing skills, or querying agent/task status via MC APIs.

builderz-labs/mission-control · 34 tokens

afrexai-compliance-engine

Your AI compliance officer. Guides startups and scale-ups through SOC 2, ISO 27001, GDPR, HIPAA, and PCI DSS — from zero to audit-ready. No consultants needed.

aAAaqwq/AGI-Super-Team · 0 tokens

after-sales

Use when managing post-purchase experience, building customer loyalty, or increasing repeat purchases.

aAAaqwq/AGI-Super-Team · 19 tokens

competitive-offer-architect

Design irresistible offer packages with real salary benchmarks, negotiation playbooks, and competitive counter-strategies. Co-designed with Siku (司库). Includes total compensation calculator, negotiation scripts, and BATNA analysis.

aAAaqwq/AGI-Super-Team · 48 tokens

bankr

AI-powered crypto trading agent and LLM gateway via natural language. Use when the user wants to trade crypto, check portfolio balances, view token prices, transfer crypto, manage NFTs, use leverage, bet on Polymarket, deploy tokens, set up automated trading, sign and submit raw transactions, or access LLM models…

aAAaqwq/AGI-Super-Team · 96 tokens

ai-viral-team-script-writing

A guide for writing short-video scripts and shot lists, including dialogue, camera direction, character actions, mood, music, hooks, and endings. A shot list describes what happens in each camera shot.

aAAaqwq/AGI-Super-Team · 169 tokens