Create and manage Privacy.com virtual cards. Use for generating single-use cards, merchant-locked cards, listing cards, setting spending limits, pausing/closing cards, and viewing transactions via the Privacy.com API.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install privacy-cards或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install privacy-cards⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/privacy-cards/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: privacy-cards description: "Create and manage Privacy.com virtual cards. Use for generating single-use cards, merchant-locked cards, listing cards, setting spending limits, pausing/closing cards, and viewing transactions via the Privacy.com API." ---
Manage virtual cards via the Privacy.com API.
export PRIVACY_API_KEY="your-api-key"
Environments:
https://api.privacy.com/v1https://sandbox.privacy.com/v1All requests: Authorization: api-key $PRIVACY_API_KEY
---
curl -s -X POST "https://api.privacy.com/v1/cards" \
-H "Authorization: api-key $PRIVACY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"type": "SINGLE_USE",
"memo": "One-time purchase",
"spend_limit": 5000,
"spend_limit_duration": "TRANSACTION"
}' | jq
| Type | Behavior | |------|----------| | SINGLE_USE | Closes after first transaction | | MERCHANT_LOCKED | Locks to first merchant, reusable there | | UNLOCKED | Works anywhere (requires issuing access) |
| Parameter | Required | Description | |-----------|----------|-------------| | type | Yes | SINGLE_USE, MERCHANT_LOCKED, UNLOCKED | | memo | No | Label/description | | spend_limit | No | Limit in cents | | spend_limit_duration | No | TRANSACTION, MONTHLY, ANNUALLY, FOREVER | | state | No | OPEN (default) or PAUSED | | funding_token | No | Specific funding source UUID |
{
"token": "card-uuid",
"type": "SINGLE_USE",
"state": "OPEN",
"memo": "One-time purchase",
"last_four": "1234",
"pan": "4111111111111234",
"cvv": "123",
"exp_month": "12",
"exp_year": "2027",
"spend_limit": 5000,
"spend_limit_duration": "TRANSACTION",
"created": "2024-01-15T10:30:00Z"
}
> Note: pan, cvv, exp_month, exp_year require enterprise access in production. Always available in sandbox.
---
curl -s "https://api.privacy.com/v1/transactions?card_token={card_token}" \
-H "Authorization: api-key $PRIVACY_API_KEY" | jq
curl -s "https://api.privacy.com/v1/transactions?card_token={card_token}&begin=2024-01-01&end=2024-01-31" \
-H "Authorization: api-key $PRIVACY_API_KEY" | jq
# Only approved
curl -s "https://api.privacy.com/v1/transactions?result=APPROVED" \
-H "Authorization: api-key $PRIVACY_API_KEY" | jq
# Only declined
curl -s "https://api.privacy.com/v1/transactions?result=DECLINED" \
-H "Authorization: api-key $PRIVACY_API_KEY" | jq
| Parameter | Description | |-----------|-------------| | card_token | Filter by card UUID | | result | APPROVED or DECLINED | | begin | On or after date (YYYY-MM-DD) | | end | Before date (YYYY-MM-DD) | | page | Page number (default: 1) | | page_size | Results per page (1-1000, default: 50) |
{
"token": "txn-uuid",
"card_token": "card-uuid",
"amount": -2500,
"status": "SETTLED",
"result": "APPROVED",
"merchant": {
"descriptor": "NETFLIX.COM",
"mcc": "4899",
"city": "LOS GATOS",
"state": "CA",
"country": "USA"
},
"created": "2024-01-15T14:22:00Z"
}
PENDING → SETTLING → SETTLED
Also: VOIDED, BOUNCED, DECLINED
---
curl -s "https://api.privacy.com/v1/cards" \
-H "Authorization: api-key $PRIVACY_API_KEY" | jq
curl -s "https://api.privacy.com/v1/cards/{card_token}" \
-H "Authorization: api-key $PRIVACY_API_KEY" | jq
curl -s -X PATCH "https://api.privacy.com/v1/cards/{card_token}" \
-H "Authorization: api-key $PRIVACY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"state": "PAUSED"}' | jq
curl -s -X PATCH "https://api.privacy.com/v1/cards/{card_token}" \
-H "Authorization: api-key $PRIVACY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"state": "CLOSED"}' | jq
curl -s -X PATCH "https://api.privacy.com/v1/cards/{card_token}" \
-H "Authorization: api-key $PRIVACY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"spend_limit": 10000, "spend_limit_duration": "MONTHLY"}' | jq
---
| Code | Meaning | |------|---------| | CARD_PAUSED | Card is paused | | CARD_CLOSED | Card is closed | | SINGLE_USE_RECHARGED | Single-use already used | | UNAUTHORIZED_MERCHANT | Wrong merchant for locked card | | USER_TRANSACTION_LIMIT | Spend limit exceeded | | INSUFFICIENT_FUNDS | Funding source issue |
See references/api.md for complete field documentation.
安装 Privacy Cards 后,可以对 AI 说这些话来触发它
Help me get started with Privacy Cards
Explains what Privacy Cards does, walks through the setup, and runs a quick demo based on your current project
Use Privacy Cards to create and manage Privacy
Invokes Privacy Cards with the right parameters and returns the result directly in the conversation
What can I do with Privacy Cards in my developer & devops workflow?
Lists the top use cases for Privacy Cards, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/privacy-cards/ 目录(个人级,所有项目可用),或 .claude/skills/privacy-cards/(项目级)。重启 AI 客户端后,用 /privacy-cards 主动调用,或让 AI 根据上下文自动发现并使用。
Privacy Cards 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Privacy Cards 可免费安装使用。请查阅仓库了解许可证信息。
Create and manage Privacy.com virtual cards. Use for generating single-use cards, merchant-locked cards, listing cards, setting spending limits, pausing/closing cards, and viewing transactions via the Privacy.com API.
Privacy Cards 属于「Developer & DevOps」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my developer & devops tasks using Privacy Cards
Identifies repetitive steps in your workflow and sets up Privacy Cards to handle them automatically