Agent skill · Content & Marketing

american-airlines

Check American Airlines AAdvantage balance, elite status, and loyalty points via Patchright. Handles email 2FA with 6-box code entry. Uses persistent browser profiles to skip 2FA on subsequent runs.

borskigithub.com/borskiGitHub ↗
claude-codeships scriptsMIT
Install
npx skills add borski/travel-hacking-toolkit --skill american-airlines --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 3
SKILL.md size: 5 KB
Bundled scripts: yes
Path: plugins/travel-hacking-toolkit/skills/american-airlines/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 611
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# American Airlines AAdvantage Check AAdvantage award miles balance, elite status (Gold/Platinum/Platinum Pro/Executive Platinum), loyalty points, and million miler status. Uses Patchright (undetected Playwright fork) because AA blocks standard browser automation. **Requires Patchright.** AA.com blocks vanilla Playwright and agent-browser. ## Prerequisites ```bash pip install patchright && patchright install chromium ``` Or use Docker (no local install needed): ```bash docker pull ghcr.io/borski/aa-miles-check:latest # or build locally: docker build -t aa-check skills/american-airlines/ ``` ## Usage Pass credentials via environment variables or flags. If you use a secrets manager (1Password, Vault, etc.), inject them however you normally would. ```bash # Environment variables AA_USERNAME=your_aa_number AA_PASSWORD=your_password \ python3 scripts/check_balance.py --json # Flags python3 scripts/check_balance.py --username YOUR_AA_NUMBER --password YOUR_PASSWORD --json # Docker docker run --rm -e AA_USERNAME=your_aa_number -e AA_PASSWORD=your_password aa-check --json ``` ## 2FA Handling AA requires email verification on first login from a new device. The script waits up to 120 seconds

What's inside
Steps it walks through
  1. Prerequisites
  2. Usage
  3. 2FA Handling
  4. Agent workflow
  5. Persistent profiles (skip 2FA on repeat runs)
  6. Code input methods
  7. Output
  8. When to Use
  9. When NOT to Use
  10. Implementation Notes
  11. Limitations
Ships with 2 files
  • Dockerfile
  • scripts/check_balance.py
Commands it runs
pip install patchright && patchright install chromium
docker pull ghcr.io/borski/aa-miles-check:latest
or build locally:
docker build -t aa-check skills/american-airlines/
Environment variables
python3 scripts/check_balance.py --json
Flags
python3 scripts/check_balance.py --username YOUR_AA_NUMBER --password YOUR_PASSWORD --json
Docker
docker run --rm -e AA_USERNAME=your_aa_number -e AA_PASSWORD=your_password aa-check --json
More from travel-hacking-toolkit
All skills →
About this skill
What does the american-airlines skill do?

Check American Airlines AAdvantage balance, elite status, and loyalty points via Patchright. Handles email 2FA with 6-box code entry. Uses persistent browser profiles to skip 2FA on subsequent runs.

How do I install it?

Run `npx skills add borski/travel-hacking-toolkit --skill american-airlines --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From borski/travel-hacking-toolkit, a repository with 611 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going