with one click
compliance-hooks-setup
// Use when the user asks to enable, configure, or troubleshoot OloLand compliance hooks for Claude Cowork finance plugins. Walks through MNPI guard, citation enforcer, and provenance writeback configuration.
// Use when the user asks to enable, configure, or troubleshoot OloLand compliance hooks for Claude Cowork finance plugins. Walks through MNPI guard, citation enforcer, and provenance writeback configuration.
[HINT] Download the complete skill directory including SKILL.md and all related files
| name | compliance-hooks-setup |
| description | Use when the user asks to enable, configure, or troubleshoot OloLand compliance hooks for Claude Cowork finance plugins. Walks through MNPI guard, citation enforcer, and provenance writeback configuration. |
This plugin populates the empty hooks/hooks.json scaffold that Anthropic's vertical finance plugins (private-equity, financial-analysis, investment-banking, equity-research, wealth-management) ship with.
# mnpi:cleared marker.mcp__ololand__generate_investment_memo, generate_cim, export_deal_dossier, plus all Write/Edit/MultiEdit). Scans for $-amounts, %, and multiples without an adjacent citation. Warns by default; set OLOLAND_CITATION_BLOCK=1 to upgrade to a hard deny.~/.ololand/provenance/YYYY-MM-DD.ndjson after every generative tool call. Mirrors to OloLand's audit API if OLOLAND_AGENT_KEY is set.mcp__ololand__*). Mirrors every OloLand MCP call into ~/.ololand/audit/YYYY-MM-DD.ndjson with phase, tool name, and a 2KB payload head.Anthropic's private-equity/hooks/hooks.json ships as []. Same for the other four vertical finance plugins. There is no compliance hook, no citation enforcement, no provenance writeback, no MNPI guard. For a regulated buy-side workflow this is unacceptable — you cannot defend a number to the IC if you cannot prove what ran, what it was sourced from, or that no MNPI leaked into a prompt.
| Var | Default | Purpose |
|---|---|---|
OLOLAND_CITATION_BLOCK | 0 | Set to 1 to make the citation enforcer block (exit 2) rather than warn. |
OLOLAND_AGENT_KEY | unset | If set, provenance + audit lines are mirrored to ${OLOLAND_API_URL}/api/agent/audit. |
OLOLAND_API_URL | https://app.ololand.ai | Override the API base for self-hosted OloLand deployments. |
Both ledgers live in ~/.ololand/:
~/.ololand/audit/YYYY-MM-DD.ndjson # every mcp__ololand__* call
~/.ololand/provenance/YYYY-MM-DD.ndjson # every generative output
Inspect with jq -c '.' ~/.ololand/provenance/$(date -u +%Y-%m-%d).ndjson.
This plugin is designed to run alongside ololand-dd, Anthropic's vertical finance plugins, and any custom plugin a firm installs. Hooks compose additively — multiple plugins' PreToolUse matchers all run for the same event.
claude plugin list shows ololand-compliance-hooks enabled. Run bash ~/.claude/plugins/cache/ololand-compliance-hooks/*/scripts/mnpi_guard.sh < /dev/null to test the script directly.