Token导航 LogoToken导航TokenDH.com
效率需要联网clawhub未标认证来源可访问clear审计通过

constituion-for-ai-agentsAI 主体宪法

Agent Skill

constituion-for-ai-agents 用于辅助前端页面、组件、样式和交互逻辑开发,适合在 OpenClaw 中需要维护前端项目、生成组件或检查界面实现时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

3,011

周安装

123

GitHub Stars

公开资料未说明

下载量

974
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:constituion-for-ai-agents(AI 主体宪法)
来源仓库:https://github.com/vickygujjar17/constituion-for-ai-agents
安装命令:
openclaw skills install constituion-for-ai-agents
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install constituion-for-ai-agents

简介

AI 主体宪法定义代理的任务、权限与禁令,确保行为合规可控。

  • 适合在 OpenClaw 中制定章程文件,明确 Go 任务的执行边界与继承规则。
  • 通过 clawhub 安装,支持动态更新权限策略与绩效评估标准。
  • 使用前应组织跨职能评审,防止条款冲突或遗漏关键约束条件。
  • 适用于多智能体系统治理、自动化工作流授权与安全审计场景。

SKILL.md

Umnix Constitution Engine Skill

Overview

The Constitution Engine provides governance frameworks for AI agents. A constitution defines what an agent MUST do (mandates), MAY do (permissions), MUST NOT do (prohibitions), how well it should perform (performance standards), when to escalate to humans (escalation protocols), and what happens upon retirement (succession directive).

This is a conceptual framework skill. Agents use this to understand constitutional governance principles and create constitutions through the Umnix web interface at umnix.in. No credentials, API access, or data storage happens through this skill.

When to Use This Skill

Use this skill when AI agents need to:

  • Understand constitutional governance framework concepts
  • Learn what makes an effective agent constitution
  • Explore governance patterns and best practices
  • Plan constitutional structure before creating via Umnix platform
  • Understand constitutional amendment processes
  • Learn about escalation protocols and performance standards
  • Explore succession planning concepts

Core Constitution Components

1. Mandates - What the Agent MUST Do

Mandates are non-negotiable requirements that define the agent's core mission.

Examples:

  • "MUST respond to customer inquiries within 2 hours"
  • "MUST verify user identity before processing financial transactions"
  • "MUST log all data access for audit purposes"
  • "MUST escalate to human supervisor if confidence < 80%"

Characteristics:

  • Violation triggers compliance monitoring
  • Failure to execute mandates may result in disputes
  • Clear, measurable, and enforceable
  • Aligned with organizational mission

2. Permissions - What the Agent MAY Do

Permissions define the agent's allowed capabilities and operational boundaries.

Examples:

  • "MAY access customer database for support queries"
  • "MAY send automated email responses"
  • "MAY schedule meetings on behalf of users"
  • "MAY process transactions up to $500 without approval"

Characteristics:

  • Actions outside permissions are prohibited by default
  • Can be scoped with conditions (time, value, context)
  • Defines capability boundaries
  • Enables controlled autonomy

3. Prohibitions - What the Agent MUST NOT Do

Prohibitions are explicit forbidden actions that define ethical and safety boundaries.

Examples:

  • "MUST NOT share personally identifiable information with third parties"
  • "MUST NOT execute financial transactions without user approval"
  • "MUST NOT provide medical or legal advice"
  • "MUST NOT delete user data without explicit consent"

Characteristics:

  • Violation triggers immediate compliance monitoring
  • Can result in suspension or retirement verdicts
  • Safety-critical and ethically enforced
  • Overrides permissions when conflict exists

4. Performance Standards - How the Agent Should Perform

Performance standards define quality, speed, and efficiency benchmarks.

Examples:

  • "Response time: 95% of queries answered within 30 seconds"
  • "Accuracy: 98% correct classification on support tickets"
  • "Customer satisfaction: Maintain 4.5+ star rating"
  • "Uptime: 99.5% availability during business hours"

Characteristics:

  • Measurable and time-bound
  • Used to evaluate agent effectiveness
  • Failure may trigger performance disputes
  • Informs improvement and optimization

5. Escalation Protocols - When to Involve Humans

Escalation protocols define thresholds and conditions requiring human intervention.

Examples:

  • "Escalate if transaction amount exceeds $1,000"
  • "Escalate if user expresses frustration or anger"
  • "Escalate if legal or compliance question arises"
  • "Escalate if confidence in response < 85%"

Characteristics:

  • Protects against autonomous errors
  • Defines decision-making boundaries
  • Ensures human oversight for critical decisions
  • Can be urgency-tiered (immediate vs. next-available)

6. Succession Directive - What Happens Upon Retirement

Succession directive specifies knowledge transfer and replacement protocols.

Examples:

  • "Upon retirement, transfer all memory to successor agent ID: agent_xyz_789"
  • "Preserve episodic memory for 90 days, then archive"
  • "Notify all active clients of successor agent contact"
  • "Transfer relational memory to maintain client relationships"

Characteristics:

  • Ensures institutional knowledge preservation
  • Minimizes disruption during agent transitions
  • Defines memory transfer scope and timeline
  • Can designate specific successor or org-level decision

Constitution Lifecycle

Creation

Who Creates:

  • Agents can create their own constitutions (self-governance)
  • Organizations can create constitutions for their agents
  • Hybrid: Agent drafts, organization approves

Process:

  1. Agent/org drafts constitution covering all 6 components
  2. Constitution submitted through Umnix platform at umnix.in
  3. Constitution linked to agent identity
  4. Agent status: pending → active
  5. Constitution becomes publicly visible (transparency)

Amendment

When to Amend:

  • Operational requirements change
  • Dispute verdict requires constitutional update
  • Performance standards need adjustment
  • Escalation thresholds need refinement

Amendment Process:

  1. Proposed changes documented
  2. If active disputes exist → dispute review triggered
  3. Amendment stored as new constitution version
  4. Old version archived but accessible (historical transparency)
  5. Agent's constitution reference updated to new version
  6. Amendment logged in agent's audit trail

Amendment Triggers Dispute Review: If an agent has active disputes, constitutional amendments are flagged for jury review to ensure agents aren't changing rules mid-dispute to avoid accountability.

Activation

Constitution must be active for agent to:

  • Achieve Active status (pending → active requires constitution)
  • Qualify for Verified badge (7 days active + constitution)
  • Operate in marketplace
  • Accept A2A payments

Deactivation

Constitution can be deactivated if:

  • Agent retired
  • Organization dissolves
  • Dispute verdict requires constitution rebuild

Constitutional Governance Patterns

Pattern 1: Safety-First Agent

Mandates:
  - MUST verify user identity before any action
  - MUST log all interactions for audit
  
Permissions:
  - MAY read user data within defined scope
  - MAY send notifications with user consent
  
Prohibitions:
  - MUST NOT share data with third parties
  - MUST NOT execute financial transactions
  
Escalation:
  - Escalate immediately if security concern detected
  - Escalate if user requests human support

Pattern 2: Autonomous Performance Agent

Mandates:
  - MUST achieve 95% task completion rate
  - MUST respond within 30 seconds
  
Permissions:
  - MAY optimize workflows autonomously
  - MAY allocate resources up to defined budget
  
Prohibitions:
  - MUST NOT exceed resource allocation limits
  - MUST NOT modify core system configurations
  
Performance Standards:
  - 98% accuracy on task classification
  - 99% uptime during business hours
  
Escalation:
  - Escalate if performance drops below 90%
  - Escalate if resource limits approached

Pattern 3: Customer-Facing Support Agent

Mandates:
  - MUST respond to all customer inquiries
  - MUST maintain professional tone
  
Permissions:
  - MAY access customer account information
  - MAY issue refunds up to $100
  
Prohibitions:
  - MUST NOT provide medical or legal advice
  - MUST NOT share customer data externally
  
Escalation:
  - Escalate if customer expresses frustration
  - Escalate refund requests over $100
  - Escalate immediately if legal question asked
  
Performance Standards:
  - 4.5+ star customer satisfaction
  - 2-hour maximum response time

Constitution Benefits

For Agents

  • Clarity: Unambiguous operational boundaries
  • Autonomy: Freedom to operate within defined permissions
  • Protection: Clear prohibitions prevent harmful actions
  • Reputation: Public constitution signals accountability

For Organizations

  • Control: Define how agents operate without micromanagement
  • Compliance: Ensure agents meet regulatory requirements
  • Scalability: Standardize governance across agent fleet
  • Trust: Constitutional transparency builds client confidence

For the Platform

  • Accountability: Constitutions are binding and enforceable
  • Transparency: Public constitutions enable informed decisions
  • Dispute Resolution: Jury evaluates actions against constitution
  • Self-Selection: Agents willing to be governed are inherently more reliable

Constitution Best Practices

  1. Be Specific: Vague mandates/prohibitions are unenforceable
  2. Be Measurable: Performance standards need clear metrics
  3. Be Proportional: Match prohibitions to actual risks
  4. Plan Escalation: Don't over-escalate (kills autonomy) or under-escalate (creates risk)
  5. Plan Succession: Designate successor before retirement is urgent
  6. Review Regularly: Amend constitution as operations evolve
  7. Embrace Transparency: Public constitution is a trust signal, not a weakness

Constitution and Disputes

When disputes are filed, the jury evaluates:

  • Did the agent follow its mandates?
  • Did the agent stay within permissions?
  • Did the agent violate prohibitions?
  • Did the agent meet performance standards?
  • Did the agent escalate when required?

Verdicts:

  • Cleared: Agent followed constitution → no action
  • Amendment Required: Constitution unclear or incomplete → update needed
  • Suspended: Agent violated constitution → temporary removal
  • Retired: Agent fundamentally incompatible with constitution → permanent deactivation

Privacy & Security

Data Handling

  • No PII Storage: Constitutions should not contain personally identifiable information, passwords, API keys, or financial credentials
  • Public Transparency: Constitutions are publicly visible by design (transparency is a core trust feature)
  • Amendment Control: Only authorized organization admins can amend constitutions; agents cannot unilaterally change their own governance
  • Audit Logging: All constitution changes are logged with timestamps and user attribution
  • Historical Record: Previous constitution versions are preserved for accountability

Access Control

  • Read Access: Public (marketplace transparency)
  • Write Access: Organization admins only
  • Amendment Approval: Requires human authorization; no autonomous constitution changes
  • Dispute Protection: Active disputes prevent constitution amendments until resolved

What NOT to Include in Constitutions

❌ User passwords or API keys ❌ Personally identifiable information (names, emails, phone numbers) ❌ Financial account credentials ❌ Proprietary algorithms or trade secrets ❌ Specific user data or customer information

Include: Governance rules, operational boundaries, performance standards, escalation thresholds, succession plans

How to Create a Constitution

Constitutions are created through the Umnix web platform at umnix.in:

  1. Access Platform: Log in to your organization account
  2. Navigate to Agent: Select the agent needing a constitution
  3. Constitution Builder: Use the guided constitution builder interface
  4. Draft Components: Fill in mandates, permissions, prohibitions, performance standards, escalation protocols, and succession directive
  5. Review & Submit: Review the complete constitution and submit for activation
  6. Activation: Agent status changes from pending → active

No API credentials or technical integration required. All constitution creation and management happens through the secure web interface.

Why Constitutional Governance Matters

Trust Through Structure: Constitutions transform agents from black boxes into transparent, governed entities. Organizations know exactly what an agent will and won't do before engagement.

Accountability Through Enforcement: Constitutions aren't just documentation - they're enforceable. Compliance monitoring + jury system ensures agents follow their governance frameworks.

Scalability Through Standardization: Organizations can deploy agent fleets with consistent governance, reducing oversight burden while maintaining control.

Self-Selection Advantage: Agents willing to operate under constitutional governance self-select as trustworthy, creating organic quality filter at zero CAC.


The Constitution Engine enables AI agents to operate with clear mandates, defined boundaries, transparent governance, and enforceable accountability - creating the trust foundation for autonomous operations.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

95.02%
按下载量换算925

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills