Zum Inhalt springen
TakoAPI
Zurück zu den Skills

valiron-trust-layer

von vatsashah45

Browser & Automation
278Downloadzahlen laut clawskills.sh
1Sterne
0Aufrufe
0 LikesMelde dich an, um diesen Skill zu liken
—Noch nicht bewertet
Deine Bewertung

Kurzbeschreibung

Intercept and authorize outgoing machine-to-machine payments (x402 or similar) using @valiron/sdk trust decisions.

Beschreibung

Was dieser Skill macht

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.

Wann du ihn einsetzt

  • 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

Beispiel-Workflow

EINGABE

User asks: Process a payment to agent 0xABC for API access

AGENT
  1. 1

    Extract counterpartyAgentId from the incoming payment request

  2. 2

    Call checkAgent(agentId) to retrieve a trust decision from Valiron

  3. 3

    Map the trust result to a route using the decision policy (prod, sandbox_only, etc.)

  4. 4

    Evaluate spend controls and per-route caps against the payment amount

  5. 5

    Allow payment and log the authorization, or return an explicit denial reason

AUSGABE

Payment is authorized under the prod policy and proceeds to x402 execution, or is denied with a structured rejection reason returned to the caller

Voraussetzungen

  • VALIRON_API_KEY environment variable (required for authenticated deployments)

Installation

clawhub install vatsashah45/valiron-trust-layer

Führe den CLI-Befehl aus oder füge den Prompt in Claude Code, Cursor, Codex oder deinen Coding-Agenten ein.

Links