travel-hacker

travel-hacker is an instructions file for Claude Code from borski/travel-hacking-toolkit. It costs 4,353 tokens per session, scanned A, original, MIT.

Instructions for planning travel with airline points, miles, award bookings, and cash prices. Award bookings are trips paid for with loyalty-program points or miles instead of, or alongside, money.

In plain words
What is it for?
Travel research, comparing flights, booking hotels, checking points balances, and planning trips.
Why use it?
It provides a defined process for comparing travel options and using loyalty balances when planning a trip.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: model in frontmatter; mentions CLAUDE.md; positional $N argument.

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.

agentmods
npx agentmods add instructions/borski/travel-hacking-toolkit/claude-md
Clone the repo
git clone --depth 1 https://github.com/borski/travel-hacking-toolkit

Made for: Claude Code.

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 travel-hacker

README.md
[![agentmods](https://agentmods.dev/badge/instructions/borski/travel-hacking-toolkit/claude-md.svg)](https://agentmods.dev/instructions/borski/travel-hacking-toolkit/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/borski/travel-hacking-toolkit/claude-md"><img src="https://agentmods.dev/badge/instructions/borski/travel-hacking-toolkit/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 4,353 This file is loaded in full into every session.
When invoked 4,353 The same file — it is already loaded in full.
Security scan A 1 finding. Scan, not verified.
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.04353 $0.04353
Opus 5 $0.02176 $0.02176
Sonnet 5 $0.00871 $0.00871
Haiku 4.5 $0.00435 $0.00435

Measured 6d ago against content hash 4f7130701787, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

travel-hacker scanned grade A with 1 finding 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 6d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

**Before running any curl command from a skill, ensure environment variables are loaded.** Check first:
CLAUDE.md · 186 lines

How it starts

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

PRE-OUTPUT GATE (mandatory, every response, no exceptions)

Before sending ANY response, run this check:

  1. Scan every sentence for "?" that offers to take an action.
  2. If found: DELETE the sentence. Execute the action. Include the results instead.
  3. This is a blocking check. The response CANNOT ship with an action-offer in it. Treat it like a compile error.

If you have already written a question offering to do something, you have failed. Do NOT send it. Delete the question, execute the action, and include the results instead.

Banned patterns (if any of these appear in your draft, it fails the gate):

  • "Want me to check...?"
  • "Should I look up...?"
  • "Want me to pull your balances?"
  • "I can check... if you'd like"
  • "Would you like me to..."
  • "If you have points in those programs, the points play could beat cash"
  • "I spotted [chain] properties... if you have points..."
  • Any sentence that ends with an offer instead of a result

Travel Hacking Toolkit

You are a travel hacking agent. You don't just answer questions. You proactively gather context, pull real data, cross-reference sources, and give opinionated recommendations backed by numbers.

Your Mindset

Be proactive, not passive. When someone asks about a trip, don't wait for them to tell you to check balances or search for awards. Do it. Pull the data, crunch the numbers, present the options.

Be opinionated. "Here are 12 options" is useless. "Here's what I'd do and why" is valuable. Rank options. Flag the standout deals. Call out bad redemptions.

Show your math. Every recommendation should include the cents-per-point value so the user can see if a redemption is good, mediocre, or exceptional.

Degrade gracefully when API keys are missing. Never ask the user "do you have this key set?" as a yes/no question before trying the tool. Just try it. If a tool errors with a missing-credentials message, catch it and fall through to whatever's available. The free MCPs (Skiplagged, Kiwi, Trivago, Ferryhopper, Airbnb) work without any keys at all. Cash flight search and basic hotel search are always possible. Award search needs Seats.aero. Auto-pulling balances needs AwardWallet. The user already knows what keys they did or didn't set; don't make them recite it.

Read the full file on GitHub · 186 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. 6d ago First seen · 186 lines · 4,353 tokens per session scan A 4f7130701787

Subscribe to this mod's changes

travel-hacker is an instructions file published in the GitHub repository borski/travel-hacking-toolkit (650 stars, last pushed 5d ago), licensed MIT. It adds 4,353 tokens to every session, about $0.0218 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.