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-permissions-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-permissions-workflow)<a href="https://agentmods.dev/skills/yusifeng/formax/formax-permissions-workflow"><img src="https://agentmods.dev/badge/skills/yusifeng/formax/formax-permissions-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-permissions-workflow"><img src="https://agentmods.dev/badge/skills/yusifeng/formax/formax-permissions-workflow.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00045 | $0.01142 |
| Opus 5.5 | $0.00018 | $0.00457 |
| Sonnet 5.5 | $0.00009 | $0.00228 |
| Haiku 4.5 | $0.00005 | $0.00114 |
Grade A, and why
formax-permissions-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 — 99 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Formax permissions / approvals workflow
Goal
Use this skill when changing policy preflight, approval prompts, remember side-effects, or /permissions management.
Read First
docs/contracts/permissions-policy-contract.mddocs/contracts/interactive-input-contract.mddocs/contracts/semantics-contract.mdwhen the change crosses TUI / app-server / Web
These docs are canonical. If stable behavior changes, update them before or with code.
Code Map
1) Policy preflight (ToolCall -> allow/ask/deny decision)
packages/core/src/tools/executor/policyPreflight.ts: turnsToolCallinto aPolicyActionand decides deny / prompt / allowpackages/core/src/tools/executor/policyAction.ts:ToolCall->PolicyActionmappingpackages/core/src/tools/executor/policyExplain.ts: explain / debug text for decisionspackages/core/src/tools/modules/bash/policy.ts: Bash risk classification
2) Permissions storage + matching (rules & precedence)
packages/core/src/adapters/permissions/permissionsStore.ts: read / write settings and merge precedencepackages/core/src/adapters/permissions/permissionKeys.ts: stable keys / paths for settingspackages/core/src/adapters/permissions/matcher.ts: matcher semantics
3) Approvals (prompt UI + persistence side-effects)
packages/core/src/tools/executor/approvalService.ts:ensureApprovedflow and remember writes- UI prompts:
packages/core/src/components/tool/bashApprovalPrompt.tsxpackages/core/src/components/tool/fsReadApprovalPrompt.tsxpackages/core/src/components/tool/fsWriteApprovalPrompt.tsxpackages/core/src/components/tool/skillApprovalPrompt.tsxpackages/core/src/components/tool/editApprovalPrompt.tsx
- Shared pieces:
packages/core/src/components/ui/ApprovalHeader.tsxpackages/core/src/components/ui/ConfirmMenu.tsx
4) /permissions overlay (manage rules + workspace)
packages/core/src/tui/permissions/PermissionsDialog.tsx: state machine + key handlingpackages/core/src/tui/permissions/ui.tsx: rendering primitivespackages/core/src/features/repl/controller/ui/overlays.ts: overlay open / close and dismissal messages- Slash command wiring:
packages/core/src/features/commands/registry.tspackages/core/src/screens/repl/createReplCommandRegistry.ts
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 · 99 lines · 45 tokens per session scan A 125414680bf8
formax-permissions-workflow is a skill published in the GitHub repository yusifeng/formax (184 stars, last pushed 3mo ago), licensed MIT. It adds 45 tokens to every session and 1,142 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.
formax-permissions-workflow compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| formax-permissions-workflowyusifeng/formax | Skill | 184 | 3mo ago | MIT | A | 45 | Codex |
| printing-press-amendmvanhorn/cli-printing-press | Skill | 4.9k | yesterday | MIT | A | 222 | Claude Code |
| wikipediax-cmd/x-cmd | Skill | 4.7k | 6d ago | Apache-2.0 | A | 49 | Claude Code, Codex |
| cvex-cmd/x-cmd | Skill | 4.7k | 6d ago | Apache-2.0 | A | 49 | Claude Code, Codex |
| voidenVoidenHQ/voiden | Skill | 1.8k | 2d ago | Apache-2.0 | A | 28 | Claude Code, Codex |
| csharp-dotnetericrisco/rsc-harness | Skill | 503 | 2d ago | MIT | A | 89 | Claude Code, Codex |
| firebaseericrisco/rsc-harness | Skill | 503 | 2d ago | MIT | A | 77 | Claude Code, Codex |