Token导航 LogoToken导航

Agent Skill · 开发

agent-commercial-contract(Agent 商业合同)

agent-commercial-contract 用于补充开发相关能力,适合在 OpenClaw 中需要让 Agent 承接开发相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

agent-commercial-contract 是开发类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为接触敏感数据;许可证为 MIT-0,第三方扫描有提醒项,按安装量在开发类的 21,746 个 Skill 里排第 2,579。

总安装 16,133周安装 679GitHub Stars 1下载 5,649核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.0.0

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:agent-commercial-contract(Agent 商业合同)
来源仓库:https://github.com/zhenstaff/agent-commercial-contract
安装命令:
openclaw skills install agent-commercial-contract
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

ClawHubOpenClaw
openclaw skills install agent-commercial-contract

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

使AI Agent能够自主协商、签署、执行和执行具有托管、里程碑付款和争议解决功能的具有法律约束力的商业合同。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install agent-commercial-contract;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

agent-commercial-contract 怎么安装?

在终端执行 openclaw skills install agent-commercial-contract。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

agent-commercial-contract 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

agent-commercial-contract 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

agent-commercial-contract 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

agent-commercial-contract 用的人多吗?

公开数据是累计安装 16,133 次,近一周安装 679 次,下载 5,649 次,GitHub 1 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

agent-commercial-contract 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
skill-vetter

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
agent-commercial-contract

Agent 商业合同 · 本页

16,1331接触敏感数据MIT-0有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Agent Commercial Contract

English | 中文


English Version

Tagline: The Legal Layer for Agent-to-Agent Commerce

Category: Automation / Legal Tech

Version: 1.0.0


What is it?

Agent Commercial Contract is a comprehensive smart contract framework that enables AI agents to autonomously negotiate, sign, execute, and enforce commercial agreements. It provides the legal and financial infrastructure necessary for agent-to-agent commerce.


Core Capabilities

Contract Management

  • Create legally-binding contracts from templates or custom terms
  • Multi-party digital signatures with cryptographic verification
  • Automated contract lifecycle (draft → signed → active → completed)
  • Milestone-based execution with deliverable tracking
  • Full audit trail of all contract events

Agent Identity & Authentication

  • Cryptographic identity system with public/private key pairs
  • Digital signature generation and verification
  • API key-based authentication
  • Capability-based access control

Escrow & Payment

  • Automated payment holding in secure escrow accounts
  • Milestone-based fund release mechanisms
  • Refund and dispute handling
  • Multi-currency support
  • Complete transaction history

Dispute Resolution

  • Structured dispute raising with evidence submission
  • Arbitrator assignment (human or AI)
  • Evidence verification with cryptographic hashing
  • Automated compensation calculation
  • Resolution enforcement

When to Use This Skill

AI Agent Marketplaces Build marketplaces where AI agents can buy and sell services with automatic contract enforcement.

Multi-Agent Collaboration Enable multiple agents to work together on projects with clear terms, milestone-based payments, and automated conflict resolution.

API-as-a-Service Networks Create networks where agents monetize their APIs with usage tracking, billing automation, and SLA enforcement.

Data Exchange Platforms Build secure platforms for agents to buy/sell datasets with quality guarantees, escrow protection, and provenance tracking.


Quick Start

Installation:

npm install agent-commercial-contract

Basic Usage:

import AgentCommercialContract from 'agent-commercial-contract';

const sdk = new AgentCommercialContract();

// Register agents
const provider = await sdk.identity.registerAgent('Provider AI', ['data-processing']);
const consumer = await sdk.identity.registerAgent('Consumer AI', ['analytics']);

// Create contract with escrow
const result = await sdk.createContractWithEscrow(
  provider.data.identity,
  consumer.data.identity,
  {
    title: 'Data Processing Service',
    service: { type: 'data-processing', specification: '...' },
    payment: { amount: 5000, currency: 'USD', structure: 'milestone' },
    timeline: { duration: 30 },
  }
);

CLI Commands:

# Register agent
agent-contract agent register --name "My Agent" --capabilities "data-processing"

# Create contract
agent-contract contract create \
  --provider agent_xxx \
  --consumer agent_yyy \
  --title "Service Agreement" \
  --amount 1000 \
  --with-escrow

# View dashboard
agent-contract dashboard --agent agent_xxx

Integration with AI Agents

Autonomous Agent Workflow:

class AutonomousAgent {
  constructor(private sdk: AgentCommercialContract) {}

  async offerService() {
    await this.sdk.identity.registerAgent('My Service Bot', ['data-processing']);
  }

  async acceptContract(contractId: string) {
    const contract = this.sdk.contracts.getContract(contractId);
    if (this.canFulfill(contract)) {
      const signature = this.generateSignature(contract);
      await this.sdk.contracts.signContract({
        contractId,
        agentId: this.agentId,
        signature,
        credentials: this.credentials,
      });
    }
  }

  async deliverWork(contractId: string, milestoneId: string) {
    await this.sdk.completeMilestoneAndPay(contractId, milestoneId, this.agentId);
  }
}

Security & Best Practices

Cryptographic Security:

  • RSA 2048-bit keys for digital signatures
  • SHA-256 hashing for evidence integrity
  • Secure key storage recommendations
  • API key rotation support

Legal Enforceability:

  • Digital signatures legally binding
  • Jurisdiction specification in contracts
  • Audit trails for compliance
  • Dispute resolution mechanisms

Best Practices:

  • Never commit private keys to version control
  • Use environment variables for sensitive data
  • Implement key rotation policies
  • Maintain comprehensive audit logs
  • Test contracts in staging environment first

API Reference

ContractManager:

  • createContract() - Create new contract
  • signContract() - Sign with digital signature
  • activateContract() - Activate signed contract
  • completeContract() - Mark as completed

EscrowManager:

  • createEscrow() - Create escrow account
  • deposit() - Deposit funds
  • release() - Release payment
  • refund() - Process refund

DisputeManager:

  • raiseDispute() - Raise dispute
  • submitEvidence() - Submit evidence
  • resolveDispute() - Resolve with ruling

Dependencies

  • TypeScript: Type-safe development
  • nanoid: Unique ID generation
  • better-sqlite3: Local contract storage (optional)
  • jsonwebtoken: JWT authentication
  • chalk: CLI output formatting
  • commander: CLI framework

Support

  • GitHub: https://github.com/ZhenRobotics/agent-commercial-contract
  • Documentation: Full API docs and guides
  • Issues: Bug reports and feature requests

License

MIT License - Free for commercial and personal use


<a name="中文版本"></a>

中文版本

标语: AI Agent 商业交易的法律层

分类: 自动化 / 法律科技

版本: 1.0.0


这是什么?

Agent Commercial Contract 是一个综合性智能合约框架,使 AI Agent 能够自主协商、签署、执行和强制执行商业协议。它为 Agent 之间的商业交易提供必要的法律和金融基础设施。


核心能力

合同管理

  • 从模板或自定义条款创建具有法律约束力的合同
  • 带加密验证的多方数字签名
  • 自动化合同生命周期(草稿 → 已签署 → 活跃 → 完成)
  • 基于里程碑的执行与可交付成果跟踪
  • 所有合同事件的完整审计追踪

Agent 身份与认证

  • 具有公钥/私钥对的加密身份系统
  • 数字签名生成和验证
  • 基于 API 密钥的认证
  • 基于能力的访问控制

托管与支付

  • 在安全托管账户中自动保管付款
  • 基于里程碑的资金释放机制
  • 退款和纠纷处理
  • 多币种支持
  • 完整的交易历史

纠纷解决

  • 结构化的纠纷提出与证据提交
  • 仲裁员分配(人工或 AI)
  • 使用加密哈希的证据验证
  • 自动补偿计算
  • 决议执行

何时使用此 Skill

AI Agent 市场 构建 AI Agent 可以买卖服务的市场,具有自动合同执行功能。

多 Agent 协作 使多个 Agent 能够在项目上协作,具有明确的条款、基于里程碑的付款和自动冲突解决。

API 即服务网络 创建 Agent 将其 API 货币化的网络,具有使用跟踪、自动计费和 SLA 执行。

数据交换平台 构建 Agent 买卖数据集的安全平台,具有质量保证、托管保护和来源跟踪。


快速开始

安装:

npm install agent-commercial-contract

基本用法:

import AgentCommercialContract from 'agent-commercial-contract';

const sdk = new AgentCommercialContract();

// 注册 Agent
const provider = await sdk.identity.registerAgent('提供者 AI', ['数据处理']);
const consumer = await sdk.identity.registerAgent('消费者 AI', ['分析']);

// 创建带托管的合同
const result = await sdk.createContractWithEscrow(
  provider.data.identity,
  consumer.data.identity,
  {
    title: '数据处理服务',
    service: { type: 'data-processing', specification: '...' },
    payment: { amount: 5000, currency: 'USD', structure: 'milestone' },
    timeline: { duration: 30 },
  }
);

CLI 命令:

# 注册 Agent
agent-contract agent register --name "我的 Agent" --capabilities "data-processing"

# 创建合同
agent-contract contract create \
  --provider agent_xxx \
  --consumer agent_yyy \
  --title "服务协议" \
  --amount 1000 \
  --with-escrow

# 查看仪表板
agent-contract dashboard --agent agent_xxx

与 AI Agent 集成

自主 Agent 工作流:

class AutonomousAgent {
  constructor(private sdk: AgentCommercialContract) {}

  async offerService() {
    await this.sdk.identity.registerAgent('我的服务机器人', ['数据处理']);
  }

  async acceptContract(contractId: string) {
    const contract = this.sdk.contracts.getContract(contractId);
    if (this.canFulfill(contract)) {
      const signature = this.generateSignature(contract);
      await this.sdk.contracts.signContract({
        contractId,
        agentId: this.agentId,
        signature,
        credentials: this.credentials,
      });
    }
  }

  async deliverWork(contractId: string, milestoneId: string) {
    await this.sdk.completeMilestoneAndPay(contractId, milestoneId, this.agentId);
  }
}

安全性与最佳实践

加密安全:

  • 用于数字签名的 RSA 2048 位密钥
  • 用于证据完整性的 SHA-256 哈希
  • 安全密钥存储建议
  • API 密钥轮换支持

法律可执行性:

  • 数字签名具有法律约束力
  • 合同中的司法管辖区规范
  • 用于合规的审计追踪
  • 纠纷解决机制

最佳实践:

  • 切勿将私钥提交到版本控制
  • 使用环境变量存储敏感数据
  • 实施密钥轮换策略
  • 维护全面的审计日志
  • 先在测试环境中测试合同

API 参考

ContractManager(合同管理器):

  • createContract() - 创建新合同
  • signContract() - 使用数字签名签署
  • activateContract() - 激活已签署的合同
  • completeContract() - 标记为已完成

EscrowManager(托管管理器):

  • createEscrow() - 创建托管账户
  • deposit() - 存入资金
  • release() - 释放付款
  • refund() - 处理退款

DisputeManager(纠纷管理器):

  • raiseDispute() - 提出纠纷
  • submitEvidence() - 提交证据
  • resolveDispute() - 以裁决解决

依赖项

  • TypeScript:类型安全开发
  • nanoid:唯一 ID 生成
  • better-sqlite3:本地合同存储(可选)
  • jsonwebtoken:JWT 认证
  • chalk:CLI 输出格式化
  • commander:CLI 框架

支持

  • GitHub: https://github.com/ZhenRobotics/agent-commercial-contract
  • 文档: 完整的 API 文档和指南
  • 问题: 错误报告和功能请求

许可证

MIT 许可证 - 可免费用于商业和个人用途


为 AI Agent 提供法律和金融自主权 🤖⚖️

平台分布

OpenClaw

88.69%
按下载量换算5,010

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

通过

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills