Credit card rewards optimizer — helps maximize cashback, points, and miles by recommending the best card for every purchase category. Tracks annual caps, calculates annual fee ROI, manages rotating quarterly categories, and suggests new cards based on spending patterns.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install card-optimizer或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install card-optimizer⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/card-optimizer/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: card-optimizer description: "Credit card rewards optimizer — helps maximize cashback, points, and miles by recommending the best card for every purchase category. Tracks annual caps, calculates annual fee ROI, manages rotating quarterly categories, and suggests new cards based on spending patterns." homepage: https://github.com/ScotTFO/card-optimizer-skill metadata: {"clawdbot":{"emoji":"💳"}} ---
Maximize credit card rewards by always using the right card for every purchase.
skills/card-optimizer/ (this file)data/card-optimizer/ - cards.json — card definitions, reward rates, spending estimates, category map
Each card in cards.json follows this structure:
{
"id": "unique_id",
"name": "Card Name",
"issuer": "Issuer Name",
"network": "visa|mastercard|amex|discover",
"annual_fee": 95,
"reward_type": "cashback|points|miles",
"point_valuation_cpp": null,
"transfer_partners": [],
"notes": "Optional notes",
"signup_bonus": {
"amount": 200,
"type": "cashback",
"spend_requirement": 3000,
"timeframe_months": 3,
"earned": false
},
"categories": [
{
"category": "groceries",
"rate": 6.0,
"cap_amount": 6000,
"cap_period": "yearly",
"rate_after_cap": 1.0
},
{
"category": "rotating",
"rate": 5.0,
"cap_amount": 1500,
"cap_period": "quarterly",
"rate_after_cap": 1.0,
"quarterly_categories": {
"Q1": ["gas", "ev_charging"],
"Q2": ["groceries", "home_improvement"],
"Q3": ["restaurants", "paypal"],
"Q4": ["amazon", "target", "walmart"]
},
"activation_required": true
},
{
"category": "everything_else",
"rate": 1.0
}
]
}
For points/miles cards, store point_valuation_cpp (cents per point):
The category_map in cards.json maps each spending category to the best card ID. This is the precomputed optimal assignment — recalculate when cards are added or removed.
To power ROI calculations, gap analysis, and new card recommendations, the user can optionally set estimated monthly spending per category in cards.json:
{
"estimated_monthly_spending": {
"groceries": 600,
"gas": 200,
"restaurants": 300,
"amazon": 150,
"streaming": 50,
"everything_else": 500
}
}
If no estimates are provided, the skill can still recommend cards per-purchase — it just can't run ROI or gap analysis. Ask the user to estimate during first-time setup.
Note: This skill does NOT track individual purchases. If the user wants detailed spending data, they should connect their bank accounts through a budgeting tool. These estimates are rough numbers for optimization calculations.
When the user asks "which card for [category]?" or "I'm buying [item]":
💳 Use: [Card Name] ([Issuer])
💰 Reward: [X]% [cashback/points/miles] on [category]
⚠️ Note: [any caps, network warnings, or caveats]
🔄 Fallback: [Next best card if merchant doesn't accept primary]
When a card has spending caps:
Example: "Your Amex BCP gets 6% on groceries up to $6,000/year. At ~$600/month, you'll hit the cap around October. After that, it drops to 1% — switch to Wells Fargo Active Cash for 2%."
Some cards (Chase Freedom Flex, Discover It) have rotating 5% categories that change quarterly and require activation.
At the start of each quarter (Jan 1, Apr 1, Jul 1, Oct 1):
activation_required: trueStore activation status per card:
{
"quarterly_activations": {
"chase_freedom_flex": {
"2026-Q1": {"activated": true, "date": "2026-01-02"}
}
}
}
For each card with an annual fee, calculate whether it's worth keeping based on estimated_monthly_spending:
💳 [Card Name] — Annual Fee: $[fee]
Bonus rewards earned: $[amount]
vs. 2% flat card: $[amount]
Bonus value: $[amount]
Annual fee: -$[fee]
━━━━━━━━━━━━━━━━━━━━━━━━
Net value: $[amount] ✅ Worth it / ❌ Consider downgrading
Break-even: Need $[X]/yr in bonus categories to justify the fee
Using estimated_monthly_spending, identify:
📊 Card Optimization Report
✅ Well covered:
- Groceries → Amex BCP (6%) — earning ~$360/yr
- Amazon → Chase Prime (5%) — earning ~$90/yr
⚠️ Gaps identified:
- Dining: $300/mo at 2% (Chase Prime) — a 4% dining card would save $72/yr
- Travel: $200/mo at 1% — a 3x travel card would earn $48 more/yr
❌ Fee card alert:
- [Card] costs $95/yr but only generates $60 in bonus rewards — net loss of $35
💡 Recommendations:
- Adding [Card Name] would earn ~$[X] more per year on [categories]
- Consider downgrading [Card] to the no-fee version
Based on spending estimates, suggest cards that would add value:
Do not recommend specific affiliate links — just name the card and explain why.
Popular cards to consider by category:
...
安装 Card Optimizer 后,可以对 AI 说这些话来触发它
Help me get started with Card Optimizer
Explains what Card Optimizer does, walks through the setup, and runs a quick demo based on your current project
Use Card Optimizer to credit card rewards optimizer — helps maximize cashback, points, an...
Invokes Card Optimizer with the right parameters and returns the result directly in the conversation
What can I do with Card Optimizer in my design & creative workflow?
Lists the top use cases for Card Optimizer, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/card-optimizer/ 目录(个人级,所有项目可用),或 .claude/skills/card-optimizer/(项目级)。重启 AI 客户端后,用 /card-optimizer 主动调用,或让 AI 根据上下文自动发现并使用。
Card Optimizer 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Card Optimizer 可免费安装使用。请查阅仓库了解许可证信息。
Credit card rewards optimizer — helps maximize cashback, points, and miles by recommending the best card for every purchase category. Tracks annual caps, calculates annual fee ROI, manages rotating quarterly categories, and suggests new cards based on spending patterns.
Card Optimizer 属于「Design & Creative」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my design & creative tasks using Card Optimizer
Identifies repetitive steps in your workflow and sets up Card Optimizer to handle them automatically