[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M74YKX5XZR0EGSZFRZDRJP12":3,"skill-same:01M74YKX5XZR0EGSZFRZDRJP12":62},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":28,"commitSha":29,"skillDirectory":30,"forksCount":31,"repositoryHtmlUrl":32,"repositoryHomepageUrl":6,"ownerHtmlUrl":33,"ownerBlogUrl":6,"ownerDescription":34,"updatedAt":35,"install":36,"resources":49},"01M74YKX5XZR0EGSZFRZDRJP12","american-airlines",null,"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.","borski\u002Ftravel-hacking-toolkit","borski","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F207674?v=4","01M74YKQ7FZM71RB1ET5KSXBZT","Michael Borohovski","01M74YKQ85N97DKHKHJCDECJT5",978,"MIT","https:\u002F\u002Fgithub.com\u002Fborski\u002Ftravel-hacking-toolkit\u002Fblob\u002Fmain\u002Fplugins\u002Ftravel-hacking-toolkit\u002Fskills\u002Famerican-airlines\u002FSKILL.md",[],[],"2026-11-11 17:32:24",false,"---\nname: american-airlines\ndescription: 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.\ncategory: loyalty\nsummary: AAdvantage balance and elite status. AwardWallet does not support AA.\napi_key: None (requires Patchright)\ndocker_image: ghcr.io\u002Fborski\u002Faa-miles-check\n---\n\n# American Airlines AAdvantage\n\nCheck AAdvantage award miles balance, elite status (Gold\u002FPlatinum\u002FPlatinum Pro\u002FExecutive Platinum), loyalty points, and million miler status. Uses Patchright (undetected Playwright fork) because AA blocks standard browser automation.\n\n**Requires Patchright.** AA.com blocks vanilla Playwright and agent-browser.\n\n## Prerequisites\n\n```bash\npip install patchright && patchright install chromium\n```\n\nOr use Docker (no local install needed):\n```bash\ndocker pull ghcr.io\u002Fborski\u002Faa-miles-check:latest\n# or build locally:\ndocker build -t aa-check skills\u002Famerican-airlines\u002F\n```\n\n## Usage\n\nPass credentials via environment variables or flags. If you use a secrets manager (1Password, Vault, etc.), inject them however you normally would.\n\n```bash\n# Environment variables\nAA_USERNAME=your_aa_number AA_PASSWORD=your_password \\\n  python3 scripts\u002Fcheck_balance.py --json\n\n# Flags\npython3 scripts\u002Fcheck_balance.py --username YOUR_AA_NUMBER --password YOUR_PASSWORD --json\n\n# Docker\ndocker run --rm -e AA_USERNAME=your_aa_number -e AA_PASSWORD=your_password aa-check --json\n```\n\n## 2FA Handling\n\nAA requires email verification on first login from a new device. The script waits up to 120 seconds for the code.\n\n**You (the agent) do NOT have access to the user's email.** AA sends the 2FA code to the account holder's email address. When the script hits 2FA, you **MUST ask the user** for the 6-digit code. This is not optional. Do not try to read their email. Do not guess. Do not skip. Ask them, wait for the answer, then write it to the code file.\n\n### Agent workflow\n\n1. Run the script in the background (`nohup ... &`, `disown`)\n2. Poll stderr for `\"2FA REQUIRED\"` to confirm the code was sent\n3. **Ask the user** for the 6-digit code AA emailed them\n4. Write the code to the code file: `echo \"123456\" > \u002Ftmp\u002Faa-2fa-code.txt`\n5. Wait for the script to complete and read stdout for the JSON result\n\n### Persistent profiles (skip 2FA on repeat runs)\n\nUse `--profile name` to save browser cookies. After the first successful 2FA, subsequent runs with the same profile skip 2FA entirely. Profiles are stored at `~\u002F.aa-browser-profiles\u002F{name}\u002F`. Sessions last hours, not days.\n\n```bash\n# First run: will need 2FA\npython3 scripts\u002Fcheck_balance.py --profile user1 --json\n\n# Later runs: same profile, no 2FA\npython3 scripts\u002Fcheck_balance.py --profile user1 --json\n```\n\n### Code input methods\n\n- **Command hook:** Set `AA_2FA_COMMAND` to a command that blocks until it has the code, then prints it to stdout. The script runs this first before falling back to file polling.\n- **File (default):** Script polls `\u002Ftmp\u002Faa-2fa-code.txt` every 2 seconds. Write the 6-digit code there.\n- **Direct flag:** `--code 123456` if you already have the code before running.\n- **Custom file path:** `--code-file \u002Fpath\u002Fto\u002Fcode.txt`\n\n## Output\n\n```json\n{\n  \"username\": \"XXXXXXX\",\n  \"status\": \"completed\",\n  \"miles\": 123425,\n  \"elite_status\": \"Platinum Pro\",\n  \"loyalty_points\": 180,\n  \"name\": \"John Doe\",\n  \"aadvantage_number\": \"XXXXXXX\",\n  \"million_miler\": 19328,\n  \"member_since\": \"Aug 23, 2011\"\n}\n```\n\n| Field | Description |\n|-------|-------------|\n| `miles` | Award miles balance (redeemable) |\n| `elite_status` | Gold, Platinum, Platinum Pro, or Executive Platinum (null if none) |\n| `loyalty_points` | Current year loyalty points (reset March 1) |\n| `million_miler` | Lifetime miles toward Million Miler status |\n| `member_since` | Account creation date |\n\n## When to Use\n\n- Checking AA miles balance (AwardWallet doesn't support AA)\n- Verifying elite status tier and expiration\n- Tracking loyalty points toward next status level\n- Comparing AA award availability against balance (combine with seats-aero)\n\n## When NOT to Use\n\n- **Booking flights.** Read-only. Does not modify anything.\n- **Other airlines.** Use AwardWallet for airlines it supports.\n\n## Implementation Notes\n\n- AA uses 6 separate input boxes for 2FA codes (one digit per box). The script types each digit individually with auto-advance.\n- Cookie consent banners are removed via JS before interacting with the Verify button.\n- The Verify button requires Tab+Enter to submit (neither JS `.click()` nor Playwright `.click()` produce a trusted pointer event that AA's React app accepts).\n- `headless=False` is required. AA detects headless browsers even with Patchright. Docker uses xvfb for a virtual display.\n\n## Limitations\n\n- **2FA on first use per profile.** No way around it. AA sends an email code. Set `AA_2FA_COMMAND` to automate code retrieval.\n- **Session expiry.** Persistent profiles last hours, not days. Long gaps between runs may require 2FA again.\n- **Headed mode required.** Opens a Chrome window locally. Use Docker for no popup.\n","# American Airlines AAdvantage\n\nCheck AAdvantage award miles balance, elite status (Gold\u002FPlatinum\u002FPlatinum Pro\u002FExecutive Platinum), loyalty points, and million miler status. Uses Patchright (undetected Playwright fork) because AA blocks standard browser automation.\n\n**Requires Patchright.** AA.com blocks vanilla Playwright and agent-browser.\n\n## Prerequisites\n\n```bash\npip install patchright && patchright install chromium\n```\n\nOr use Docker (no local install needed):\n```bash\ndocker pull ghcr.io\u002Fborski\u002Faa-miles-check:latest\n# or build locally:\ndocker build -t aa-check skills\u002Famerican-airlines\u002F\n```\n\n## Usage\n\nPass credentials via environment variables or flags. If you use a secrets manager (1Password, Vault, etc.), inject them however you normally would.\n\n```bash\n# Environment variables\nAA_USERNAME=your_aa_number AA_PASSWORD=your_password \\\n  python3 scripts\u002Fcheck_balance.py --json\n\n# Flags\npython3 scripts\u002Fcheck_balance.py --username YOUR_AA_NUMBER --password YOUR_PASSWORD --json\n\n# Docker\ndocker run --rm -e AA_USERNAME=your_aa_number -e AA_PASSWORD=your_password aa-check --json\n```\n\n## 2FA Handling\n\nAA requires email verification on first login from a new device. The script waits up to 120 seconds for the code.\n\n**You (the agent) do NOT have access to the user's email.** AA sends the 2FA code to the account holder's email address. When the script hits 2FA, you **MUST ask the user** for the 6-digit code. This is not optional. Do not try to read their email. Do not guess. Do not skip. Ask them, wait for the answer, then write it to the code file.\n\n### Agent workflow\n\n1. Run the script in the background (`nohup ... &`, `disown`)\n2. Poll stderr for `\"2FA REQUIRED\"` to confirm the code was sent\n3. **Ask the user** for the 6-digit code AA emailed them\n4. Write the code to the code file: `echo \"123456\" > \u002Ftmp\u002Faa-2fa-code.txt`\n5. Wait for the script to complete and read stdout for the JSON result\n\n### Persistent profiles (skip 2FA on repeat runs)\n\nUse `--profile name` to save browser cookies. After the first successful 2FA, subsequent runs with the same profile skip 2FA entirely. Profiles are stored at `~\u002F.aa-browser-profiles\u002F{name}\u002F`. Sessions last hours, not days.\n\n```bash\n# First run: will need 2FA\npython3 scripts\u002Fcheck_balance.py --profile user1 --json\n\n# Later runs: same profile, no 2FA\npython3 scripts\u002Fcheck_balance.py --profile user1 --json\n```\n\n### Code input methods\n\n- **Command hook:** Set `AA_2FA_COMMAND` to a command that blocks until it has the code, then prints it to stdout. The script runs this first before falling back to file polling.\n- **File (default):** Script polls `\u002Ftmp\u002Faa-2fa-code.txt` every 2 seconds. Write the 6-digit code there.\n- **Direct flag:** `--code 123456` if you already have the code before running.\n- **Custom file path:** `--code-file \u002Fpath\u002Fto\u002Fcode.txt`\n\n## Output\n\n```json\n{\n  \"username\": \"XXXXXXX\",\n  \"status\": \"completed\",\n  \"miles\": 123425,\n  \"elite_status\": \"Platinum Pro\",\n  \"loyalty_points\": 180,\n  \"name\": \"John Doe\",\n  \"aadvantage_number\": \"XXXXXXX\",\n  \"million_miler\": 19328,\n  \"member_since\": \"Aug 23, 2011\"\n}\n```\n\n| Field | Description |\n|-------|-------------|\n| `miles` | Award miles balance (redeemable) |\n| `elite_status` | Gold, Platinum, Platinum Pro, or Executive Platinum (null if none) |\n| `loyalty_points` | Current year loyalty points (reset March 1) |\n| `million_miler` | Lifetime miles toward Million Miler status |\n| `member_since` | Account creation date |\n\n## When to Use\n\n- Checking AA miles balance (AwardWallet doesn't support AA)\n- Verifying elite status tier and expiration\n- Tracking loyalty points toward next status level\n- Comparing AA award availability against balance (combine with seats-aero)\n\n## When NOT to Use\n\n- **Booking flights.** Read-only. Does not modify anything.\n- **Other airlines.** Use AwardWallet for airlines it supports.\n\n## Implementation Notes\n\n- AA uses 6 separate input boxes for 2FA codes (one digit per box). The script types each digit individually with auto-advance.\n- Cookie consent banners are removed via JS before interacting with the Verify button.\n- The Verify button requires Tab+Enter to submit (neither JS `.click()` nor Playwright `.click()` produce a trusted pointer event that AA's React app accepts).\n- `headless=False` is required. AA detects headless browsers even with Patchright. Docker uses xvfb for a virtual display.\n\n## Limitations\n\n- **2FA on first use per profile.** No way around it. AA sends an email code. Set `AA_2FA_COMMAND` to automate code retrieval.\n- **Session expiry.** Persistent profiles last hours, not days. Long gaps between runs may require 2FA again.\n- **Headed mode required.** Opens a Chrome window locally. Use Docker for no popup.\n",{"name":5,"api_key":24,"summary":25,"category":26,"description":7,"docker_image":27},"None (requires Patchright)","AAdvantage balance and elite status. AwardWallet does not support AA.","loyalty","ghcr.io\u002Fborski\u002Faa-miles-check","main","30b091178a3e4b02ff2c31bb43eb4186c4bf9d8a","plugins\u002Ftravel-hacking-toolkit\u002Fskills\u002Famerican-airlines",120,"https:\u002F\u002Fgithub.com\u002Fborski\u002Ftravel-hacking-toolkit","https:\u002F\u002Fgithub.com\u002Fborski","I run the Agentic Red Team @ DeepMind (Google)","2026-11-09 22:54:02",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":48},[38,41,44],{"tool":39,"command":40},"npx","npx skills add borski\u002Ftravel-hacking-toolkit --skill american-airlines",{"tool":42,"command":43},"bunx","bunx skills add borski\u002Ftravel-hacking-toolkit --skill american-airlines",{"tool":45,"command":46},"pnpm","pnpm dlx skills add borski\u002Ftravel-hacking-toolkit --skill american-airlines","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fborski\u002Ftravel-hacking-toolkit\u002Fblob\u002Fmain\u002Fplugins\u002Ftravel-hacking-toolkit\u002Fskills\u002Famerican-airlines\u002FSKILL.md",true,[50,56],{"path":51,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":54,"sourceHtmlUrl":55},"Dockerfile","OTHER","其他",328,"https:\u002F\u002Fgithub.com\u002Fborski\u002Ftravel-hacking-toolkit\u002Fblob\u002Fmain\u002Fplugins\u002Ftravel-hacking-toolkit\u002Fskills\u002Famerican-airlines\u002FDockerfile",{"path":57,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":60,"sourceHtmlUrl":61},"scripts\u002Fcheck_balance.py","SCRIPT","脚本",22222,"https:\u002F\u002Fgithub.com\u002Fborski\u002Ftravel-hacking-toolkit\u002Fblob\u002Fmain\u002Fplugins\u002Ftravel-hacking-toolkit\u002Fskills\u002Famerican-airlines\u002Fscripts\u002Fcheck_balance.py",[63,70,77,84,91,98],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M74YSPQMTR5MVRP5DPXM6F73","wikipedia-airports","Discover destinations served from any airport via Wikipedia. Sanity-check whether an airline flies a specific route, find regional service that fare tools miss, identify late-split-return airport options.","https:\u002F\u002Fgithub.com\u002Fborski\u002Ftravel-hacking-toolkit\u002Fblob\u002Fmain\u002Fplugins\u002Ftravel-hacking-toolkit\u002Fskills\u002Fwikipedia-airports\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M74YSK14ZG02D6DT18N3X4GM","wheretocredit","Mileage earning rates by airline and booking class via wheretocredit.com. Redeemable and qualifying miles across 50+ programs. Use when deciding where to credit a flight or comparing earning rates.","https:\u002F\u002Fgithub.com\u002Fborski\u002Ftravel-hacking-toolkit\u002Fblob\u002Fmain\u002Fplugins\u002Ftravel-hacking-toolkit\u002Fskills\u002Fwheretocredit\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M74YSDZJZ70SN5A9GG16NQC0","vrbo","Search VRBO (Vrbo \u002F Expedia Group) vacation rentals including entire homes, condos, and cabins via Patchright browser automation. VRBO sits behind Akamai Bot Manager so plain HTTP and standard Playwright get a 429 bot wall. Use for whole-home or group stays, multi-bedroom rentals, and Airbnb-vs-VRBO comparisons. Trigger phrases include search VRBO, Vrbo rentals, vacation rental, cabin rental, whole house, condo for the group.","https:\u002F\u002Fgithub.com\u002Fborski\u002Ftravel-hacking-toolkit\u002Fblob\u002Fmain\u002Fplugins\u002Ftravel-hacking-toolkit\u002Fskills\u002Fvrbo\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M74YSAXWPG81WK20XTQS0K04","tripadvisor","TripAdvisor Content API for hotel ratings, restaurant search, attraction reviews, rankings, and nearby locations. Use when evaluating hotels or researching destinations. 5K calls\u002Fmonth.","https:\u002F\u002Fgithub.com\u002Fborski\u002Ftravel-hacking-toolkit\u002Fblob\u002Fmain\u002Fplugins\u002Ftravel-hacking-toolkit\u002Fskills\u002Ftripadvisor\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":19},"01M74YS7174Q6WJRWVK4TPJQED","trip-planner","Full trip planning orchestration. Combines flight search, hotel search, and points optimization into one cost analysis. Use when the user says \"plan a trip\" or wants the complete picture for a destination.","https:\u002F\u002Fgithub.com\u002Fborski\u002Ftravel-hacking-toolkit\u002Fblob\u002Fmain\u002Fplugins\u002Ftravel-hacking-toolkit\u002Fskills\u002Ftrip-planner\u002FSKILL.md",[],[],{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":19},"01M74YS3QM1ED7D6Q6X3JK2783","trip-log","Save flight searches, itineraries, and booked trips to the trips\u002Flogs\u002F directory for future reference. OPT-IN — use when the user asks to log a trip or look up past searches, or on every search only if the user has said they want automatic logging. Also use to update status when a trip is booked or completed.","https:\u002F\u002Fgithub.com\u002Fborski\u002Ftravel-hacking-toolkit\u002Fblob\u002Fmain\u002Fplugins\u002Ftravel-hacking-toolkit\u002Fskills\u002Ftrip-log\u002FSKILL.md",[],[]]