Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

pp-airframe

БесплатноБез исполняемых скриптовНе проверен

Aircraft forensics from open public records — tail-number dossiers, fleet research, model-level safety, and NTSB event archaeology. Trigger phrases: `look up…

mvanhornот mvanhorn★ 2 170 звёзд на GitHub

Об этом скилле

airframe — Printing Press CLI

Prerequisites: Install the CLI

This skill drives the airframe-pp-cli binary. You must verify the CLI is installed before invoking any command from this skill. If it is missing, install it first:

  1. Install via the Printing Press installer. It defaults binaries to $HOME/.local/bin on macOS/Linux and %LOCALAPPDATA%\Programs\PrintingPress\bin on Windows:
    npx -y @mvanhorn/printing-press-library install airframe --cli-only
    
  2. Verify: airframe-pp-cli --version
  3. Ensure the reported install directory is on $PATH for the agent/runtime that will invoke this skill.

If the npx install fails (no Node, offline, etc.), fall back to a direct Go install (requires Go 1.26.6 or newer):

go install github.com/mvanhorn/printing-press-library/library/developer-tools/airframe/cmd/airframe-pp-cli@latest

If --version reports "command not found" after install, the runtime cannot see the binary directory on $PATH. Do not proceed with skill commands until verification succeeds.

The two-tier model (read this first, every invocation)

Tier Dataset Install requirement Answers questions like
1 FAA Aircraft Registry none — just airframe-pp-cli "Who owns N12345?" • "How old is this plane?" • "What aircraft does Berkshire Hathaway own?" • "What type is this Mode-S code?"
2 NTSB CAROL accident database mdbtools package "How safe is a Cessna 172?" • "Crash history for the Boeing 737 MAX 8" • "Has tail N12345 ever been in an incident?" • "Probable cause of event ERA22LA001"

airframe flight <ident> additionally requires flight-goat-pp-cli installed + FLIGHT_GOAT_API_KEY_AUTH set, and only works within ~72 hours of departure (airlines don't assign a specific tail to a flight before then). For pre-purchase or pre-booking "is my flight safe" questions, use a Tier 2 model-level lookup with the equipment type from the booking site.

Step 0 — Always run doctor first

Before answering any user question, run:

airframe-pp-cli doctor --json

Parse the JSON to determine:

  • db_exists — has the user ever synced?
  • sync_meta — which sources (faa_master, ntsb_avall) are present and how fresh?
  • mdbtools.detected — can we serve Tier 2 questions?
  • flight_goat.detected — can we serve flight <ident> questions?

Branch from here based on what the user actually asked.

Decision tree (use this to drive every user interaction)

A) User asks a Tier 1 question and Tier 1 is missing

Example: "Who owns N628TS?" but airframe-pp-cli doctor shows db_exists=false or sync_meta is empty.

  1. Tell the user: "I need to download the FAA registry first (~80 MB, ~30 seconds, no setup needed)."
  2. Offer to run airframe-pp-cli sync for them.
  3. After sync completes, answer their original question.

B) User asks a Tier 1 question and Tier 1 is ready

Just answer it directly:

airframe-pp-cli tail N628TS
airframe-pp-cli owner "Berkshire" --limit 20

C) User asks a Tier 2 question (safety / accident / NTSB) and mdbtools is missing

This is the most important branch — handle it with care.

Surface a clear explanation:

"To answer that, I need NTSB accident data, which requires the mdbtools package (NTSB ships their data in Microsoft Access format). It's a one-time install — would you like me to install it for you?"

If the user says yes, detect their OS and run the right command:

# Detect OS
uname -s   # → "Darwin" for macOS, "Linux" for Linux
# Detect Linux distribution if Linux
cat /etc/os-release 2>/dev/null | grep -E '^ID='

Then propose before running:

OS detected Command to run
macOS (Darwin) brew install mdbtools
Ubuntu / Debian (ID=ubuntu, ID=debian) sudo apt update && sudo apt install -y mdbtools
Fedora (ID=fedora) sudo dnf install -y mdbtools
RHEL / Rocky / Alma (ID=rhel/ID=rocky/ID=almalinux) sudo dnf install -y mdbtools
Arch (ID=arch) yay -S --noconfirm mdbtools (AUR — needs yay or paru; if neither is present, tell the user to install one first)

Important: never run sudo commands without first showing the user what you plan to run and confirming. The --noconfirm for yay is OK because the user has already opted in once.

After mdbtools installs, run:

airframe-pp-cli sync --source all

Then answer the original question.

D) User asks a Tier 2 question and mdbtools is present but NTSB hasn't been synced

doctor shows mdbtools.detected=true, but sync_meta has no ntsb_avall row.

Tell the user: "I have the NTSB ingest tool installed but haven't synced the data yet. Would you like me to run that now? It's ~90 MB and takes about a minute."

If yes:

airframe-pp-cli sync --source ntsb

E) User asks a flight-ident question — **first, check th

Полный SKILL.md на GitHub

Установить pp-airframe в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Bash

Вложенные файлы

.golangci.yml.goreleaser.yaml.manuscripts/20260513-023951/proofs/phase5-acceptance.json.manuscripts/20260513-023951/research/skipped.md.printing-press-patches/.gitkeep.printing-press-patches/catalog-go-1264-vuln-floor.json.printing-press-patches/catalog-go-1265-vuln-floor.json.printing-press-patches/flightgoat-envelope-unwrap.json.printing-press-patches/fts-build-tx.json.printing-press-patches/ingest-http-timeout.json.printing-press-patches/model-dedup-events.json.printing-press-patches/model-true-totals.json.printing-press-patches/ntsb-pre1982-idempotent.json.printing-press-patches/shellout-single-quote.json.printing-press-patches/store-migrate-early-return.json.printing-press-patches/store-readonly-version-guard.json.printing-press-patches/sync-validate-source.json.printing-press-release.json.printing-press.jsonAGENTS.mdCHANGELOG.mdLICENSEMakefileNOTICEREADME.mdcmd/airframe-pp-cli/main.gocmd/airframe-pp-mcp/main.godogfood-results.jsongo.modgo.suminternal/cli/doctor.gointernal/cli/envelope.gointernal/cli/event.gointernal/cli/flight.gointernal/cli/helpers.gointernal/cli/model.gointernal/cli/owner.gointernal/cli/root.gointernal/cli/search.gointernal/cli/sync.go

FAQ

Что делает скилл pp-airframe?

Aircraft forensics from open public records — tail-number dossiers, fleet research, model-level safety, and NTSB event archaeology. Trigger phrases: `look up tail number`, `who owns this plane N…`, `what aircraft does <company> own`, `safety record of <aircraft model>`, `accident history for`, `crash history for <aircraft model>`, `find aircraft registered to`, `NTSB event ERA…`, `use airframe`, `run airframe`. Secondary (day-of only, requires flight-goat + within 72hr of departure): `is UA<flight> safe`, `what plane is <flight>`.

Как установить скилл pp-airframe?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл pp-airframe запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить pp-airframe с