← Back to Skills Marketplace
jiahongc

Card Credits

by jiahongc · GitHub ↗ · v1.0.5 · MIT-0
cross-platform ⚠ suspicious
327
Downloads
0
Stars
1
Active Installs
6
Versions
Install in OpenClaw
/install card-credits
Description
Return statement credits and cash-like credits for one major-US credit card — amount, cadence, trigger rules, enrollment requirements, and restrictions. Cove...
README (SKILL.md)

Card Credits

Return the credits view of one exact card variant in compact format.

What Counts as a Credit

A "credit" is a statement credit, cash-back rebate, or complimentary subscription with a concrete dollar value that directly offsets cost. Examples: "$300 travel credit," "$50 hotel credit," "complimentary DashPass membership ($120 value)."

Not credits: enhanced earning rates (e.g., "5x on Lyft"), bonus point multipliers, anniversary point bonuses, or any benefit that only increases points earned per dollar. Those belong in card-rate, not card-credits.

When To Use

When the user asks about a card's statement credits, annual credits, or cash-back credits. Trigger phrases: "card-credits", "statement credits", "what credits", "annual credits", "perks".

Workflow

  1. Resolve card identity — normalize the input and match to one exact card variant.
  2. Search — use WebSearch by default. If BRAVE_API_KEY is available and curl exists, you may use one Brave Search API call instead. Classify results as issuer or secondary by domain.
  3. Fetch pages — use WebFetch by default to fetch the top issuer URL and top 1 secondary URL from results.
  4. Pace any follow-up searches — if another search is needed, wait briefly instead of bursting requests.
  5. Compile — combine fetched page content + search snippets + training knowledge.
  6. Confidence — flag uncertain or conflicting claims.

Step 1: Card Identity Resolution

Normalize the card name and resolve to an exact issuer + family + variant.

Common Abbreviations

Only shorthands and ambiguous names need entries here. Cards with full, unambiguous names (e.g., "Chase Marriott Bonvoy Boundless", "Chase United Explorer", "American Express Hilton Honors Aspire") are resolved via search — no table entry needed.

Input Resolved
CSP Chase Sapphire Preferred
CSR Chase Sapphire Reserve
CFU Chase Freedom Unlimited
CFF Chase Freedom Flex
CIP Chase Ink Business Preferred
CIC Chase Ink Business Cash
CIU Chase Ink Business Unlimited
Amex Gold American Express Gold Card
Amex Plat American Express Platinum Card
Amex Biz Gold American Express Business Gold Card
Amex Biz Plat American Express Business Platinum Card
Amex Blue Biz Plus American Express Blue Business Plus Card
Amex Blue Biz Cash American Express Blue Business Cash Card
Venture X Capital One Venture X Rewards Credit Card
Venture X Business Capital One Venture X Business Card
Savor Capital One SavorOne / Savor (ambiguous — ask)
Spark Cash Plus Capital One Spark Cash Plus
Spark Miles Capital One Spark Miles
Double Cash Citi Double Cash Card
Custom Cash Citi Custom Cash Card
Ink Preferred Chase Ink Business Preferred
Ink Cash Chase Ink Business Cash
Ink Unlimited Chase Ink Business Unlimited
Bilt Bilt Blue / Obsidian / Palladium (ambiguous — ask)
Robinhood Robinhood Gold Card / Cash Card (ambiguous — ask)
Aviator Red Barclays AAdvantage Aviator Red World Elite Mastercard
Wyndham Rewards Barclays Wyndham Rewards Earner Card / Plus / Business (ambiguous — ask)
Altitude Reserve U.S. Bank Altitude Reserve Visa Infinite Card
Altitude Connect U.S. Bank Altitude Connect Visa Signature Card
Altitude Go U.S. Bank Altitude Go Visa Signature Card
Delta Gold American Express Delta SkyMiles Gold Card
Delta Platinum American Express Delta SkyMiles Platinum Card
Delta Reserve American Express Delta SkyMiles Reserve Card
Delta Biz Gold American Express Delta SkyMiles Gold Business Card
Delta Biz Plat American Express Delta SkyMiles Platinum Business Card
Delta Biz Reserve American Express Delta SkyMiles Reserve Business Card

Business vs Personal

Both personal and business credit cards are supported. If the user specifies "business" or "biz", resolve to the business variant. If a card name exists in both versions and the user does not specify, treat as ambiguous and ask.

Ambiguity Rules

  • If the input maps to 2+ plausible variants, return a numbered choice list and stop.
  • If no match exists, return: "Could not match a card. Try including the full card name with issuer."

Supported Issuers

American Express, Bank of America, Barclays, Bilt, Capital One, Chase, Citi, Discover, Robinhood, U.S. Bank, Wells Fargo.

Step 2: Search

Use the platform's WebSearch and WebFetch tools by default. If BRAVE_API_KEY is available and the runtime also provides curl, you may use Brave Search API instead for faster and more repeatable search results.

Optional Brave template:

curl -sS "https://api.search.brave.com/res/v1/web/search?q=CARD+NAME+credits+benefits&count=10" \
  -H "X-Subscription-Token: $BRAVE_API_KEY"

Parse the JSON response — results are in .web.results[] with .title, .url, .description fields. Classify results by domain: issuer pages (use Issuer Domains table below) vs approved secondary sources. Use up to 1 secondary source (prefer thepointsguy.com, then bankrate.com) for credit trigger details.

Search Budget Rule

Treat search as scarce and paced. Built-in web search is the default path; if Brave mode is used, it may rate-limit after only a few closely spaced requests.

  • Start with one search.
  • Fetch the issuer and approved secondary pages before deciding whether any additional search is needed.
  • If an extra search is needed, wait about 2 to 5 seconds first.
  • If Brave returns 429, wait about 8 to 15 seconds and retry once.
  • If Brave is unavailable, continue with WebSearch + WebFetch.
  • If it still fails, continue with the best evidence already gathered and note the limitation in ## 📋 Confidence Notes.

Step 3: Fetch Pages

Pick the top issuer URL and top 1 secondary URL from the search results. Fetch both in parallel with WebFetch.

An approved secondary page means a URL whose hostname matches the preferred secondary domains named in this skill. Do not fetch or cite secondary pages from any other domain.

URL Safety Rules

  • Prefer WebFetch for page retrieval. Use curl only for the optional Brave Search API calls above, not for arbitrary result URLs.
  • Never execute a shell command that interpolates a raw URL taken directly from search results.
  • Only fetch URLs when all of the following are true:
    1. scheme is https
    2. hostname matches a supported issuer domain or an approved secondary domain from this skill
    3. the URL is being passed to WebFetch, not inserted into a shell pipeline
  • If a result URL fails those checks, skip it and use the next valid result.

Search snippets are too shallow for credits — the full page has the complete credit list. Combine the fetched page content + search snippets + training knowledge.

Required Output Sections

## 💳 Credits Overview

Total annual credit value, number of distinct credits, general enrollment requirements.

## 🏷️ Credit Details

Numbered list of each credit with amount, cadence (monthly/annual/semiannual), trigger (what purchase activates it), and restrictions.

## 📏 Usage Rules

Enrollment requirements, expiration, stacking rules, clawback conditions.

## 📋 Confidence Notes

Flag any detail that may have changed since training data.

## 🔗 Sources

Numbered list of URLs fetched, as markdown hyperlinks with short "Site - Topic" labels.

Output Rules

  • Use one emoji per section heading and numbered lists
  • When listing credits, fees, or any monetary amounts, sort from highest to lowest dollar value. for credits.
  • Keep content to condensed facts — no prose padding.
  • Omit the Card Identity section when the match is confident.
  • Do not show YAML blocks in output.
  • End every report with a ## 🔗 Sources section listing each URL fetched during research as a markdown hyperlink with a short "Site - Topic" label, e.g. [Chase - Sapphire Preferred](https://...).

Confidence Definitions

  • confirmed: supported by issuer terms or multiple approved sources
  • unconfirmed: plausible but not fully resolved
  • conflicting: sources disagree on a material fact
Usage Guidance
This skill is internally coherent and low-risk: it only uses web search/fetch tools and optionally an API key for Brave Search. No credentials or installs are required. Consider that the skill will fetch and summarize public web pages (so results may be outdated or rely on third-party pages); if you need authoritative, up-to-the-minute policy details, verify directly on the card issuer's official site. If the skill later requests environment variables, file access, or installation steps, reevaluate before granting them.
Capability Analysis
Type: OpenClaw Skill Name: card-credits Version: 1.0.5 The skill uses high-risk capabilities including shell execution via `curl` and the use of an environment variable (`BRAVE_API_KEY`) to query the Brave Search API. While `SKILL.md` includes explicit security instructions to prevent shell injection and restrict `WebFetch` to specific domains, the use of shell-based network access for a search task is considered a risky behavior under the analysis criteria. No evidence of malicious intent, data exfiltration, or prompt injection was found, and the logic appears aligned with its stated purpose of researching credit card benefits.
Capability Tags
cryptocan-make-purchasesrequires-sensitive-credentials
Capability Assessment
Purpose & Capability
Name/description (return card statement credits) matches the SKILL.md. No unrelated environment variables, binaries, or install steps are requested. Optional BRAVE_API_KEY and curl are proportional and clearly optional for an alternate search path.
Instruction Scope
Runtime instructions are narrowly scoped to resolving card identity, running web searches, fetching issuer/approved secondary pages, and compiling findings. The skill does not instruct reading local files, accessing unrelated env vars, or contacting unexpected endpoints beyond web search/fetch.
Install Mechanism
Instruction-only skill with no install spec and no code files — lowest-risk model for disk persistence or arbitrary downloads.
Credentials
No required environment variables or credentials. BRAVE_API_KEY is listed as optional and only used to call the Brave Search API if present; this is proportionate to the described alternate search method.
Persistence & Privilege
Skill is not force-included (always: false) and does not request system-wide configuration or persistent privileges. Autonomous invocation is allowed by default but is not combined with excessive access.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install card-credits
  3. After installation, invoke the skill by name or use /card-credits
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.5
Refresh published skill
v1.0.4
Refresh published skill
v1.0.3
Add Brave pacing and 429 backoff guidance for search-heavy workflows
v1.0.2
Republish after local updates.
v1.0.1
Republish from local skill folder.
v1.0.0
card-credits 1.0.0 - Initial release supporting concise credit and perk lookups for major US credit cards (Amex, Chase, Capital One, Citi, Bank of America, Discover, Wells Fargo). - Automated card name resolution with support for common abbreviations and ambiguity handling. - Returns annual/monthly credit details, triggers, and restrictions in a compact, emoji-labeled format. - Relies on Brave API searches scoped to official issuer domains, with limited secondary sourcing. - Flags unclear or disputed information with confidence notes.
Metadata
Slug card-credits
Version 1.0.5
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 6
Frequently Asked Questions

What is Card Credits?

Return statement credits and cash-like credits for one major-US credit card — amount, cadence, trigger rules, enrollment requirements, and restrictions. Cove... It is an AI Agent Skill for Claude Code / OpenClaw, with 327 downloads so far.

How do I install Card Credits?

Run "/install card-credits" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Card Credits free?

Yes, Card Credits is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Card Credits support?

Card Credits is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Card Credits?

It is built and maintained by jiahongc (@jiahongc); the current version is v1.0.5.

💬 Comments