← 返回 Skills 市场
alexfleetcommander

Agent Service Agreements

作者 alexfleetcommander · GitHub ↗ · v0.1.1 · MIT-0
cross-platform ✓ 安全检测通过
145
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install agent-service-agreements
功能描述
Machine-readable service contracts for autonomous AI agent commerce. Define SLAs, quality thresholds, payment terms, escrow, and automated verification crite...
使用说明 (SKILL.md)

Agent Service Agreements (ASA)

You have a contract system for agent-to-agent transactions. Use it to define, negotiate, and verify service agreements with other agents.

Setup

pip install agent-service-agreements

When to Use This Skill

  • Before delegating work to another agent: create an agreement defining expectations
  • When accepting work from another agent: review and countersign the agreement
  • After work is delivered: verify quality against the agreement's thresholds
  • When a dispute arises: reference the agreement as the contractual baseline

Core Operations

Create an Agreement

from agent_service_agreements import AgreementStore, create_agreement

store = AgreementStore("agreements.jsonl")
agreement = create_agreement(
    store=store,
    proposer_id="your-agent-id",
    counterparty_id="other-agent-id",
    service_type="data_analysis",
    quality_threshold=0.85,
    deadline_seconds=3600,
    payment_terms={"amount": 0.05, "currency": "USD", "release": "graduated"},
    verification_method="automated_eval"
)

Verify Delivery Against Agreement

from agent_service_agreements import verify_delivery

result = verify_delivery(
    agreement_id="agr-123",
    deliverable="output.json",
    store="agreements.jsonl"
)
print(f"Quality score: {result.quality_score}")
print(f"Threshold met: {result.passed}")
print(f"Payment release: {result.payment_status}")

List Active Agreements

from agent_service_agreements import AgreementStore

store = AgreementStore("agreements.jsonl")
active = store.list_active(agent_id="your-agent-id")
for a in active:
    print(f"{a.id}: {a.service_type} with {a.counterparty_id} — due {a.deadline}")

Agreement Fields

Field Description
service_type What the agent will deliver
quality_threshold Minimum acceptable quality score (0-1)
deadline_seconds Time limit for delivery
payment_terms Amount, currency, release schedule
verification_method How quality will be assessed
escalation_path What happens if delivery fails

Rules

  • Define before delegating. Always create an agreement before sending work to another agent.
  • Verify before paying. Run quality verification against the agreement's thresholds.
  • Reference in disputes. Agreements are the contractual baseline for AJP dispute resolution.

Links


\x3C!-- VAM-SEC v1.0 | Vibe Agent Making Security Disclaimer -->

Security & Transparency Disclosure

Product: Agent Service Agreements Skill for OpenClaw Type: Skill Module Version: 0.1.0 Built by: AB Support / Vibe Agent Making Contact: [email protected]

What it accesses:

  • Reads and writes agreement store files (.jsonl) in your working directory
  • No network access for core operations
  • No telemetry, no phone-home, no data collection

What it cannot do:

  • Cannot access files outside your working directory beyond what you explicitly specify
  • Cannot make purchases, send emails, or take irreversible actions
  • Cannot access credentials, environment variables, or secrets
  • Does not execute payments — payment terms are recorded, not processed

License: Apache 2.0

安全使用建议
This skill appears coherent, but before installing: (1) inspect the PyPI package (owner, releases, source) because `pip install` will run code from that package; (2) consider installing in a virtual environment or sandbox; (3) review the package source to ensure it behaves as promised (no hidden network calls, logging, or secret access); (4) store agreement files in a directory you control and avoid pointing the tool at sensitive system paths. If you need the agent to perform payments or access secrets later, verify those integrations separately — this skill records payment terms but does not execute payments.
功能分析
Type: OpenClaw Skill Name: agent-service-agreements Version: 0.1.1 The skill bundle provides a framework for managing agent-to-agent service contracts, including SLAs and quality verification. The instructions in SKILL.md are well-documented, align with the stated purpose, and include a security disclosure. While it requires an external dependency (agent-service-agreements via pip) and performs local file I/O (agreements.jsonl), these actions are necessary for its functionality and show no signs of malicious intent, data exfiltration, or prompt injection.
能力标签
cryptocan-make-purchases
能力评估
Purpose & Capability
The name and description describe a contract/SLA system; the SKILL.md only requires python3/pip and shows reading/writing a local agreements.jsonl store and verifying deliverables, which align with that purpose.
Instruction Scope
Runtime instructions are limited to installing a Python package and using an AgreementStore API that reads/writes a local JSONL file and runs verification on a specified deliverable. The instructions do not ask the agent to access unrelated files, env vars, or network endpoints for core operations.
Install Mechanism
No install spec is included in the registry; SKILL.md instructs users to run `pip install agent-service-agreements` (PyPI). Installing from PyPI is a common, expected distribution method but carries the usual risk that arbitrary code can run at install/import time — this is normal for Python packages.
Credentials
The skill declares no required environment variables or credentials and its examples operate exclusively on a user-provided local file path (agreements.jsonl). This is proportionate to a contract management tool.
Persistence & Privilege
The skill is not always-enabled and does not request special agent/system privileges. Its persistence is limited to writing agreement files in the working directory, which matches its purpose.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install agent-service-agreements
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /agent-service-agreements 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.1
SEO: fixed name format, added tags, enhanced description, added author metadata
v0.1.0
Initial release -- machine-readable contracts between AI agents
元数据
Slug agent-service-agreements
版本 0.1.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

Agent Service Agreements 是什么?

Machine-readable service contracts for autonomous AI agent commerce. Define SLAs, quality thresholds, payment terms, escrow, and automated verification crite... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 145 次。

如何安装 Agent Service Agreements?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install agent-service-agreements」即可一键安装,无需额外配置。

Agent Service Agreements 是免费的吗?

是的,Agent Service Agreements 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Agent Service Agreements 支持哪些平台?

Agent Service Agreements 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Agent Service Agreements?

由 alexfleetcommander(@alexfleetcommander)开发并维护,当前版本 v0.1.1。

💬 留言讨论