Borrowing it
Nothing to install: this file belongs to yusifeng/formax. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/yusifeng/formax/main/.codex/skills/formax-approval-ui-workflow/SKILL.mdgit clone --depth 1 https://github.com/yusifeng/formaxWrote 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.
[](https://agentmods.dev/skills/yusifeng/formax/formax-approval-ui-workflow)<a href="https://agentmods.dev/skills/yusifeng/formax/formax-approval-ui-workflow"><img src="https://agentmods.dev/badge/skills/yusifeng/formax/formax-approval-ui-workflow/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.
<a href="https://agentmods.dev/skills/yusifeng/formax/formax-approval-ui-workflow"><img src="https://agentmods.dev/badge/skills/yusifeng/formax/formax-approval-ui-workflow.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
SkillSpector: 1 finding, up to low
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- low Excessive Agency · line 77 Skill's behavior or capabilities extend beyond its stated purpose. Scope creep allows an agent to perform actions unrelated to its documented functionality, increasing the attack surface.Fix: Limit the skill's scope to its documented purpose. Remove instructions that enable the agent to perform actions outside its stated functionality.
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00019 | $0.01085 |
| Opus 5 | $0.00010 | $0.00543 |
| Sonnet 5 | $0.00004 | $0.00217 |
| Haiku 4.5 | $0.00002 | $0.00109 |
Grade A, and why
formax-approval-ui-workflow 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 10d 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.
How it starts
The opening of the file, as written. The whole thing — 84 lines — stays where its author put it; the contents beside it link to each section on GitHub.
formax-approval-ui-workflow
Goal
- Keep Approval prompts visually consistent + Claude Code-aligned (only when explicitly requested).
- Preserve existing behavior + keyboard flow (Enter/Esc/Shift+Tab), avoid UI regressions.
- Keep preview rendering fast and safe (no sync IO in render; guard against quadratic diffs).
Where to change what
- Shared approval “chrome”
packages/core/src/components/ui/ApprovalHeader.tsx(top divider + title color)packages/core/src/components/ui/ConfirmMenu.tsx(numbered options + selection color)
- Preview (optional section under header)
packages/core/src/components/tool/ApprovalPreview.tsx(simple file preview)packages/core/src/components/tool/PatchApprovalPreview.tsx(edit-file wrapper: header + file + preview)packages/core/src/components/tool/PatchPreview.tsx(diff rendering + performance guards)
- Per-tool approval prompts (labels, options, allow/ask/deny / remember write paths)
packages/core/src/components/tool/bashApprovalPrompt.tsxpackages/core/src/components/tool/fsReadApprovalPrompt.tsxpackages/core/src/components/tool/fsWriteApprovalPrompt.tsxpackages/core/src/components/tool/skillApprovalPrompt.tsx- (if present)
packages/core/src/components/tool/editApprovalPrompt.tsx(legacy)
- Tool presenters that mount approval prompts
packages/core/src/tools/modules/bash/presenter.tsxpackages/core/src/tools/modules/read/presenter.tsxpackages/core/src/tools/modules/write/presenter.tsxpackages/core/src/tools/modules/edit/presenter.tsxpackages/core/src/tools/modules/skill/presenter.tsx
- Colors / theme
packages/core/src/tui/theme.ts(theme.permission,theme.text,theme.diff.*)
Patterns
- Layout skeleton (keep consistent)
[Top divider line]Title(color =theme.permission)- Optional
Previewbox - Question line (e.g. “Do you want to … ?”)
- Options list (numbered)
- Bottom hint (e.g. “Esc to cancel”)
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.
- 10d ago First seen · 84 lines · 19 tokens per session scan A 6c740152be3d
formax-approval-ui-workflow is a skill published in the GitHub repository yusifeng/formax (193 stars, last pushed 1mo ago), licensed MIT. It adds 19 tokens to every session and 1,085 once invoked, about $0.0001 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.
Other skills, from other repositories
ui-design
This skill should be used when the user asks to "design a component", "pick colors", "improve typography", "fix spacing", "choose a layout", or discusses visual design, CSS, styling decisions, or responsive interfaces. Provides patterns for typography scales, color systems, spacing, and production-grade UI design.
accessibility
This skill should be used when the user asks to "add accessibility", "check ARIA", "handle keyboard navigation", "add focus management", or creates UI components, forms, or interactive elements. Provides WCAG 2.2 AA patterns for keyboard navigation, ARIA roles and states, focus management, color contrast, and screen…
frontend-taste
Premium frontend design skills that override LLM defaults. Prevents generic 'AI-looking' UI. Enforces deterministic typography, calibrated color, asymmetric layouts, spring physics, hardware-accelerated motion. Triggers: 'UI tasarla', 'design a UI', 'premium landing page', 'frontend taste', 'anti-slop', 'dashboard…
designer-skill
Prescriptive frontend design guidance via the designer-skill MCP server. Use when the user asks to use designer-skill, improve UI/UX, run the anti-slop ship gate, apply a design system, or enhance pages/components with MCP-backed design references — especially for Pythinker docs and marketing surfaces with…
design-tokens
Project-level DESIGN.md tokens reference. When the project has a DESIGN.md file, agents producing UI / components / visuals must consult this skill to use canonical color/typography/spacing tokens rather than inventing new ones. Triggers on: UI generation, component creation, design brief, visual asset, tailwind…
ui-audit
Audit UI for design token compliance and component adoption. Static grep-based analysis against the sitemap's page and component files. Requires a design system with semantic tokens.