← All skills
Tencent SkillHub Β· AI

Signet Guardian

Payment guard middleware for AI agents. Use whenever any skill is about to initiate a payment. Runs a preflight check against the user's policy (payments enabled, per-transaction limit, monthly cap). Returns ALLOW, DENY, or CONFIRM_REQUIRED. Other payment-capable skills must call signet-preflight before proceeding and signet-record after a successful payment.

skill openclawclawhub Free
0 Downloads
0 Stars
0 Installs
0 Score
High Signal

Payment guard middleware for AI agents. Use whenever any skill is about to initiate a payment. Runs a preflight check against the user's policy (payments enabled, per-transaction limit, monthly cap). Returns ALLOW, DENY, or CONFIRM_REQUIRED. Other payment-capable skills must call signet-preflight before proceeding and signet-record after a successful payment.

⬇ 0 downloads β˜… 0 stars Unverified but indexed

Install for OpenClaw

Quick setup
  1. Download the package from Yavira.
  2. Extract the archive and review SKILL.md first.
  3. Import or place the package into your OpenClaw setup.

Requirements

Target platform
OpenClaw
Install method
Manual import
Extraction
Extract archive
Prerequisites
OpenClaw
Primary doc
SKILL.md

Package facts

Download mode
Yavira redirect
Package format
ZIP package
Source platform
Tencent SkillHub
What's included
README.md, SKILL.md, docs/DASHBOARD_TEST.md, openclaw-extension/README.md, openclaw-extension/signet-guardian/index.ts, package.json

Validation

  • Use the Yavira download entry.
  • Review SKILL.md after the package is downloaded.
  • Confirm the extracted package contains the expected setup assets.

Install with your agent

Agent handoff

Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.

  1. Download the package from Yavira.
  2. Extract it into a folder your agent can access.
  3. Paste one of the prompts below and point your agent at the extracted folder.
New install

I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete.

Upgrade existing

I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.

Trust & source

Release facts

Source
Tencent SkillHub
Verification
Indexed source record
Version
0.1.0

Documentation

ClawHub primary doc Primary doc: SKILL.md 9 sections Open source page

Overview

Signet Guardian is a policy firewall for money actions. It does not intercept payments at runtime by itself; payment-capable skills must route through it by contract: Before any payment: call signet-preflight (amount, currency, payee, purpose). If result is ALLOW or CONFIRM_REQUIRED (and user has confirmed): the skill may proceed. If result is DENY: do not proceed; tell the user the reason. After a successful payment: call signet-record to append to the ledger. This gives one place to enforce: master switch (payments on/off), max per transaction (e.g. Β£20), max per month (e.g. Β£500), and optional confirmation above a threshold (e.g. Β£5). Concurrency: Preflight is advisory (no lock). Record enforces the monthly cap under a file lock ({baseDir}/references/.ledger.lock): it re-checks the cap before appending and refuses to record if the month would be exceeded. So the monthly limit is enforced at record time; idempotency and cap are both safe under concurrent calls. Preflight can still be used to fail fast; the definitive check is in record. Currency: No FX conversion. The request currency must match the policy currency; otherwise preflight returns DENY. Conversion source/rules are not defined.

Policy (user configuration)

Source of truth: OpenClaw config first (signet.policy in the main config, e.g. editable in the Control UI if the extension is installed), then fallback to {baseDir}/references/policy.json. OpenClaw sets {baseDir} via OPENCLAW_SKILL_DIR or OPENCLAW_BASE_DIR. FieldMeaningpaymentsEnabledMaster switch. If false, all payments are denied.maxPerTransactionMax amount allowed for a single transaction (e.g. 20).maxPerMonthMax total spend in the current calendar month (e.g. 500).currencyISO currency code (e.g. GBP, USD). Request currency must match.requireConfirmationAboveAbove this amount, return CONFIRM_REQUIRED so the user must explicitly confirm (e.g. 5).blockedMerchantsOptional list of substrings; payee matching any is denied.allowedMerchantsOptional; if non-empty, only payees matching one of these are allowed.versionOptional number for future policy migrations. Default behaviour: If the policy file is missing or invalid, preflight returns DENY (default-deny).

signet-preflight

Run before initiating any payment. Validates: payments enabled, currency match, amount > 0 and ≀ max per transaction, (current month spend + amount) ≀ max per month, and optional merchant rules. Optionally requires explicit confirmation above a threshold. Amount must be greater than zero. signet-preflight --amount 15 --currency GBP --payee "shop.example.com" --purpose "Subscription" Optional: --idempotency-key "unique-key" β€” Used when recording later to avoid duplicate ledger entries. --caller-skill "skill-name" β€” Name of the skill invoking the guard (for audit). Output (JSON): { "result": "ALLOW", "reason": "Within policy" } β€” Proceed with the payment. { "result": "CONFIRM_REQUIRED", "reason": "..." } β€” Ask the user for explicit confirmation; if they agree, proceed then call signet-record. (Confirmation is the caller’s responsibility.) { "result": "DENY", "reason": "..." } β€” Do not proceed. Notify the user. Every DENY is logged to the audit trail. Exit code: 0 for ALLOW or CONFIRM_REQUIRED, 1 for DENY.

signet-record

Call after a payment has successfully been made. Appends one line to the ledger (append-only). If an idempotency key was used in preflight, pass the same key here to avoid double-counting. Record validation scope: signet-record re-checks only currency and monthly cap (under lock). It does not re-check paymentsEnabled or merchant allow/block lists. Policy enforcement (switch, merchants, per-tx limit) is done at preflight (and in an optional future authorize phase). Record is the post-success log; the cap check at record time prevents double-counting when concurrent preflights both allowed. signet-record --amount 15 --currency GBP --payee "shop.example.com" --purpose "Subscription" --idempotency-key "sub-123" Optional: --caller-skill "skill-name" for audit. If the same idempotency-key was already recorded, the command is a no-op (idempotent).

signet-report

Shows spending and transaction history for the user. signet-report --period today signet-report --period month

signet-policy

Show, edit, or configure policy via wizard. signet-policy --show # Print current policy (config, then file) signet-policy --edit # Open policy.json in $EDITOR signet-policy --wizard # Interactive step-by-step setup (no JSON) signet-policy --migrate-file-to-config # One-time: copy file policy into OpenClaw config

Audit (ledger and deny log)

Ledger file: {baseDir}/references/ledger.jsonl. Format is strict JSONL: one JSON object per line, newline-separated (no space between entries). Each line contains: ts β€” Timestamp UTC (ISO 8601). callerSkill β€” Optional; skill that invoked preflight/record. idempotencyKey β€” Optional; dedupe key for record. status β€” completed or denied. reason β€” Decision reason (especially for denials). Plus: amount, currency, payee, purpose. All preflight denials are appended to the same ledger with status: "denied" and a reason.

Critical Rules (for the agent)

Never skip preflight β€” Any payment from any skill must go through signet-preflight first. No exceptions. Respect DENY β€” If preflight returns DENY, do not attempt the payment. Tell the user the reason. CONFIRM_REQUIRED β€” If preflight returns CONFIRM_REQUIRED, ask the user explicitly (β€œAllow this payment of Β£X to Y?”). Only proceed if they confirm, then call signet-record. Always record success β€” After a successful payment, call signet-record with the same amount, currency, payee, purpose, and idempotency key (if used). Idempotency β€” For critical flows, use a stable --idempotency-key (e.g. order ID or request ID) so retries do not double-count in the monthly total. Default-deny β€” If the policy file is missing or corrupt, the skill denies by default. Record is authoritative for cap only β€” The monthly cap is enforced when recording (under lock). If signet-record fails with a cap error, the payment already happened; do not retry without user confirmation. For cap-safe flows before payment, a future authorize (reservation under lock) then settle (convert reservation to completed) pattern can reserve budget before the payment is made.

First Run

On first use, the user must have a valid {baseDir}/references/policy.json. Run signet-policy --show to see current policy; if missing, create it (e.g. via signet-policy --edit) with at least: paymentsEnabled: true/false maxPerTransaction: number maxPerMonth: number currency: e.g. "GBP" requireConfirmationAbove: number (e.g. 5) Ledger lives at {baseDir}/references/ledger.jsonl; no extra setup required.

Category context

Agent frameworks, memory systems, reasoning layers, and model-native orchestration.

Source: Tencent SkillHub

Largest current source with strong distribution and engagement signals.

Package contents

Included in package
4 Docs1 Scripts1 Config
  • SKILL.md Primary doc
  • docs/DASHBOARD_TEST.md Docs
  • openclaw-extension/README.md Docs
  • README.md Docs
  • openclaw-extension/signet-guardian/index.ts Scripts
  • package.json Config