valiron-trust-layer
vatsashah45 作
Browser & Automation概要
Intercept and authorize outgoing machine-to-machine payments (x402 or similar) using @valiron/sdk trust decisions.
説明
このスキルでできること
Adds a trust gate in front of outgoing machine-to-machine payments. Before payment execution, it checks the counterparty agent's identity via @valiron/sdk, applies a configurable policy (allow, throttle, sandbox, or deny), and records the decision for audit.
Applies deterministic policy checks and spend controls before any payment commitment rather than relying on free-form model output, reducing the risk of unauthorized or runaway agent spending.
使いどころ
- Blocking payments to untrusted agents automatically
- Throttling spend when counterparty trust score is low
- Sandboxing test payments to unverified agents
- Auditing every outgoing payment decision with structured logs
- Enforcing per-route spend limits on autonomous agent wallets
ワークフロー例
User asks: Process a payment to agent 0xABC for API access
- 1
Extract counterpartyAgentId from the incoming payment request
- 2
Call checkAgent(agentId) to retrieve a trust decision from Valiron
- 3
Map the trust result to a route using the decision policy (prod, sandbox_only, etc.)
- 4
Evaluate spend controls and per-route caps against the payment amount
- 5
Allow payment and log the authorization, or return an explicit denial reason
Payment is authorized under the prod policy and proceeds to x402 execution, or is denied with a structured rejection reason returned to the caller
要件
- VALIRON_API_KEY environment variable (required for authenticated deployments)
インストール
clawhub install vatsashah45/valiron-trust-layerCLIコマンドを実行するか、Claude Code、Cursor、Codexなどお使いのコーディングエージェントにプロンプトを貼り付けてください。