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.
npx skills add borski/travel-hacking-toolkit --skill american-airlines --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# 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
- Prerequisites
- Usage
- 2FA Handling
- Agent workflow
- Persistent profiles (skip 2FA on repeat runs)
- Code input methods
- Output
- When to Use
- When NOT to Use
- Implementation Notes
- Limitations
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
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.
