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.svg" alt="Measured on agentmods" 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 | $0.00031 | $0.00402 |
| Sonnet 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 8d 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.
- 8d 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 (193 stars, last pushed 1mo ago), licensed MIT. It adds 62 tokens to every session and 804 once invoked, about $0.0003 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
printing-press-polish
Polish a generated CLI to pass verification and become publish-ready. Runs diagnostics (dogfood, verify, scorecard, go vet, gosec), automatically fixes all issues (verify failures, static-analysis findings, dead code, descriptions, README, MCP tool quality), reports the before/after delta, and offers to publish. Use…
printing-press-amend
Amend a published CLI from one of two input sources: (1) dogfood mode mines the active Claude Code session transcript for friction (missing flags, hand- rolled API payloads, silent-null returns); (2) direct-input mode accepts user-supplied asks (rename a command, add commands or feeds, fix a named bug, optionally…
printing-press-output-review
Internal sub-skill: agentic review of a printed CLI's sampled command output for plausibility issues that rule-based checks can't encode (substring-match relevance, format bugs, silent source drops, ranking failures). Invoked via the Skill tool by the main printing-press skill at Phase 4.85 and printing-press-polish…
fix
Dispatch fix subagent for FIX-FIRST gaps from review, re-review, then diagnose unresolved failures after 2 loops.
report
Investigate bugs comprehensively — cascade through trace, capture browser evidence, extract observability data, and prepare or explicitly create a GitHub issue with grounded findings.
trace
Dispatch trace subagent to investigate unknown issues — reproduces, traces, and reports root cause for fix handoff.