Skip to content

Marketplace validation fails: unrecognized commandWindows field in hooks.json breaks install via Claude.ai plugin marketplace #593

Description

@timescorporate

When adding this repo as a plugin marketplace in Claude.ai (Cowork), installation fails with:

MARKETPLACE_ERROR:REMOTE_SYNC_FAILED — status: failed_content
"1 plugins found, 1 failed validation"
plugin "ponytail": Unknown hook field(s) ['commandWindows'] in 'SessionStart' and 'UserPromptSubmit' hook 0.
Hooks must only use fields the approval UI can display.

Looking at hooks/hooks.json, both the SessionStart and UserPromptSubmit hook entries include a commandWindows field alongside command:

{
  "type": "command",
  "command": "node \"${PLUGIN_ROOT}/hooks/ponytail-activate.js\"",
  "commandWindows": "node \"%PLUGIN_ROOT%\\hooks\\ponytail-activate.js\"",
  "timeout": 5,
  "statusMessage": "Loading ponytail mode..."
}

commandWindows doesn't appear to be part of the currently supported hooks schema on Claude.ai's marketplace validator, so it rejects the whole plugin as failed_content — even though it presumably works fine locally in Claude Code.

Could the Windows-specific command be handled another way (e.g. a single cross-platform command, or a wrapper script) so the plugin validates on Claude.ai's marketplace too? Happy to retest once updated. Thanks for the plugin!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions