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-surface-reset-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-surface-reset-workflow)<a href="https://agentmods.dev/skills/yusifeng/formax/formax-surface-reset-workflow"><img src="https://agentmods.dev/badge/skills/yusifeng/formax/formax-surface-reset-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-surface-reset-workflow"><img src="https://agentmods.dev/badge/skills/yusifeng/formax/formax-surface-reset-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.00062 | $0.00804 |
| Opus 5.5 | $0.00025 | $0.00322 |
| Sonnet 5.5 | $0.00012 | $0.00161 |
| Haiku 4.5 | $0.00006 | $0.00080 |
Grade A, and why
formax-surface-reset-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 — 76 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Formax Surface Reset Workflow
Goal
Use this skill when changing REPL clear/reset/resume behavior or any transcript surface transition that can remount Static.
Read First
docs/contracts/transcript-surface-contract.mddocs/runbooks/repl-surface-debugging.mddocs/contracts/invariants.mdwhen ownership or sequencing is unclear
These docs are canonical. If stable surface behavior changes, update them before or with code.
Code Map
- Reset helpers / queue owner:
replaceTranscriptqueueTranscriptSurfaceReplaceresetTranscriptSurfacequeueTranscriptSurfaceResetsurfaceOpQueueRef
- High-risk flows:
packages/core/src/features/repl/controller/ui/packages/core/src/features/repl/controller/session/packages/core/src/features/repl/useReplController.tspackages/core/src/screens/repl/packages/core/src/runtime/bootstrap/runLegacyCli.tsx
- Call sites to watch:
onClearTerminalclearTerminalresetInkStaticOutputForStdouttranscriptSeqremount behavior inReplTranscript/ExpandedReplTranscript
Trigger Conditions
Use this skill whenever the change touches any of:
/resume,/clear, compact boundary transitions- Ctrl+O / Ctrl+E transcript view switches
onClearTerminal,clearTerminal, orresetInkStaticOutputForStdoutreplaceTranscript,queueTranscriptSurfaceReplace,resetTranscriptSurface,queueTranscriptSurfaceReset, orsurfaceOpQueueRef- files under
packages/core/src/features/repl/controller/ui/,packages/core/src/features/repl/controller/session/,packages/core/src/features/repl/useReplController.ts,packages/core/src/screens/repl/, orpackages/core/src/runtime/bootstrap/runLegacyCli.tsx
Minimal Workflow
- Identify the exact path (
/resume,/clear, Ctrl+O / Ctrl+E, compact boundary, etc.). - Route it through
replaceTranscript/resetTranscriptSurfaceinstead of local clear / remount sequencing. - Treat reset as one transaction, not scattered side effects.
- Add or extend regression tests for ordering and surface reset ownership.
- Run the minimum regression set below and at least one real surface smoke path.
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 · 76 lines · 62 tokens per session scan A f3b8ab8e17ee
formax-surface-reset-workflow is a skill published in the GitHub repository yusifeng/formax (184 stars, last pushed 3mo ago), licensed MIT. It adds 62 tokens to every session and 804 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-surface-reset-workflow compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| formax-surface-reset-workflowyusifeng/formax | Skill | 184 | 3mo ago | MIT | A | 62 | Codex |
| code_explorergoogle-gemini/gemini-cli | Skill | 109k | yesterday | Apache-2.0 | A | 28 | Gemini CLI |
| node-connectopenclaw/openclaw | Skill | 394k | yesterday | MIT | A | 39 | Claude Code, Codex |
| node-inspect-debuggeropenclaw/openclaw | Skill | 394k | yesterday | MIT | A | 28 | Claude Code, Codex |
| test-failure-explorerQwenLM/qwen-code | Skill | 29k | yesterday | Apache-2.0 | A | 32 | Claude Code, Codex |
| session-investigatorevalstate/fast-agent | Skill | 4.0k | yesterday | Apache-2.0 | A | 68 | Claude Code, Codex |
| smiles-validationsynthetic-sciences/openscience | Skill | 4.3k | 2d ago | Apache-2.0 | A | 24 | Claude Code, Codex |