Skip to main content

register-action

Stars3
Forks1
UpdatedApril 22, 2026 at 14:54

Register a typed, AI-callable tool via usePilotAction. The handler runs in the browser against the consumer's React state, auth'd fetch, or any other client-side capability. Zod schema is inferred into the handler's argument type. Use when adding a new capability (create X, update Y, trigger Z) and includes `mutating:` flag guidance.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

SKILL.md
readonly