Fleece
v1.6.0信用卡研究和兑换CLI。查找Chase、Amex、Citi、Capital One、Bilt和所有主要美国发卡机构的奖励率、年费、欢迎奖金、对账单积分、转账合作伙伴等信息。比较卡片、分析钱包空白、估计ROI、获取推荐、查找商户类别代码、搜索奖励航班和酒店。使用pip install fleece-cli安装。
运行时依赖
安装命令
点击复制技能文档
Fleece — 信用卡研究与兑换 使用此技能时,用户询问: 特定卡: “什么是 Amex Gold 的福利?”,“Chase Sapphire Preferred 值得拥有吗?”,“Citi Double Cash 有什么变化?” 赚取率: “哪张卡在用餐方面赚取最多?”,“最好的超市卡是什么?” 转账合作伙伴: “Chase Ultimate Rewards 可以转移到哪里?”,“Amex 可以转移到哪些航空公司?” 对账单积分: “如何使用 Amex Gold 的用餐积分?”,“Venture X 有什么积分?” 钱包优化: “旅行时应该使用哪张卡?”,“我的钱包有什么缺口?” 卡推荐: “初学者最佳旅行信用卡”,“无年费返现卡” 投资回报率 / 价值: “Amex Platinum 值得 695 美元的年费吗?”,“Sapphire Preferred 的首年价值” 奖励兑换: “找到从 JFK 到东京的商务舱航班”,“在巴黎使用积分搜索酒店” 商家查询: “在 Costco 应该使用哪张卡?”,“哪张卡在加油站赚取最多?”,“药店的 MCC 是什么?” 消费资料: “设置我的资料”,“保存我的消费习惯”,“记住我每月在用餐方面花费 600 美元” 通过 Brave Search 获取实时的美国信用卡数据。所有命令输出 JSON 格式,以便程序化使用。 消费资料 用户的消费资料存储在 fleece.db 中,并自动注入到 fleece wallet、fleece roi 和 fleece recommend 中。设置一次后,所有研究命令都变得个性化。 # 设置资料字段(无需 API 密钥) fleece profile set dining_monthly 600 fleece profile set travel_monthly 300 fleece profile set groceries_monthly 400 fleece profile set annual_fee_tolerance 550 fleece profile set home_airport JFK fleece profile set goal "2027 年商务舱到东京" fleece profile set points_programs "Amex MR, Chase UR" # 查看当前资料 fleece profile show --json # 列出所有可用字段 fleece profile fields 一旦设置,支出值将自动拉取: # 无需传递 --dining 或 --travel 标志 fleece roi "Amex Gold" fleece wallet fleece recommend "旅行奖励" MCC-enriched 工作流 捆绑的 MCC 数据集(981 个代码,离线)启用了精确的端到端流程: fleece wallet → 确定类别缺口 fleece mcc 5411 → 确认 "杂货店,超市" fleece mcc 5411 --wallet → 找到该确切商家类型的最佳卡 fleece recommend "杂货店,汽油,交通" → 建议一张卡来填补缺口 常见的 MCC: MCC 类别 典型卡奖励 5411 杂货店 Amex Gold 4x,BofA Cash Rewards 3% 5812 餐厅 Amex Gold 4x,CSP 3x 5814 快餐 不同 — 不总是与 5812 相同 5541 加油站 Citi Custom Cash 5x,BofA 3% 4511 航空公司 Amex Platinum 5x,CSR 3x 7011 酒店 Amex Platinum 5x(Amex Travel),CSR 3x 4111 交通 / 通勤 CSR 3x,Bilt 3x 5912 药店 Chase Freedom Flex 3x 使用 fleece mcc <代码>(无需 API 密钥)来解决任何 MCC,然后运行费率或钱包查询。 前提 # 安装一次 pip install fleece-cli # 设置环境或 .env 文件 export BRAVE_API_KEY=<你的密钥> 命令 完整卡报告 fleece card "<卡名称>" --json 返回费用,欢迎优惠,赚取率,积分,福利和策略。 赚取率 fleece rates "<卡名称>" --json fleece rates "<卡名称>" --category "<用餐|旅行|杂货|汽油>" --json 转账合作伙伴 fleece partners "<卡名称>" --json 返回航空公司和酒店合作伙伴,包括比例和转账时间。 对账单积分 fleece credits "<卡名称>" --json 返回所有积分,包括金额,周期和报名要求。 最近新闻(过去一个月) fleece news "<卡名称>" --json 新鲜度过滤到过去一个月。 并排比较 fleece compare "<卡 A>" "<卡 B>" --json fleece compare "<卡 A>" "<卡 B>" --aspects "费用,奖励,积分" --json 投资组合 / 钱包分析 fleece wallet "<卡 1>" "<卡 2>" "<卡 3>" --json 返回覆盖图,重叠,缺口和下一张卡建议。 首年投资回报率 fleece roi "<卡名称>" --travel <每月 $> --dining <每月 $> --other <每月 $> --json 基于资料的推荐 fleece recommend "<消费资料>" --json fleece recommend "<消费资料>" --preferences "<偏好>" --json 输出格式 每个带有 --json 的命令返回: { "command": "card", "query": "...", "result": "...", "ok": true, "error": null } 错误时,ok 为 false,error 包含消息。始终在使用 result 之前检查 ok。 退出代码 代码 含义 0 成功 1 搜索 / 工具错误(Brave API 失败) 2 BRAVE_API_KEY 未设置 Stdin 管道 任何单卡命令的主要参数接受 - 来读取 stdin: echo "Chase Sapphire Preferred" | fleece card - --json echo "高用餐支出" | fleece recommend - --json 钱包命令接受 - 作为其唯一参数来读取换行分隔的卡名称: printf "Amex Gold\nChase Freedom Unlimited\nBilt\n" | fleece wallet - --json 支持 支持所有主要的美国发行商: