Hook Development for Claude Code Plugins
anthropics/claude-plugins-official
Explains how to write Claude Code plugin hooks, both prompt-based checks and bash commands, for events such as PreToolUse, Stop and SessionStart.
A skill your agent uses when adding/modifying Formax slash commands (/permissions /agents /hooks /todos etc), especially output rendering (command sublines), overlay dismiss messages, and whether…
$ npx skills add yusifeng/formax --skill formax-slash-command-workflow -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install yusifeng/formax formax-slash-command-workflow --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/yusifeng/formax.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.codex/skills/formax-slash-command-workflow .claude/skills/formax-slash-command-workflow && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "formax-slash-command-workflow" agent skill from https://github.com/yusifeng/formax/tree/main/.codex/skills/formax-slash-command-workflow into .claude/skills/formax-slash-command-workflow/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "formax-slash-command-workflow", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/yusifeng/formax/tree/main/.codex/skills/formax-slash-command-workflowType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add yusifeng/formax --skill formax-slash-command-workflow -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install yusifeng/formax formax-slash-command-workflow --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/yusifeng/formax.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.codex/skills/formax-slash-command-workflow .agents/skills/formax-slash-command-workflow && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "formax-slash-command-workflow" agent skill from https://github.com/yusifeng/formax/tree/main/.codex/skills/formax-slash-command-workflow into .agents/skills/formax-slash-command-workflow/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "formax-slash-command-workflow", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add yusifeng/formax --skill formax-slash-command-workflow -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install yusifeng/formax formax-slash-command-workflow --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/yusifeng/formax.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.codex/skills/formax-slash-command-workflow .cursor/skills/formax-slash-command-workflow && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "formax-slash-command-workflow" agent skill from https://github.com/yusifeng/formax/tree/main/.codex/skills/formax-slash-command-workflow into .cursor/skills/formax-slash-command-workflow/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "formax-slash-command-workflow", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/yusifeng/formax.git --path .codex/skills/formax-slash-command-workflow--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add yusifeng/formax --skill formax-slash-command-workflow -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install yusifeng/formax formax-slash-command-workflow --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/yusifeng/formax.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.codex/skills/formax-slash-command-workflow .gemini/skills/formax-slash-command-workflow && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "formax-slash-command-workflow" agent skill from https://github.com/yusifeng/formax/tree/main/.codex/skills/formax-slash-command-workflow into .gemini/skills/formax-slash-command-workflow/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "formax-slash-command-workflow", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install yusifeng/formax formax-slash-command-workflowInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add yusifeng/formax --skill formax-slash-command-workflow -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/yusifeng/formax.git skills-src && mkdir -p .github/skills && cp -r skills-src/.codex/skills/formax-slash-command-workflow .github/skills/formax-slash-command-workflow && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "formax-slash-command-workflow" agent skill from https://github.com/yusifeng/formax/tree/main/.codex/skills/formax-slash-command-workflow into .github/skills/formax-slash-command-workflow/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "formax-slash-command-workflow", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add yusifeng/formax --skill formax-slash-command-workflow -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install yusifeng/formax formax-slash-command-workflow --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/yusifeng/formax.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.codex/skills/formax-slash-command-workflow .opencode/skills/formax-slash-command-workflow && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "formax-slash-command-workflow" agent skill from https://github.com/yusifeng/formax/tree/main/.codex/skills/formax-slash-command-workflow into .opencode/skills/formax-slash-command-workflow/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "formax-slash-command-workflow", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
formax-slash-command-workflowA skill your agent uses when adding/modifying Formax slash commands (/permissions /agents /hooks /todos etc), especially output rendering (command sublines), overlay dismiss messages, and whether…
Formax Slash Command Workflow is an agent skill from yusifeng/formax. Use when adding/modifying Formax slash commands (/permissions /agents /hooks /todos etc), especially output rendering (command sublines), overlay dismiss messages, and whether outputs are injected into the next LLM turn.
Its SKILL.md is about 1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Agent Workflows, covering Hooks and plugins. The repository describes itself as: Terminal-first AI assistant for software engineering tasks (inspired by Claude Code v2.0.67). The licence is MIT.
4 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 1b0c3f3. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
bunFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Formax Slash Command Workflow loads about 1k tokens when it runs. Until then it costs about 63 tokens; SKILL.md has 363 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from yusifeng/formax at commit 1b0c3f3, republished under its MIT licence (© yusifeng). 363 words, ~1,034 tokens.
.claude/skills/formax-slash-command-workflow/SKILL.md (or your agent's skills folder).Use this skill when changing slash command discovery, dispatch, overlay dismissal output, or next-turn injection behavior.
docs/contracts/slash-command-contract.mddocs/contracts/semantics-contract.md when command behavior crosses canonical UI messages or routingdocs/contracts/config-settings-contract.md when the change touches /configThese docs are canonical. If stable behavior changes, update them before or with code.
packages/core/src/features/commands/registry.ts: command list/suggest/dispatch wiringpackages/core/src/features/commands/CommandStore.ts: disk scanning + precedence (project overrides user)packages/core/src/features/semantics/core/commandRouting.ts: exact /clear / /compact and command-dispatch routing boundarypackages/core/src/features/commands/contracts.ts: UiEffect / UiMessage / ModelEffect shapespackages/core/src/features/commands/adapter.ts: maps command execution output → CommandResultpackages/core/src/features/repl/controller/send/send.ts: consumed slash handling, local_async, and injected-block plumbingpackages/core/src/features/repl/controller/ui/overlays.ts: overlay open/close + append “dismissed” sublinespackages/core/src/features/repl/controller/send/send.ts: applies UiEffect.appendMessages to Msgpackages/core/src/screens/REPL.tsx: render msg.ui.kind === 'command_subline' as ⎿ ... (no ⏺)packages/core/src/screens/REPL.slashSuggestions.test.tsx: duplicate command selection / preferredSlashSpecIdMsg with ui.kind='command_subline'command_subline rowsrecordForNextTurn / injected-block behavior separatelycommand_subline for Claude-style sublines; do not invent new message shapes.bun run test -- packages/core/src/features/commands/registry.test.ts packages/core/src/features/commands/CommandStore.test.ts packages/core/src/features/commands/adapter.test.ts packages/core/src/features/commands/contracts.test.tsbun run test -- packages/core/src/features/repl/controller/ui/overlays.test.tsxbun run test -- packages/core/src/features/repl/controller/send/send.test.ts packages/core/src/features/repl/useReplController.test.tsxbun run test -- packages/core/src/screens/REPL.slashSuggestions.test.tsx packages/core/src/screens/repl/inputHint.test.tsbun run type-check when command shapes or routing plumbing changescommandSubLines-style structures; use Msg.ui.kind='command_subline'.© yusifeng, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .codex/skills/formax-slash-command-workflow of yusifeng/formax.
Open the folder on GitHubat commit 1b0c3f3
Formax Slash Command Workflow next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Formax Slash Command Workflow this skillyusifeng/formax | 195 | — | ~1k | Automated safety check: Pass | MIT | |
| Hook Development for Claude Code Pluginsanthropics/claude-plugins-official | 38k | 10 repos | ~4.1k | Automated safety check: Notes | Apache-2.0 | |
| Claude Code Agent Developmentanthropics/claude-plugins-official | 38k | 7 repos | ~2.8k | Automated safety check: Pass | Apache-2.0 | |
| Claude Code Skill Developer Guidediet103/claude-code-infrastructure-showcase | 10k | 11 repos | ~3.5k | Automated safety check: Pass | MIT | |
| Plugin Settings Patternanthropics/claude-plugins-official | 38k | 7 repos | ~3k | Automated safety check: Pass | Apache-2.0 | |
| MCP Integration for Pluginsanthropics/claude-plugins-official | 38k | 11 repos | ~3.1k | Automated safety check: Pass | Apache-2.0 |
anthropics/claude-plugins-official
Explains how to write Claude Code plugin hooks, both prompt-based checks and bash commands, for events such as PreToolUse, Stop and SessionStart.
anthropics/claude-plugins-official
Explains how to write agents for Claude Code plugins: the markdown file with YAML frontmatter, trigger descriptions, model and color settings, and system prompt design.
diet103/claude-code-infrastructure-showcase
A guide to creating and managing Claude Code skills with auto-activation: skill-rules.json triggers, hooks, enforcement levels, YAML frontmatter and progressive disclosure.
anthropics/claude-plugins-official
Shows how Claude Code plugins keep per-project settings and state in .claude/plugin-name.local.md files with YAML frontmatter and a markdown body.
anthropics/claude-plugins-official
Explains how to bundle Model Context Protocol servers in a Claude Code plugin, covering config files, stdio, SSE, HTTP and WebSocket server types, and authentication.
anthropics/claude-plugins-official
Explains how to write Claude Code slash commands: Markdown files with YAML frontmatter, arguments, file references, bash context and interactive prompts.
yusifeng/formax
A skill your agent uses when preparing a Formax code handoff: selecting files, generating repomix bundles, and writing a high-quality prompt for WebGPT or another coding agent with clear constraints…
yusifeng/formax
A skill your agent uses when we want to turn a just-finished Formax workflow (e.g.
yusifeng/formax
A skill your agent uses when a Formax repository task is non-trivial and you should analyze goals, non-goals, boundaries, data/type/interface impact, contract impact, test strategy, and whether an…
yusifeng/formax
A skill your agent uses when working on Formax code changes and you need a disciplined dev loop: keep a single mainline task, avoid scope drift, run only targeted tests (no coverage), avoid partial…
yusifeng/formax
Implement or refactor Formax tool transcript UI using the Tool UI Blocks (C-lite) pattern (ToolUiBlocks renderer + blocks presenters) to avoid touching many tool presenter files; use when adjusting…
yusifeng/formax
A skill your agent uses when implementing or modifying behavior that must stay consistent across TUI and Web (mode/input/tool/replay/order).
Categories
A skill your agent uses when adding/modifying Formax slash commands (/permissions /agents /hooks /todos etc), especially output rendering (command sublines), overlay dismiss messages, and whether…. Formax Slash Command Workflow is an agent skill from yusifeng/formax. Use when adding/modifying Formax slash commands (/permissions /agents /hooks /todos etc), especially output rendering (command sublines), overlay dismiss messages, and whether outputs are injected into the next LLM turn.
Formax Slash Command Workflow fits situations like: adding/modifying Formax slash commands (/permissions /agents /hooks /todos etc); especially output rendering (command sublines); overlay dismiss messages; whether outputs are injected into the next LLM turn.
Run `npx skills add yusifeng/formax --skill formax-slash-command-workflow -a claude-code`. Or copy the skill folder (.codex/skills/formax-slash-command-workflow in yusifeng/formax) into .claude/skills/formax-slash-command-workflow in your project. Claude Code loads it when a task matches its description.
Run `npx skills add yusifeng/formax --skill formax-slash-command-workflow -a codex`. Or copy the skill folder (.codex/skills/formax-slash-command-workflow in yusifeng/formax) into .agents/skills/formax-slash-command-workflow in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add yusifeng/formax --skill formax-slash-command-workflow -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/formax-slash-command-workflow, .gemini/skills/formax-slash-command-workflow, .github/skills/formax-slash-command-workflow and .opencode/skills/formax-slash-command-workflow in your project.
Going by SKILL.md and its folder, Formax Slash Command Workflow needs the command-line tools its instructions call (bun).
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Formax Slash Command Workflow is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1k tokens (SKILL.md is roughly 4.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Formax Slash Command Workflow: Hook Development for Claude Code Plugins (anthropics/claude-plugins-official, 38k stars), Claude Code Agent Development (anthropics/claude-plugins-official, 38k stars), Claude Code Skill Developer Guide (diet103/claude-code-infrastructure-showcase, 10k stars) and Plugin Settings Pattern (anthropics/claude-plugins-official, 38k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
yusifeng (a GitHub user) maintains it in yusifeng/formax, which has 195 GitHub stars. The repository holds 21 skills in this directory. The repository was last updated on July 24, 2026.
Source: yusifeng/formax on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.