Pp Airbnb 标志

Pp Airbnb

社区热门
mvanhorn
pp-airbnb

Skip the Airbnb platform fee. Find the host's direct booking site for any Airbnb listing. Trigger phrases: `find the direct booking site`, `skip the airbnb fee`, `vacation rental cheapest`, `book direct`, `use airbnb-pp`, `run airbnb-pp`. NOTE: VRBO support is currently disabled — pending Akamai workaround.

Add to TypingMind

概览

发布者mvanhorn
代码仓库printing-press-library
技能名称pp-airbnb
星标数
2K
复刻数
614
附带文件
仅含指令
许可协议Apache-2.0
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 mvanhorn 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Pp Airbnb AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/mvanhorn/printing-press-library/tree/main/cli-skills/pp-airbnb
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/mvanhorn/printing-press-library.git /tmp/printing-press-library
mkdir -p .claude/skills
cp -r /tmp/printing-press-library/cli-skills/pp-airbnb .claude/skills/pp-airbnb
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Pp Airbnb,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Pp Airbnb。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Pp Airbnb 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Airbnb — Printing Press CLI

Prerequisites: Install the CLI

This skill drives the airbnb-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:
    bash
    npx -y @mvanhorn/printing-press-library install airbnb --cli-only
  2. Verify: airbnb-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):

bash
go install github.com/mvanhorn/printing-press-library/library/travel/airbnb/cmd/airbnb-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.

When to Use This CLI

Reach for this CLI when an agent or user names an Airbnb listing URL, asks about Airbnb fees or direct-booking savings, mentions 'book direct,' or wants to plan a trip across listings. The cheapest command is the headline; plan and compare extend it. The local store accumulates listings, hosts, and price history across sessions, so re-running queries gets faster and richer over time.

When Not to Use This CLI

Do not activate this CLI for requests that require creating, updating, deleting, publishing, commenting, upvoting, inviting, ordering, sending messages, booking, purchasing, or changing remote state. This printed CLI exposes read-only commands for inspection, export, sync, and analysis.

Unique Capabilities

These capabilities aren't available in any other tool for this API.

Host-direct arbitrage

  • cheapest — Given an Airbnb or VRBO listing URL, find the host's direct booking site and report the cheapest of three sources.

    When a user names an Airbnb/VRBO listing, this is the right tool to reach for. Returns a structured comparison of OTA fees vs direct booking with actionable URLs.

    bash
    airbnb-pp-cli cheapest 'https://www.airbnb.com/rooms/37124493?check_in=2026-05-16&check_out=2026-05-19' --agent
  • plan — Search Airbnb and VRBO in parallel for a city/dates/budget, then run cheapest on the top results, return a ranked-by-savings list.

    The agent-friendly trip planner. One call returns ranked results across both platforms with direct-booking URLs and savings amounts.

    bash
    airbnb-pp-cli plan 'Lake Tahoe' --checkin 2026-05-16 --checkout 2026-05-19 --guests 4 --budget 1500 --agent
  • compare — Side-by-side: OTA total (with cleaning + service + tax fees) vs direct booking total, with dollar and percent savings.

    Use when an agent needs to justify a booking recommendation with concrete savings numbers.

    bash
    airbnb-pp-cli compare 'https://www.airbnb.com/rooms/37124493' --checkin 2026-05-16 --checkout 2026-05-19 --json
  • find-twin — Reverse image search a listing's photos to find the same property on direct booking sites or alternate platforms.

    When host extraction fails (vague host name), reverse image search is the most reliable signal.

    bash
    airbnb-pp-cli find-twin 'https://www.airbnb.com/rooms/37124493' --json

Cross-platform

  • match — Given a listing on Airbnb (or VRBO), find the same property on the other platform via geocode + amenities + photo signal.

    Cross-platform price discrimination is real; the same condo can cost 15 percent less on VRBO. This finds it.

    bash
    airbnb-pp-cli match 'https://www.airbnb.com/rooms/37124493' --json

Local state that compounds

  • watch — Add saved listings to a watchlist with target prices; watch check re-scrapes each, records a dated price snapshot when a real price comes back, and exits 7 on a genuine drop. Subcommands: add, list, remove, check.

    Use when a user is shopping a specific listing and waiting for a price drop. Schedule watch check daily; act on exit code 7. A listing with no available price for the dates is reported under no_price and is never a hit (no false exit 7). Remove with watch remove <listing-url-or-id>.

    bash
    airbnb-pp-cli watch add 'https://www.airbnb.com/rooms/37124493' --max-price 350 --checkin 2026-05-16 --checkout 2026-05-19
    airbnb-pp-cli watch remove 37124493
  • host portfolio — Given a host or property management company name, list every known listing under them across Airbnb and VRBO.

    Discover bulk patterns: which PMCs operate in this city, which have direct sites, where to focus arbitrage.

    bash
    airbnb-pp-cli host portfolio 'Vacasa' --json --select listings.title,listings.location
  • wishlist diff — Track price changes on Airbnb wishlists over time; report which saved listings dropped, by how much, and over what window.

    User saved a listing months ago and forgot. This surfaces price movement so they can act before booking.

    bash
    airbnb-pp-cli wishlist diff --since 2026-04-01 --json
  • fingerprint — Stable hash from photos + amenities + host + city; used by match for dedupe; exposed for power-user export workflows.

    Build your own external joins on listings; stable across sessions.

    bash
    airbnb-pp-cli fingerprint 'https://www.airbnb.com/rooms/37124493'

Discovery Signals

This CLI was generated with browser-observed traffic context.

  • Capture coverage: 66 API entries from 299 total network entries
  • Protocols: rpc_envelope (80% confidence), rest_json (75% confidence)
  • Auth signals: api_key — headers: X-Airbnb-API-Key, X-Goog-Api-Key
  • Generation hints: has_rpc_envelope, weak_schema_confidence
  • Candidate command ideas: create_GetViewportInfo — Derived from observed POST /$rpc/google.internal.maps.mapsjs.v1.MapsJsInternalService/GetViewportInfo traffic.; create_StaysPdpSections — Derived from observed POST /api/v3/StaysPdpSections/{hash} traffic.; create_get_data_layer_variables — Derived from observed POST /api/v2/get-data-layer-variables traffic.; create_js — Derived from observed POST /js/ traffic.; create_marketing_event_tracking — Derived from observed POST /api/v2/marketing_event_tracking traffic.; create_messages — Derived from observed POST /tracking/jitney/logging/messages traffic.; create_realtimeconversion — Derived from observed POST /track/realtimeconversion traffic.; get_GetConsentFlagsQuery — Derived from observed GET /api/v3/GetConsentFlagsQuery/{hash} traffic.
  • Caveats: empty_payload: API-looking request returned an empty or null payload; schema confidence is weak.; empty_payload: API-looking request returned an empty or null payload; schema confidence is weak.; empty_payload: API-looking request returned an empty or null payload; schema confidence is weak.; empty_payload: API-looking request returned an empty or null payload; schema confidence is weak.; empty_payload: API-looking request returned an empty or null payload; schema confidence is weak.; empty_payload: API-looking request returned an empty or null payload; schema confidence is weak.; empty_payload: API-looking request returned an empty or null payload; schema confidence is weak.; empty_payload: API-looking request returned an empty or null payload; schema confidence is weak.; empty_payload: API-looking request returned an empty or null payload; schema confidence is weak.; empty_payload: API-looking request returned an empty or null payload; schema confidence is weak.

Command Reference

airbnb_listing — Airbnb listings (search and detail) via SSR HTML scrape (openbnb pattern, no auth required).

  • airbnb-pp-cli airbnb_listing get — Get full Airbnb listing detail (amenities, house rules, location, highlights, description, policies, host) via SSR...
  • airbnb-pp-cli airbnb_listing search — Search Airbnb listings by location, dates, and guest count via the public SSR HTML page (openbnb pattern). Walks...

airbnb_wishlist — Airbnb wishlists (read user's saved listings; requires auth login --chrome).

  • airbnb-pp-cli airbnb_wishlist items — Get items in a specific wishlist by listing IDs.
  • airbnb-pp-cli airbnb_wishlist list — List the user's wishlists via Airbnb's GraphQL persisted query.

host — Host identity extraction (the linchpin of host-direct arbitrage).

  • airbnb-pp-cli host extract — Extract the host's brand or display name from a listing URL across both platforms. Uses propertyManagement.name...
  • airbnb-pp-cli host portfolio — List every known listing under one host or PMC across Airbnb and VRBO from the local store.

vrbo_listing — VRBO listings (search and detail) via /graphql with Akamai warmup pattern.

  • airbnb-pp-cli vrbo_listing get — Get full VRBO property detail via the propertyDetail GraphQL operation (operation name discovered at runtime). Falls...
  • airbnb-pp-cli vrbo_listing search — Search VRBO properties via the propertySearch GraphQL operation. Uses Akamai warmup (GET / first, wait 1.5s, then POST).

Freshness Contract

This printed CLI owns bounded freshness only for registered store-backed read command paths. In --data-source auto mode, those paths check sync_state and may run a bounded refresh before reading local data. --data-source local never refreshes. --data-source live reads the API and does not mutate the local store. Set AIRBNB_PP_NO_AUTO_REFRESH=1 to skip the freshness hook without changing source selection.

Covered paths:

  • airbnb-pp-cli airbnb_wishlist
  • airbnb-pp-cli airbnb_wishlist items
  • airbnb-pp-cli airbnb_wishlist list

When JSON output uses the generated provenance envelope, freshness metadata appears at meta.freshness. Treat it as current-cache freshness for the covered command path, not a guarantee of complete historical backfill or API-specific enrichment.

Finding the right command

When you know what you want to do but not which command does it, ask the CLI directly:

bash
airbnb-pp-cli which "<capability in your own words>"

which resolves a natural-language capability query to the best matching command from this CLI's curated feature index. Exit code 0 means at least one match; exit code 2 means no confident match — fall back to --help or use a narrower query.

Recipes

Find the cheapest way to book a saved Airbnb listing

bash
airbnb-pp-cli cheapest 'https://www.airbnb.com/rooms/37124493' --checkin 2026-05-16 --checkout 2026-05-19 --json --select savings,direct.url,direct.total,airbnb.total

Returns just the savings and price comparison fields, not the full host-extraction trace.

Plan a 4-guest Tahoe trip across both platforms

bash
airbnb-pp-cli plan 'Lake Tahoe' --checkin 2026-05-16 --checkout 2026-05-19 --guests 4 --budget 1500 --agent

Fans out across Airbnb + VRBO + direct discovery; ranks by total savings.

Watch for price drops on saved listings

bash
airbnb-pp-cli watch add 'https://www.airbnb.com/rooms/37124493' --max-price 350 && airbnb-pp-cli watch check
airbnb-pp-cli watch remove 'https://www.airbnb.com/rooms/37124493'

Add to watchlist, then check with cron — exits 7 only when a real scraped price is at or below the threshold. A listing with no available price for the dates is reported under no_price (never a hit, never exit 7). watch remove accepts the listing URL or the bare id from watch list.

Keep price history current

bash
airbnb-pp-cli sync                                 # re-scrapes watchlist + known listings, persists fresh snapshots
airbnb-pp-cli sync --resources airbnb_wishlist     # auth-gated wishlist sync (needs auth login --chrome)

sync re-scrapes what the store already knows (watchlist entries + previously-scraped listings) and writes fresh price snapshots; on an empty store it reports empty_store and makes no network calls. The authenticated wishlist sync is opt-in via --resources airbnb_wishlist.

Find a Vacasa property in Austin and book direct

bash
airbnb-pp-cli host portfolio 'Vacasa' --city Austin --agent --select listings.title,listings.direct_url

Bulk discovery of one PMC's portfolio with direct URLs already resolved.

Compare deeply nested response

bash
airbnb-pp-cli airbnb get 37124493 --agent --select listing.title,listing.coordinate.latitude,listing.coordinate.longitude,pricingQuote.structuredStayDisplayPrice.primaryLine.price,pricingQuote.structuredStayDisplayPrice.secondaryLine.price

Use --select with dotted paths to narrow Airbnb's deeply nested SSR Apollo cache to just the high-gravity fields.

Auth Setup

Public search and listing detail need no auth. Authenticated features (Airbnb wishlists, trip history) use cookie import via auth login --chrome. The web-search backend is pluggable: Parallel.ai (paid, best), DuckDuckGo HTML (free default), Brave Search API (free tier), or Tavily (free tier).

Run airbnb-pp-cli doctor to verify setup.

Agent Mode

Add --agent to any command. Expands to: --json --compact --no-input --no-color --yes.

  • Pipeable — JSON on stdout, errors on stderr

  • Filterable — --select keeps a subset of fields. Dotted paths descend into nested structures; arrays traverse element-wise. Critical for keeping context small on verbose APIs:

    bash
    airbnb-pp-cli airbnb_listing get --agent --select id,name,status
  • Previewable — --dry-run shows the request without sending

  • Offline-friendly — sync/search commands can use the local SQLite store when available

  • Non-interactive — never prompts, every input is a flag

  • Read-only — do not use this CLI for create, update, delete, publish, comment, upvote, invite, order, send, or other mutating requests

Response envelope

Commands that read from the local store or the API wrap output in a provenance envelope:

json
{
  "meta": {"source": "live" | "local", "synced_at": "...", "reason": "..."},
  "results": <data>
}

Parse .results for data and .meta.source to know whether it's live or local. A human-readable N results (live) summary is printed to stderr only when stdout is a terminal — piped/agent consumers get pure JSON on stdout.

Agent Feedback

When you (or the agent) notice something off about this CLI, record it:

airbnb-pp-cli feedback "the --since flag is inclusive but docs say exclusive"
airbnb-pp-cli feedback --stdin < notes.txt
airbnb-pp-cli feedback list --json --limit 10

Entries are stored locally at ~/.airbnb-pp-cli/feedback.jsonl. They are never POSTed unless AIRBNB_PP_FEEDBACK_ENDPOINT is set AND either --send is passed or AIRBNB_PP_FEEDBACK_AUTO_SEND=true. Default behavior is local-only.

Write what surprised you, not a bug report. Short, specific, one line: that is the part that compounds.

Output Delivery

Every command accepts --deliver <sink>. The output goes to the named sink in addition to (or instead of) stdout, so agents can route command results without hand-piping. Three sinks are supported:

SinkEffect
stdoutDefault; write to stdout only
file:<path>Atomically write output to <path> (tmp + rename)
webhook:<url>POST the output body to the URL (application/json or application/x-ndjson when --compact)

Unknown schemes are refused with a structured error naming the supported set. Webhook failures return non-zero and log the URL + HTTP status on stderr.

Named Profiles

A profile is a saved set of flag values, reused across invocations. Use it when a scheduled agent calls the same command every run with the same configuration - HeyGen's "Beacon" pattern.

airbnb-pp-cli profile save briefing --json
airbnb-pp-cli --profile briefing airbnb_listing get
airbnb-pp-cli profile list --json
airbnb-pp-cli profile show briefing
airbnb-pp-cli profile delete briefing --yes

Explicit flags always win over profile values; profile values win over defaults. agent-context lists all available profiles under available_profiles so introspecting agents discover them at runtime.

Exit Codes

CodeMeaning
0Success
2Usage error (wrong arguments)
3Resource not found
4Authentication required
5API error (upstream issue)
7Rate limited (wait and retry)
8Bot challenge (datadome/Akamai). Wait, or refresh cookies via airbnb-pp-cli auth login --chrome
10Config error

Rate Limiting

--rate-limit N (global flag) caps the request rate to N per second. Applies to BOTH the scrape path (search, get, cheapest, plan, compare) AND the GraphQL path (BookingPrice for pricing, wishlist list, wishlist items).

  • Default (flag unset): 0.5 rps baseline. Non-regressive.
  • --rate-limit N with N > 0: sets that as the new cap.
  • --rate-limit 0: disables rate limiting.

The limiter is adaptive: on a 429 or a detected datadome/Akamai challenge it halves the current rate and records a ceiling. After 10 consecutive successes it ramps the rate up by 25%, capped at 90% of the discovered ceiling. Retry sleeps include 25% jitter to prevent a fleet of clients from synchronizing.

When sustained challenges fire, the CLI returns a typed BotChallengeError with a remediation hint (refresh cookies for datadome; wait for the Akamai sensor cooldown). The CLI does not synthesize fake data on failure.

Argument Parsing

Parse $ARGUMENTS:

  1. Empty, help, or --help → show airbnb-pp-cli --help output
  2. Starts with install → ends with mcp → MCP installation; otherwise → see Prerequisites above
  3. Anything else → Direct Use (execute as CLI command with --agent)

MCP Server Installation

  1. Install the MCP server:
    bash
    go install github.com/mvanhorn/printing-press-library/library/travel/airbnb/cmd/airbnb-pp-mcp@latest
  2. Register with Claude Code:
    bash
    claude mcp add airbnb-pp-mcp -- airbnb-pp-mcp
  3. Verify: claude mcp list

Direct Use

  1. Check if installed: which airbnb-pp-cli If not found, offer to install (see Prerequisites at the top of this skill).
  2. Match the user query to the best command from the Unique Capabilities and Command Reference above.
  3. Execute with the --agent flag:
    bash
    airbnb-pp-cli <command> [subcommand] [args] --agent
  4. If ambiguous, drill into subcommand help: airbnb-pp-cli <command> --help.

常见问题

Pp Airbnb AI 技能有什么作用?

Skip the Airbnb platform fee. Find the host's direct booking site for any Airbnb listing. Trigger phrases: `find the direct booking site`, `skip the airbnb fee`, `vacation rental cheapest`, `book direct`, `use airbnb-pp`, `run airbnb-pp`. NOTE: VRBO support is currently disabled — pending Akamai workaround.

为什么在 TypingMind 中使用 Pp Airbnb?

因为您只需安装一次,就能搭配任何模型使用。Pp Airbnb 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Pp Airbnb?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/mvanhorn/printing-press-library/tree/main/cli-skills/pp-airbnb。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Pp Airbnb?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Pp Airbnb 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Pp Airbnb 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Pp Airbnb AI 技能免费吗?

是的。mvanhorn 已在 GitHub 上根据 Apache-2.0 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇