← 返回 Skills 市场
troyt-666

Luca Assistant

作者 troyt-666 · GitHub ↗ · v1.0.1 · MIT-0
darwinlinux ✓ 安全检测通过
162
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install luca-assistant
功能描述
Credit card rewards optimizer — query 150+ cards, compare benefits, track portfolio, check 5/24 status, and get the best sign-up bonuses (撸卡助手)
使用说明 (SKILL.md)

Luca Assistant (撸卡助手)

A credit card rewards optimization tool. Query 150+ US credit cards, compare benefits, track your portfolio, and find the best sign-up bonuses.

When to use this skill

Trigger this skill when the user asks about:

  • Credit card recommendations or comparisons
  • Sign-up bonuses (SUBs) or welcome offers
  • Chase 5/24 status or bank application rules
  • Adding/removing cards in their portfolio
  • Card benefits, category multipliers, or annual credits

Setup

Check if already installed

Before running setup, check whether Luca is already available:

export PATH="$HOME/.local/bin:$PATH"
command -v luca-mcp && luca-mcp --help

If luca-mcp responds, skip to How to use. Otherwise run setup below.

First-run setup

export PATH="$HOME/.local/bin:$PATH"
bash {baseDir}/scripts/setup.sh

This installs luca-assistant from PyPI via uv and seeds the database (~150 cards from Offer Optimist).

PATH note: uv tool install places binaries in ~/.local/bin. If luca-mcp is not found after setup, ensure ~/.local/bin is on PATH (export PATH="$HOME/.local/bin:$PATH").

Verify setup

luca-mcp --help        # should print MCP server usage
luca cards | head -5   # should list cards from the database

How to use

Luca is an MCP tool server. The database lives at ~/.local/share/luca/luca.db.

If Luca is already configured as an MCP server in the agent's environment, call luca_* tools directly. Otherwise, call tools via the bundled script:

export PATH="$HOME/.local/bin:$PATH"
bash {baseDir}/scripts/mcp_call.sh \x3Ctool_name> '\x3Cjson_args>'

Available MCP tools

Card queries:

  • luca_query_card_details(card_name, bank?) — look up a card's benefits, current offers, and fees
  • luca_find_highest_offers(bank?, min_bonus_usd?, is_business?, limit?) — best current sign-up bonuses
  • luca_compare_card_benefits(card_names) — side-by-side benefit comparison
  • luca_get_bank_rules(bank) — issuer application rules (Chase 5/24, Amex lifetime language, Citi 8/65, etc.)

Card enrichment:

  • luca_update_card_benefit(card_name, category, multiplier, points_type, notes?, bank?, annual_credit?, credit_category?) — add or update a card's category multiplier or credit
  • luca_import_cards(source?, force?) — refresh data from 'offer-optimist' (cards + SUBs) or 'cfpb' (APRs + fees)

Portfolio tracking:

  • luca_get_user_portfolio() — user's open and closed cards
  • luca_check_chase_524_status() — 5/24 count and remaining slots
  • luca_add_user_card(card_name, opened_date, bank?, credit_limit?, bonus_earned?, bonus_met_date?, notes?) — add a card to portfolio
  • luca_close_user_card(card_name, closed_date, bank?) — mark a card as closed

Examples

# Look up Chase Sapphire Preferred
bash {baseDir}/scripts/mcp_call.sh luca_query_card_details '{"card_name":"Chase Sapphire Preferred"}'

# Find top 5 offers worth at least $500
bash {baseDir}/scripts/mcp_call.sh luca_find_highest_offers '{"min_bonus_usd":500,"limit":5}'

# Compare two cards
bash {baseDir}/scripts/mcp_call.sh luca_compare_card_benefits '{"card_names":["Amex Gold","Chase Sapphire Preferred"]}'

# Check Chase 5/24 status
bash {baseDir}/scripts/mcp_call.sh luca_check_chase_524_status '{}'

Enrichment workflow

When luca_query_card_details returns a multiplier_hint, the card has missing category multiplier data. To fill the gap:

  1. Web search for the card on site:doctorofcredit.com OR site:thepointsguy.com
  2. Find the earning rates (e.g., "3x on dining, 2x on travel")
  3. Call luca_update_card_benefit for each category to persist the data

Optional: USCardForum integration

For community data points from USCardForum (美卡论坛), install the companion nitan skill. It provides discourse_search, discourse_read_topic, discourse_list_hot_topics, and more.

Guidelines

  • All card data comes from the database — never fabricate card details
  • If a card isn't found, tell the user rather than guessing
  • Respond in the user's language (Chinese or English)
  • Use luca_import_cards to refresh data if it seems stale
安全使用建议
This skill appears coherent for a credit-card rewards assistant. Before installing: 1) Inspect the luca-assistant PyPI package and the GitHub repo (https://github.com/troyt-666/luca-assistant) to ensure the code is trustworthy; PyPI packages can execute arbitrary code at install time. 2) Confirm what the 'uv' tool is on your system (uv is the declared installer) and that you trust it. 3) Be aware the setup runs 'luca init' which will download Offer Optimist data and the MCP server may perform network requests when importing/enriching data or when you follow the enrichment workflow (web searches). 4) If you want to be cautious, run installation in an isolated environment or VM and inspect the installed binaries (luca, luca-mcp) before adding the skill to persistent agent configs. The skill does not request external credentials or attempt to access unrelated system files.
功能分析
Type: OpenClaw Skill Name: luca-assistant Version: 1.0.1 The luca-assistant skill is a credit card rewards optimizer that manages a local database of card benefits and user portfolios. It installs a legitimate-looking package from PyPI via `uv` and provides a standard MCP (Model Context Protocol) interface for querying card data and tracking Chase 5/24 status. The included scripts (`setup.sh` and `mcp_call.sh`) are transparent wrappers for installation and tool execution, showing no signs of data exfiltration, malicious execution, or harmful prompt injection.
能力评估
Purpose & Capability
Name/description (credit card rewards optimizer) aligns with the files and instructions: scripts call a luca-mcp tool, the database lives at ~/.local/share/luca/luca.db, and MCP tool names match the described capabilities (card queries, portfolio tracking, enrichment). Required binaries (python3, uv) are used by the provided scripts and the declared install mechanism.
Instruction Scope
SKILL.md instructs only to install the package, run its MCP server, and call the declared tools. The enrichment workflow explicitly tells the agent to do web searches on public sites to fill missing card multipliers — this is scope-consistent for a data enrichment feature. The scripts read/write only the skill's data directory and do not attempt to access unrelated system paths or other credentials.
Install Mechanism
Installation uses 'uv tool install luca-assistant' (PyPI package). Installing a package from PyPI is expected for a Python-based tool, but PyPI packages can contain arbitrary code: verify the luca-assistant PyPI package (and the referenced GitHub repo) before installing. The install writes binaries to ~/.local/bin, which is standard for user-level CLI tools.
Credentials
The skill declares no required credentials or config paths. The scripts optionally use DB_PATH and standard user-local paths under $HOME. There are no requests for unrelated secrets or cloud credentials.
Persistence & Privilege
always:false and user-invocable:true (normal). The skill suggests adding an MCP entry for convenience but does not request or modify other skills' configs. It does not demand always-on presence or elevated privileges.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install luca-assistant
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /luca-assistant 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
No user-visible changes in this version (1.0.1); no file changes detected.
v1.0.0
Initial release of Luca Assistant: credit card rewards optimizer. - Query over 150 US credit cards, compare benefits, and track your personal portfolio. - Check Chase 5/24 status and get the latest top sign-up bonuses. - Add, update, or close cards in your profile to monitor card history and earnings. - Use built-in tools to look up card details, application rules, and bonus offers. - Supports data updates from provider sources and offers integration with USCardForum through a companion skill.
元数据
Slug luca-assistant
版本 1.0.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

Luca Assistant 是什么?

Credit card rewards optimizer — query 150+ cards, compare benefits, track portfolio, check 5/24 status, and get the best sign-up bonuses (撸卡助手). 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 162 次。

如何安装 Luca Assistant?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install luca-assistant」即可一键安装,无需额外配置。

Luca Assistant 是免费的吗?

是的,Luca Assistant 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Luca Assistant 支持哪些平台?

Luca Assistant 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(darwin, linux)。

谁开发了 Luca Assistant?

由 troyt-666(@troyt-666)开发并维护,当前版本 v1.0.1。

💬 留言讨论