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.5 | $0.00008 | $0.00434 |
| Sonnet 5.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 2mo 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.
- 2mo 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 (184 stars, last pushed 3mo ago), licensed MIT. It adds 19 tokens to every session and 1,085 once invoked, about $0.0001 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.
formax-approval-ui-workflow compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| formax-approval-ui-workflowyusifeng/formax | Skill | 184 | 3mo ago | MIT | A | 19 | Codex |
| json-canvasKevRojo/Dulus | Skill | 508 | 3d ago | GPL-3.0 | A | 54 | Claude Code, Codex |
| tui-designgfargo/skills | Skill | 2 | yesterday | MIT | A | 135 | Claude Code, Codex |
| get-contextXiaomiMiMo/MiMo-Code | Skill | 14k | yesterday | MIT | A | 46 | Codex |
| frontendcode-yeongyu/lazycodex | Skill | 3.9k | yesterday | MIT | A | 79 | Codex |
| designlang-tokensManavarya09/design-extract | Skill | 4.8k | yesterday | MIT | A | 30 | Claude Code |
| cli-anything-photoshopyb2460/harness-anything | Skill | 2.9k | 28d ago | MIT | A | 43 | Claude Code, Codex |