goal-gate
Installation
SKILL.md
Goal Gate
/goal-gate writes and gates contracts. It does not turn the session into product Goal mode. Only a host with a verified goal facility can do that: Codex via create_goal, Grok via the user-run /goal <objective>, Claude Code via user /goal plus transcript evaluation. Cursor CLI has no verified product /goal or goal API; it soft-adopts the contract in the current chat and uses Cursor's native chat resume for continuity.
Independent from workflow-gate: consume a Workflow Gate block when one is present, but do not require one.
Fast Path
Read this file only by default. Load at most one reference.
- Detect runtime with the ordered rules below. Explicit Cursor CLI intent wins over the model-provider name.
- Classify Goal Fit, then run the Safety Gate.
- Determine whether the user or system explicitly requested a Goal action, then pick one Decision from the Auto-Set table and emit one
Goal Gateblock per selected runtime. - If
set-now, execute the compact runtime action in the table. Loadreferences/runtime-actions.mdonly when that row is not enough to act. - Load
references/copy-ready-goals.mdonly when drafting a user-copyable prompt. Loadreferences/examples.mdonly when a worked example is needed.
Do not load two references in the same turn. Do not invent goal APIs.