
# Airplane Check-in Skill
**Schedule and complete airline check-in through official sites, with durable timing, private state, human-controlled declarations, explicit verification, and a field-tested ANA adapter.**
[](LICENSE)
[](package.json)
[](SKILL.md)
[](#safety-model) [](https://discord.skerritt.blog)
[Install](#install-as-a-hermes-skill) · [Workflow](#what-it-does) · [Support](#support-model) · [ANA adapter](#ana-verified-adapter) · [Source audit](references/source-audit.md)
## What it does
`airplane-checkin` is a Hermes skill for the whole check-in lifecycle:
1. Find and reconcile the user's airline-issued itinerary.
2. Verify the airline's current opening and closing policy.
3. Calculate the opening time from an offset-bearing departure timestamp.
4. Store booking details privately under an opaque local ID.
5. Create a durable one-shot Hermes cron job.
6. Run status before any write.
7. Complete the current official flow, stopping at CAPTCHA, login secrets, declarations, payments, and unknown states.
8. Verify every intended passenger and segment.
9. Retrieve the boarding pass privately, notify with redacted details, and clean up.
The project began as a real ANA Playwright workflow. It now combines the safest ideas found across a live audit of multi-airline, Delta, and Southwest projects without copying their source or importing their unsafe patterns.
## Support model
| Flow | Level | Behaviour |
|---|---|---|
| ANA / All Nippon Airways | **Verified adapter** | Read-only status, guarded check-in, local boarding-pass PDF |
| Southwest, Delta, Air Canada, WestJet, United, American, Alaska, JetBlue | **Guided browser** | Current official site, semantic inspection, human handoff at guarded boundaries |
| British Airways, easyJet, Ryanair, Wizz Air, Jet2, Lufthansa, other airlines | **Guided browser** | Live policy lookup and conservative official-site assistance |
A generic field selector or URL list is not verified support. New verified adapters need synthetic state fixtures, refusal-path tests, and a controlled real-booking validation. See [the acceptance checklist](references/adapter-acceptance.md).
## Install as a Hermes skill
Clone the repository into a Hermes skills directory:
```bash
git clone https://github.com/bee-san/airplane-checkin-skill.git \
~/.hermes/skills/airplane-checkin
cd ~/.hermes/skills/airplane-checkin
npm install
```
Start a fresh Hermes session so the skill registry reloads, then load it explicitly when needed:
```text
/skill airplane-checkin
```
The root [`SKILL.md`](SKILL.md) is the operational playbook. It includes scheduling, browser execution, safety rules, failure handling, verification, and cleanup.
## Plan a check-in time
Do not assume every airline opens at T-24 hours. Verify the current rule first, then pass an ISO timestamp with `Z` or an explicit UTC offset:
```bash
npm run plan -- \
--airline ANA \
--departure 2026-10-25T09:00:00+01:00 \
--opens-before-minutes 1440 \
--buffer-seconds 5 \
--attempts 3 \
--interval-seconds 10
```
Example output is redacted and contains no booking data:
```json
{
"airline": "ana",
"automationLevel": "verified-adapter",
"departure": "2026-10-25T09:00:00+01:00",
"opensAt": "2026-10-24T08:00:05.000Z",
"attempts": [
"2026-10-24T08:00:05.000Z",
"2026-10-24T08:00:15.000Z",
"2026-10-24T08:00:25.000Z"
]
}
```
The default starts five seconds after the window opens and uses three serial attempts. The helper rejects timezone-less timestamps and retry plans above ten attempts.
## ANA verified adapter
Install and create a private local environment file:
```bash
npm install
cp .env.example .env
```
Fill `.env` locally, then run the read-only status action first:
```bash
npm run status
```
The passenger must personally review ANA's current baggage and restricted-goods information. Only after the passenger confirms it:
```bash
ANA_CONFIRM_BAGGAGE_RESTRICTIONS=YES npm run checkin
npm run boarding-pass
```
The adapter stops rather than guessing when ANA exposes an unknown booking state, changed declaration, disabled control, incomplete result, or implausible PDF. Browser profiles, screenshots, `.env`, and boarding passes are ignored by Git.