Skip to main content

register-state

Stars3
Forks1
UpdatedApril 22, 2026 at 14:54

Expose a slice of React state to the AI with usePilotState. The value is serialized into every model turn; when a setter is provided, an `update_<name>` tool is auto-registered so the AI can propose whole-value replacements. Use when a consumer says "show the AI my data" or "let the AI read X".

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