---
name: paycensus-gate-setup
description: Install and use the Agent Spend Policy (ASPL v0.1) evaluator — per-agent budgets, merchant allowlists backed by Trust Rank, human approval thresholds and a hash-chained local audit. Software only: Gate never touches funds or keys.
user-invocable: true
allowed-tools:
  - WebFetch
  - "Bash(curl:*)"
  - "Bash(npx:*)"
---

# Gate Agent Setup

Gate is an **open policy layer** between AI agents and their wallets. It evaluates
each payment intent against an Agent Spend Policy before money moves and records a
hash-linked audit locally. Gate is software only — it never touches funds, never
holds keys, and does not certify or rate agents.

## Discovery
- Agent manifest: https://gate.paycensus.com/.well-known/agent.json
- Docs index: https://gate.paycensus.com/llms.txt
- Open spec (ASPL v0.1, MIT): https://gate.paycensus.com/spec/
- Source spec: https://github.com/PayCensusLabs/agent-spend-policy
- Runtime evaluator + skill:
  https://github.com/PayCensusLabs/openclaw-skill-agent-spend-gate
- Merchant risk data (Trust Rank): https://agent.paycensus.com/
- Live proof (dogfood): https://agent.paycensus.com/dogfood.html

## Install (OpenClaw / Hermes)
```bash
npx clawhub install @paycensuslabs/agent-spend-gate
# or
npx skills add https://github.com/PayCensusLabs/openclaw-skill-agent-spend-gate --skill agent-spend-gate
```
Initialise a starter policy: `python3 scripts/gate_check.py --init`
Evaluate an intent: `python3 scripts/gate_check.py --resource <merchant> --amount <usd>`
Verify the local audit chain: `python3 engine/gate_policy.py --verify`

## Policy model (ASPL v0.1)
Per-agent budgets, pinned-merchant allowlists, Trust Rank floors, auto-approve and
approval thresholds, scoped keys, and a hash-chained local audit. Anything above the
threshold goes to a human approver; nothing is executed by Gate itself.

## Boundaries
- Gate evaluates and records — it does not execute payments or co-sign transactions.
- Trust Rank floors use public census data; a low or missing rank is a data signal,
  not a scam verdict.
- The audit chain is local and hash-linked; its integrity is independently verifiable.
  Do not treat it as a notarisation or legal evidence.
- Conformance with the governance-readiness checklist (spec §6) is self-declared;
  Gate does not certify agents.

## First useful prompts
- "Evaluate this payment intent against our spend policy and show the audit hash."
- "Install the Gate skill, initialise a starter policy, and verify the chain."
