- Home
- Skills
- Workflow Automation
- Mandate: Safe Spending for AI Agents
Works with the AI Agents you already use
Mandate: Safe Spending for AI Agents
Let your agent spend only through a mandate you control: it checks your limits, asks before paying, waits for your approval above your threshold, settles every hold, and never works around a "no".
Free
Mandate: Safe Spending for AI Agents
Example session with this skill installed
Top up my OpenAI API credits by $12.99 using my mandate.
- Read your context and instructions
- Compiled the mandate
I checked your mandate first (check_mandate): USD, $40.00 left today, OpenAI is on the allowed list, and purchases above $10.00 need your approval.
So I asked Mandate before paying
request_purchase amount: 1299 merchant: "OpenAI" purpose: "API credits top-up" idempotencyKey: "openai-topup-1"
→ decision: pending rule: approval
reason: "Above the $10.00 threshold — needs your approval before the agent can retry."
Nothing has been paid. A $12.99 purchase at OpenAI (API credits top-up) is waiting for your approval in Mandate.
Once you approve it there, tell me and I'll retry the same request, pay, and capture what was actually charged. If you'd rather not, deny it and I'll stop. I won't approve it myself or pay another way.
Illustrative session: amounts, limits and messages depend on your mandate.
Connects securely to your tools. The creator never sees your data.
About this skill
Mandate gives an AI agent a limit instead of a card: per-purchase, daily and total limits, allowed merchants, blocked categories, active hours and an amount above which it must ask you first. Every request is decided against your terms and written to a signed, hash-chained ledger, and one button freezes everything. Mandate is open source (AGPL-3.0) with a free hosted beta.
This skill teaches your agent (Claude Code, Claude Desktop, Cursor, Codex and others) to spend money only through Mandate.
What your agent does with it
- Checks before it asks: what is left today and in total, which merchants and hours are allowed, and when you need to approve.
- Requests every purchase first (
request_purchase), and pays only what was approved. - Waits for you when a purchase needs your approval, and tells you exactly what is waiting.
- Settles every hold: captures what was actually paid, or voids it if nothing was bought.
- Proposes a spending plan for multi-step tasks, so you approve the list once.
- Gives helper agents narrower sub-mandates when you ask, and can hand merchants a signed voucher.
Safe by design
- Never approves its own request and never clicks your consent or approval pages.
- Never works around a "no": no other card, no splitting a purchase to get under a limit, no renaming the merchant.
- Never asks for your card numbers or real provider API keys, and never prints your Mandate tokens.
- Amounts are handled in the mandate's currency minor units, exactly as Mandate expects.
Ways to connect
- Hosted MCP server with OAuth consent (one command in Claude Code), or the local stdio MCP server.
- Python and TypeScript SDKs, the REST API, or an OpenAI/Anthropic/Gemini-compatible proxy that meters every call.
Links
- Hosted beta and docs: https://mandate-ashen.vercel.app
- Source: https://github.com/Ivan825/Mandate (AGPL-3.0)
No currency conversion: purchases must be in the mandate's currency. Approvals cover one exact amount and expire after 24 hours. Sandbox mandates don't issue vouchers. The Python (3.9+) and TypeScript (Node 18+) SDKs install from the GitHub repo; they are not on PyPI or npm yet.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 12 days ago
- Free with an Agensi account
- Accounts
- A Mandate account (free hosted beta)oryour own Mandate server
- Optional
Node.js
orPython
Permissions
Network: talks only to your Mandate server (the hosted beta or your own). Terminal: only if you choose the local stdio MCP server or the SDKs. It never asks for card numbers or real provider API keys, and never prints your Mandate tokens.
What's inside
Frequently Asked Questions
New in Workflow Automation
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Workflow Automation.