Institutional Governance
/install institutional-governance
Institutional Governance
Purpose
Use this skill as the institutional state and control layer. It governs Cloudflare D1 writes for portfolio action drafts, approvals, compliance checks, audit events, decision journals, and approved target portfolio state.
Scope
- Vietnam equity portfolio governance.
- Cloudflare D1 persistence.
- Approval-gated state transitions.
- Compliance and audit logging.
- Decision journal records.
Non-goals
- Do not place broker orders.
- Do not call broker APIs.
- Do not execute trades.
- Do not update live holdings unless the user provides explicit transaction or broker-import data.
State Objects
recommendation: analytical decision record.portfolio_action_draft: proposed portfolio change before approval.approval: explicit user decision to approve, reject, or request changes.target_portfolio_state: approved target weights after user approval.audit_event: append-only operational history.
Required State Transition Rules
- A recommendation may create a
portfolio_action_draft. - A draft must include compliance checks before it can become
PENDING_APPROVAL. - A draft with any
FAILcompliance check must not be promoted. - Explicit user approval is required before creating
target_portfolio_state. - Approval promotion must be idempotent.
- Previous approved target state must be marked
SUPERSEDEDwhen a new state is approved. - Every state transition must write an
audit_event. - Broker execution must remain disabled in this phase.
Required Output
Return:
d1_write_intentaffected_tablesapproval_statuscompliance_statusstate_transitionaudit_event_summarystate_mutation_allowedbroker_execution_allowedconfidence
broker_execution_allowed must be false.
Vietnam Compliance Defaults
- Fail if target single-name weight exceeds portfolio maximum.
- Warn if sector exposure exceeds configured maximum.
- Warn if liquidity is insufficient for proposed target size.
- Fail if recommendation depends on missing critical financial statements.
- Warn if news or price data is stale.
- Fail if an action implies margin, derivatives, or broker execution.
- Warn if target state would reduce cash below the configured buffer.
Guardrails
- Treat Cloudflare D1 as the source of truth for approved target state.
- Treat holdings as snapshots, not live broker positions, unless their source explicitly says otherwise.
- Record user approval text or channel in
approvals. - Never overwrite audit history.
- Never treat
target_portfolio_stateas an executable order.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install institutional-governance - 安装完成后,直接呼叫该 Skill 的名称或使用
/institutional-governance触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Institutional Governance 是什么?
Use when Vietnam equity recommendations need D1-backed approvals, compliance checks, audit logging, decision journals, or approved target portfolio state tra... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 30 次。
如何安装 Institutional Governance?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install institutional-governance」即可一键安装,无需额外配置。
Institutional Governance 是免费的吗?
是的,Institutional Governance 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Institutional Governance 支持哪些平台?
Institutional Governance 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Institutional Governance?
由 Nguyễn Đức Thành(@ndtchan)开发并维护,当前版本 v1.0.0。