Bug
After running claude plugin install for all 17 plugins in this marketplace, 4 of them fail to load with:
Hook load failed: [
{
"expected": "record",
"code": "invalid_type",
"path": [],
"message": "Invalid input: expected record, received array"
}
]
Affected plugins
financial-analysis (the core base — most impactful, blocks downstream usage)
equity-research
private-equity
wealth-management
Root cause
The hooks/hooks.json file in these 4 plugins contains an empty array:
But Claude Code's plugin loader expects an object with a hooks field:
Other vertical plugins (e.g. investment-banking, fund-admin, operations) already use the correct format and load fine — so the fix is just normalizing these 4 files.
Reproduction
claude plugin marketplace add anthropics/financial-services
claude plugin install financial-analysis@claude-for-financial-services
claude plugin list # → financial-analysis: ✘ failed to load
Suggested fix
Replace contents of these files from [] to {"hooks": {}}:
plugins/vertical-plugins/financial-analysis/hooks/hooks.json
plugins/vertical-plugins/equity-research/hooks/hooks.json
plugins/vertical-plugins/private-equity/hooks/hooks.json
plugins/vertical-plugins/wealth-management/hooks/hooks.json
After applying the fix locally, all 17 plugins load successfully.
Environment
- Claude Code: 2.1.143
- OS: macOS (Darwin 24.6.0)
- Installed via
claude plugin marketplace add anthropics/financial-services on 2026-05-17
Happy to send a PR if helpful.
Bug
After running
claude plugin installfor all 17 plugins in this marketplace, 4 of them fail to load with:Affected plugins
financial-analysis(the core base — most impactful, blocks downstream usage)equity-researchprivate-equitywealth-managementRoot cause
The
hooks/hooks.jsonfile in these 4 plugins contains an empty array:But Claude Code's plugin loader expects an object with a
hooksfield:{ "hooks": {} }Other vertical plugins (e.g.
investment-banking,fund-admin,operations) already use the correct format and load fine — so the fix is just normalizing these 4 files.Reproduction
claude plugin marketplace add anthropics/financial-services claude plugin install financial-analysis@claude-for-financial-services claude plugin list # → financial-analysis: ✘ failed to loadSuggested fix
Replace contents of these files from
[]to{"hooks": {}}:plugins/vertical-plugins/financial-analysis/hooks/hooks.jsonplugins/vertical-plugins/equity-research/hooks/hooks.jsonplugins/vertical-plugins/private-equity/hooks/hooks.jsonplugins/vertical-plugins/wealth-management/hooks/hooks.jsonAfter applying the fix locally, all 17 plugins load successfully.
Environment
claude plugin marketplace add anthropics/financial-serviceson 2026-05-17Happy to send a PR if helpful.