تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

signet-guardian

بواسطة rafalzacher1

Transportation
574التنزيلات وفق ما يذكره clawskills.sh
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Payment guard middleware for AI agents.

الوصف

ما الذي تفعله هذه المهارة

Payment guard middleware for AI agents. Before any payment, it runs a preflight check against the user's policy, enforcing a master on/off switch, per-transaction limits, monthly caps, and merchant allow/block lists. Other payment-capable skills must route through it before proceeding and log payments after completion.

Centralizes payment policy enforcement so individual skills don't each need to implement their own limits, confirmation flows, or audit trails.

متى تستخدمها

  • Blocking an agent from charging a card when payments are disabled
  • Capping automated purchases at £20 per transaction
  • Requiring explicit user confirmation before a large subscription renewal
  • Tracking total monthly spend across multiple payment skills
  • Auditing which skills initiated payments and why they were denied

مثال على سير العمل

الإدخال

User asks: 'Book a £15 subscription on shop.example.com'

الوكيل
  1. 1

    Call signet-preflight with amount 15, currency GBP, payee shop.example.com, purpose Subscription

  2. 2

    Receive ALLOW response confirming the payment is within policy

  3. 3

    Proceed with the payment through the payment-capable skill

  4. 4

    Call signet-record with the same parameters to log the transaction in the ledger

الإخراج

Subscription booked and £15 appended to the monthly ledger

التثبيت

clawhub install rafalzacher1/signet-guardian

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط