-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
Description
Phase 1: Once Field
Context
The Claude Code docs define a once field on hook handlers. When true, the hook runs only once per session and is then removed. This is primarily relevant for hooks defined in skills/agents frontmatter.
Field to Add
| Field | Type | Description |
|---|---|---|
once |
Bool? |
If true, runs only once per session then is removed. Skills only, not agents |
Files to Modify
Sources/mcs/Core/Settings.swift— addoncetoHookEntry- Manifest/component definitions if pack skills need this
Acceptance Criteria
-
HookEntrysupportsonceas an optional Codable field - Backward compatible with existing settings
Reference
Reactions are currently unavailable