Token导航 LogoToken导航

Agent Skill · 研究检索

card-optimizer(卡优化器)

card-optimizer 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

card-optimizer 是研究检索类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为需要联网;许可证为 MIT-0,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 2,031。

总安装 69,523周安装 2,840GitHub Stars 公开资料未说明下载 22,493核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.0.1

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:card-optimizer(卡优化器)
来源仓库:https://github.com/scottfo/card-optimizer
安装命令:
openclaw skills install card-optimizer
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install card-optimizer

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

信用卡奖励优化器 - 通过为每个购买类别推荐最佳信用卡,帮助最大限度地提高现金返还、积分和里程。跟踪年度上限,计算年费投资回报率,管理轮换的季度类别,并根据支出模式建议新卡。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install card-optimizer;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

card-optimizer 怎么安装?

在终端执行 openclaw skills install card-optimizer。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

card-optimizer 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

card-optimizer 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

card-optimizer 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

card-optimizer 用的人多吗?

公开数据是累计安装 69,523 次,近一周安装 2,840 次,下载 22,493 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

card-optimizer 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。

先想清楚的地方

  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
card-optimizer

卡优化器 · 本页

69,523—需要联网MIT-0有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

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":"💳"}}

Card Optimizer

Maximize credit card rewards by always using the right card for every purchase.

Data Location

  • Skill logic: skills/card-optimizer/ (this file)
  • User data: data/card-optimizer/

- cards.json — card definitions, reward rates, spending estimates, category map

Card Database Schema

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
    }
  ]
}

Point Valuations

For points/miles cards, store point_valuation_cpp (cents per point):

  • Chase Ultimate Rewards: 1.0 cpp base, 1.25 cpp with Sapphire Preferred, 1.5 cpp with Sapphire Reserve
  • Amex Membership Rewards: 1.0 cpp base, varies by transfer partner
  • When comparing cards, multiply rate × point_valuation_cpp to get effective cashback equivalent

Category Map

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.

Spending Estimates

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.

Purchase Optimizer

How to Recommend a Card

When the user asks "which card for [category]?" or "I'm buying [item]":

  1. Identify the category from the purchase (see Category Matching below)
  2. Check all cards for that category's reward rate
  3. Factor in caps: If a card has a cap and the user's estimated annual spending in that category exceeds it, note the cap and when they'd likely exhaust it
  4. Factor in network acceptance: If the best card is Amex, mention that some merchants don't accept Amex and provide a Visa/MC fallback
  5. Compare effective rates: For points cards, use point_valuation_cpp to convert to cashback-equivalent
  6. Return recommendation with reasoning

Response Format

💳 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]

Cap-Aware Recommendations

When a card has spending caps:

  • Well under cap: Recommend normally
  • Cap likely to exhaust (based on estimated spending): Note when the cap would be hit and what to switch to after
  • Cap exists: Always mention the cap so the user is aware

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%."

Quarterly Category Management

Rotating Categories

Some cards (Chase Freedom Flex, Discover It) have rotating 5% categories that change quarterly and require activation.

Quarterly Alerts

At the start of each quarter (Jan 1, Apr 1, Jul 1, Oct 1):

  • Check for cards with activation_required: true
  • If not yet activated for the current quarter, remind the user
  • List the current quarter's bonus categories
  • Note: To automate this, add a quarterly cron job or include in the mileage check heartbeat

Store activation status per card:

{
  "quarterly_activations": {
    "chase_freedom_flex": {
      "2026-Q1": {"activated": true, "date": "2026-01-02"}
    }
  }
}

Annual Fee ROI Analysis

For each card with an annual fee, calculate whether it's worth keeping based on estimated_monthly_spending:

  1. Calculate bonus rewards: For each bonus category, compute annual rewards at the bonus rate
  2. Calculate baseline: What a no-fee 2% flat card would earn on the same spending
  3. Bonus value: bonus_rewards − baseline_rewards
  4. Net ROI: bonus_value − annual_fee
  5. Verdict: Worth it if net ROI > 0

Report Format

💳 [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

Optimization & Gap Analysis

Spending Gap Analysis

Using estimated_monthly_spending, identify:

  1. Weak categories: High spending where the best available card only earns 1-2%
  2. Underperforming fee cards: Annual fee cards not earning enough bonus to justify the fee
  3. Cap exhaustion: Categories where estimated spending exceeds bonus caps — may benefit from a second card
  4. Missing coverage: Common categories with no bonus card at all

Report Format

📊 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

New Card Recommendations

Based on spending estimates, suggest cards that would add value:

  1. Identify the user's highest-spending weak categories
  2. Match against popular cards with strong rates in those categories
  3. Calculate projected annual rewards from the new card
  4. Factor in annual fees
  5. Mention signup bonuses as first-year sweetener

Do not recommend specific affiliate links — just name the card and explain why.

Popular cards to consider by category:

CategoryCardsNotes
DiningChase Sapphire Preferred (3x), Amex Gold (4x), Capital One SavorOne (3%)Sapphire and Gold have annual fees
GroceriesAmex BCP (6%), Amex Gold (4x MR)BCP has $6k cap
TravelChase Sapphire Reserve (3x), Amex Platinum (5x flights), Capital One Venture X (2x)All have significant annual fees
GasCiti Custom Cash (5% top category), PenFed Platinum Rewards (5x gas)Custom Cash is flexible
Flat rateCiti Double Cash (2%), Wells Fargo Active Cash (2%), Fidelity Visa (2%)No-fee safety nets
RotatingChase Freedom Flex (5% quarterly), Discover It (5% quarterly + first-year match)Requires activation

Category Matching

Merchant → Category Mapping

When the user mentions a merchant, map to the correct card category:

Merchant / KeywordCategoryNotes
Kroger, Publix, Safeway, HEB, Aldi, Trader Joe'sgroceriesSupermarkets
Costco, Sam's Clubgroceries OR warehouseCostco is Visa-only in store. Amex may code as groceries at Sam's Club
Target, WalmartvariesMay code as "superstore" not "groceries" — depends on card issuer
Amazon, amazon.comamazonSome cards have specific Amazon category
Whole Foodswhole_foods OR groceriesChase Prime has specific Whole Foods category
Shell, Exxon, BP, ChevrongasGas stations
Uber, Lyft, subway, bustransitPublic transit and rideshare
Netflix, Hulu, Spotify, Disney+, HBO Max, YouTube TVstreamingStreaming subscriptions
Chipotle, McDonald's, DoorDash, GrubhubrestaurantsDining and food delivery
CVS, Walgreens, Rite AiddrugstoresPharmacies
Hilton, Marriott, Airbnbhotels/travelTravel/lodging
United, Delta, Southwestairlines/travelAirfare

Fuzzy Category Matching

When the user says something informal:

  • "food" / "eating out" / "dinner" → restaurants
  • "grocery run" / "supermarket" → groceries
  • "gas" / "fuel" / "fill up" → gas
  • "uber" / "lyft" / "ride" → transit
  • "stuff on amazon" / "prime order" → amazon
  • "pharmacy" / "meds" / "prescription" → drugstores
  • "subscription" / "monthly streaming" → streaming
  • "general" / "random purchase" → everything_else

If ambiguous, ask: "Is this a grocery store or a restaurant?"

Network Acceptance Warnings

Amex Acceptance

American Express has lower merchant acceptance than Visa/Mastercard:

  • Small/local businesses
  • Some international merchants
  • Costco (Visa only in-store in the US)
  • Some government payments

When recommending an Amex card, always provide a Visa/MC fallback.

Costco Special Case

Costco US stores only accept Visa credit cards (plus debit/cash):

  • In-store: Must use Visa
  • Online (costco.com): Visa, Mastercard, Discover (no Amex)

Adding a New Card

When the user wants to add a card:

  1. Gather info:

- Card name and issuer - Payment network (Visa/MC/Amex/Discover) - Annual fee - Reward type (cashback/points/miles) and point valuation if applicable - Category reward rates (each bonus category + base rate) - Any caps or limits per category - Rotating categories? Which quarters, activation required? - Signup bonus details (optional)

  1. Research the card if the user just gives a name — look up current reward rates, fees, and categories via web search
  1. Create card entry in cards.json
  1. Recalculate category_map — determine which card now wins each category
  1. Confirm and show updated recommendations

Removing a Card

  1. Remove from cards array in cards.json
  2. Recalculate category_map
  3. Confirm and show any categories that now have weaker coverage

First-Time Setup

If data/card-optimizer/cards.json doesn't exist:

  1. Ask the user what credit cards they have
  2. For each card, either:

- Look up the card's current reward structure via web search, OR - Ask the user for rates if it's an unusual/regional card

  1. Build cards.json with all cards and the precomputed category map
  2. Ask for estimated monthly spending per major category (groceries, gas, dining, amazon, streaming, general, etc.) — explain this powers ROI and gap analysis but is optional
  3. Run an initial optimization report showing their best card per category and any gaps

Quick Reference

User SaysAction
"Which card for groceries?"Recommend best card for that category
"I'm buying gas"Recommend with gas category
"Best card for Amazon?"Recommend with Amazon category
"Annual fee worth it?"ROI analysis for all fee cards
"Add a new card"Walk through new card setup
"Remove a card"Remove and recalculate
"Card optimization report"Full gap analysis + recommendations
"What cards should I get?"New card recommendations
"Activate Q2 categories"Update quarterly activation status
"Does Costco take Amex?"Network acceptance info
"What are my cards?"List all cards with key rates
"Update my spending estimates"Revise estimated monthly spending

平台分布

OpenClaw

95.97%
按下载量换算21,587

安全审计

VirusTotal

可疑

ClawScan

通过

Static analysis

未展示

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills