wheretocredit

wheretocredit is a skill for Claude Code from borski/travel-hacking-toolkit. It costs 46 tokens per session (2,325 once invoked), scanned A, original, MIT.

A flight-mileage lookup tool for comparing how many airline miles different frequent-flyer programs award for a specific airline and booking class. It covers both spendable miles and miles that count toward elite status.

In plain words
What is it for?
Use it to compare earning rates, find the best program for a flight, or see which airlines can credit flights to a particular program.
Why use it?
It removes the need to check several airline loyalty-program rules when deciding where to credit a flight.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the travel-hacker plugin — 48 skills, 1 agent, 6 MCP servers shipped together

Good fit Use it to compare earning rates, find the best program for a flight, or see which airlines can credit flights to a particular program.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/borski/travel-hacking-toolkit/wheretocredit
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add borski/travel-hacking-toolkit --skill wheretocredit
Clone the repo
git clone --depth 1 https://github.com/borski/travel-hacking-toolkit

Made for: Claude Code.

Or install travel-hacker, the plugin that ships this one along with the rest of its 48 skills, 1 agent, 6 MCP servers.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for wheretocredit

README.md
[![agentmods](https://agentmods.dev/badge/skills/borski/travel-hacking-toolkit/wheretocredit/github.svg)](https://agentmods.dev/skills/borski/travel-hacking-toolkit/wheretocredit)
Your own site
<a href="https://agentmods.dev/skills/borski/travel-hacking-toolkit/wheretocredit"><img src="https://agentmods.dev/badge/skills/borski/travel-hacking-toolkit/wheretocredit/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for wheretocredit

Your own site · 80×15
<a href="https://agentmods.dev/skills/borski/travel-hacking-toolkit/wheretocredit"><img src="https://agentmods.dev/badge/skills/borski/travel-hacking-toolkit/wheretocredit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,325 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00046 $0.02325
Opus 5.5 $0.00018 $0.00930
Sonnet 5.5 $0.00009 $0.00465
Haiku 4.5 $0.00005 $0.00232

Measured 1mo ago against content hash 36661f2a7929, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

wheretocredit scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/travel-hacking-toolkit/skills/wheretocredit/SKILL.md · 245 lines

How it starts

The opening of the file, as written. The whole thing — 245 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Where to Credit

Look up mileage earning rates for any airline and booking class across 50+ frequent flyer programs. Covers both redeemable miles (the ones you spend) and qualifying miles (the ones that count toward elite status).

Source: wheretocredit.com — No API key required. Data is scraped via webfetch.

URL Patterns

All data lives at predictable URLs on wheretocredit.com:

Airline booking class detail (PRIMARY)

https://www.wheretocredit.com/en/{IATA_CODE}/{BOOKING_CLASS}

Returns: cabin type, fare types, redeemable miles table, qualifying miles table.

Example: https://www.wheretocredit.com/en/AY/Z (Finnair class Z)

Airline overview (all classes)

https://www.wheretocredit.com/en/{IATA_CODE}

Returns: list of all booking classes with cabin, fare types, and top earning program for each.

Example: https://www.wheretocredit.com/en/AY (all Finnair classes)

Program overview (all partner airlines)

https://www.wheretocredit.com/en/programs/{PROGRAM_CODE}

Returns: list of all airlines that credit to this program.

Example: https://www.wheretocredit.com/en/programs/AA (AA AAdvantage partners)

Common IATA Codes

Code Airline
AA American Airlines
AS Alaska Airlines
AF Air France
AY Finnair
BA British Airways
CX Cathay Pacific
DL Delta
EK Emirates
IB Iberia
JL Japan Airlines
KL KLM
LH Lufthansa
NH ANA
QF Qantas
QR Qatar Airways
SK SAS
SQ Singapore Airlines
TK Turkish Airlines
UA United Airlines
VS Virgin Atlantic

Common Program Codes

Code Program
AA American Airlines AAdvantage
AS2 Alaska/Hawaiian Atmos Rewards
AFB Flying Blue (Air France/KLM)
BA2 British Airways Club
CX Cathay Marco Polo / Asia Miles
DL2 Delta SkyMiles
IB2 Iberia Plus
JL Japan Airlines Mileage Bank
LH Miles & More
QR Qatar Privilege Club
SK SAS EuroBonus
SQ Singapore KrisFlyer
UA United MileagePlus
VS Virgin Atlantic Flying Club

Read the full file on GitHub · 245 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 245 lines · 46 tokens per session scan A 36661f2a7929

Subscribe to this mod's changes

wheretocredit is a skill published in the GitHub repository borski/travel-hacking-toolkit (754 stars, last pushed yesterday), licensed MIT. It adds 46 tokens to every session and 2,325 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

stock-liquidity

Analyze how liquid a stock is using Yahoo Finance data (yfinance): bid-ask spreads, volume and dollar volume (ADTV), top-of-book and options depth, square-root market impact and slippage estimates, turnover ratio, and Amihud illiquidity, rolled into a liquidity grade. Use this skill whenever the user asks about…

himself65/finance-skills · 129 tokens

alpha-vantage

Access real-time and historical stock market data, forex rates, cryptocurrency prices, commodities, economic indicators, and 50+ technical indicators via the Alpha Vantage API. Use when fetching stock prices (OHLCV), company fundamentals (income statement, balance sheet, cash flow), earnings, options data, market…

foryourhealth111-pixel/Vibe-Skills · 126 tokens

earnings-recap

Analyze a company's most recent (or a specified past) earnings report from Yahoo Finance data (yfinance): actual vs estimated EPS, surprise size, revenue and margin trends, and the stock's price reaction. Use this skill whenever the user asks how earnings went — beat or miss, earnings surprise, quarterly results, the…

himself65/finance-skills · 112 tokens

estimate-analysis

Analyze sell-side analyst estimates and how they are changing, using Yahoo Finance data (yfinance): EPS and revenue consensus by period, estimate ranges and dispersion, revision trends over 7/30/60/90 days and up/down revision breadth, growth estimates vs industry, sector, and the S&P 500, and historical estimate…

himself65/finance-skills · 117 tokens

finance-sentiment

Fetch normalized stock sentiment across Reddit, X.com, financial news, and Polymarket from the Adanos Finance API: buzz score, bullish percentage, mention or trade counts, and trend. Use this skill whenever the user asks how much a stock is being discussed or how hot it is on social platforms, how many Reddit mentions…

himself65/finance-skills · 111 tokens

earnings-preview

Build a pre-earnings briefing for a stock from Yahoo Finance data (yfinance): the upcoming report date and timing, consensus EPS and revenue estimates with their range, the beat/miss track record, analyst ratings and price targets, and what to watch in the print. Use this skill whenever the user is preparing for an…

himself65/finance-skills · 135 tokens