Skip to content

hooks.json ships as empty array [] causing plugin load failure #5

@jrezmo

Description

@jrezmo

Both financial-analysis and wealth-management plugins fail to load with the following error after a fresh install:

Hook load failed: [{ "expected": "object", "code": "invalid_type", "path": [], "message": "Invalid input: expected object, received array" }]

Root cause: hooks/hooks.json in both plugins ships as [] (empty array). The CLI hook loader expects an object with a hooks key.

Affected plugins: financial-analysis@0.1.0, wealth-management@0.1.0
CLI version: 2.1.59

Workaround: Replace contents of hooks.json with {"hooks":{}} in both the cache and marketplace paths under ~/.claude/plugins/.
Steps to reproduce:

claude plugin marketplace add anthropics/financial-services-plugins
claude plugin install financial-analysis@financial-services-plugins
claude plugin list → status shows ✘ failed to load

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions