본문으로 건너뛰기
cccskills
무료GitHub에 공개

airbnb-adr-simulator

Fetch Airbnb income estimate (ADR, occupancy, monthly revenue) for any area using the official Airbnb GraphQL API — the same data the Airbnb host simulator shows. Input: station/area name. Output: per-night rate, avg nights, monthly estimate for entire_home and private_room.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(2)

  • SKILL.md3.8 KB
  • scripts/airbnb_adr.py10.0 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Airbnb ADR Simulator

Airbnb 公式ホストシミュレーターと同じデータを GraphQL API で取得する。 エリア名(駅名など)を入力すると、一棟貸し・一室貸しの ADR・稼働日数・月収試算を返す。

Setup

export AIRBNB_API_KEY="<your_key>"

API キーの取得方法

Airbnb は公式には API キーを配布していないが、ホストシミュレーターページから抽出できる。

方法1: DevTools で取得(推奨)

  1. ブラウザで https://www.airbnb.jp/host/homes を開く
  2. DevTools → Network タブ → フィルタに GetHostEstimateData と入力
  3. リクエストをクリック → Request Headers の X-Airbnb-API-Key の値をコピー

方法2: JS バンドルから取得

curl -s "https://www.airbnb.jp/host/homes" \
  | grep -o '"X-Airbnb-API-Key":"[^"]*"' | head -1

同様に persisted query hash も DevTools で取得:

  • Request Payload → extensions.persistedQuery.sha256Hash の値をコピー
  • export AIRBNB_GQL_HASH="<your_hash>" で環境変数に設定する

⚠️ キーとハッシュはローテーションされることがあるので、動かなくなったら再取得する。

Usage

python3 scripts/airbnb_adr.py "すすきの駅"
python3 scripts/airbnb_adr.py "渋谷駅"
python3 scripts/airbnb_adr.py "すすきの, 札幌市"

出力例:

📍 すすきの駅 → すすきの, 札幌市中央区...
🏨 一棟貸し (ENTIRE_HOME / 1BD / 4名)
   単価:   ¥25,261/泊
   稼働:   24泊/月 (80%)
   月収:   ¥606,262
   距離:   ✅ 0.1km

🛏 一室貸し (PRIVATE_ROOM / 1BD / 2名)
   単価:   ¥10,363/泊
   稼働:   15泊/月 (50%)
   月収:   ¥155,452
   距離:   ✅ 0.2km

API Details

  • Endpoint: POST https://www.airbnb.jp/api/v3/GetHostEstimateData
  • API Key header: X-Airbnb-API-Key: <key> (DevTools から取得)
  • Operation: GetHostEstimateData (persisted query)
  • Hash: DevTools の Request Payload → extensions.persistedQuery.sha256Hash
  • location 型: {"searchQuery": "エリア名"} ← {"query": ...} ではない
  • durationGranularity: ["MONTHLY"] 必須

room_type は ENTIRE_HOME(一棟)と PRIVATE_ROOM(一室)を別クエリで取得する。

Distance Verification

Nominatim で駅座標を取得し、API が返すリスト物件の重心との距離を計算。 エリアのサジェストがズレていないか確認するためのバリデーション。

  • ✅ 1km以内 — 精度高
  • 🟡 1〜3km — 要注意
  • ⚠️ 3km超 — エリア名を変えて再試行

Pitfalls

  • location 入力が超敏感: "すすきの, 札幌市" と "札幌市 すすきの" は別エリアに解釈される。駅名単体("すすきの駅")が最も精度が高い
  • Nominatim レートリミット: 連続呼び出しは 1 秒以上間隔を空ける
  • 稼働日数は sections[2].value: API レスポンスの header.sections[2] がエリア実績の平均稼働泊数(自前で仮定しない)
  • 月収は earningsEstimateListNative[max(0, avg_nights - 1)]: スライダーのインデックスと対応(avg_nights == 0 は先頭要素に丸める)

Script

scripts/airbnb_adr.py — スタンドアロンで動く CLI スクリプト。AIRBNB_GQL_HASH は取得後に環境変数で設定が必要。

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Add GitHub permalinks with fixed SHA/commit references to research documentation containing code snippets. Use when writing technical docs with code examples, creating investigation/research docs that reference source files, user asks to "add permalinks" or "add GitHub links", documenting code research findings with file:line references, or creating audit trails needing permanent code references. Triggers on "add github links", "add permalinks", "link to source", "make code references permanent".

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

t4ku/agent-skills52026년 10월 7일 업데이트

やりたいことを1行で言うと、B 型 loop engineering の 7 要素 (context / feedback / verification gate / termination / error handling / state / cost guard) を埋めた loop spec をコピペ可能な形で生成する。生成した spec は現行 Claude Code の実行プリミティブ (Workflow ツール / /loop skill / ralph-loop plugin / claude -p) に落とせる骨格になる (旧 `claude --goal` は廃止)。10 件 failure mode (F1-F10) の対策フックも自動挿入。Hybrid モード: 1 行入力 → デフォルト埋めで一発出力 → 「ここを調整したい」場所だけ短く聞き直す。Use when ユーザーが「loop を作りたい / loop-design / 自走ループ書いて / Workflow 用の spec 作って / 7 要素埋めて / verification gate ありで」と言ったとき、または `/loop-design` を実行したとき。Loop engineering の理論背景は Cards/loop-engineering-autonomous-agents、失敗モード対策は Cards/loop-failure-modes-mechanism-2026 を参照。

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

t4ku/agent-skills52026년 10월 7일 업데이트

Run a project's GitHub Issues through Orca Workers from a coordinating session in the project's Hub folder. The Orchestrator reads Issues, claims one, dispatches an Orca Task into a fresh worktree of the target repo, supervises until worker_done, and writes the outcome back to the Issue — it never edits code itself. Use when the user says "take

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

t4ku/agent-skills52026년 10월 7일 업데이트

show-me

무료

Help the user understand the current topic visually with concise diagrams, code-shape sketches, and focused HTML artifacts. Use when the user asks to show / diagram / visualize / sketch / illustrate what is going on, asks "what does this look like", "how does this flow", "show me the structure", or in Japanese 図で見せて / 図解して / 図にして / 構造を見せて / フローを見せて / 全体像を見せて / どうつながってるか見せて. Also use it proactively when an explanation is running long and a call tree, file tree, component tree, diff, Mermaid diagram, or a small HTML artifact would land faster than prose.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

t4ku/agent-skills52026년 10월 7일 업데이트

Vendor (copy-import) a single external Claude Code skill into your own skills repo correctly — with license compliance and full provenance/attribution. Deterministic, idempotent primitive: given an upstream ref (owner/repo/path@sha or a GitHub URL) it fetches the skill, detects and gates on the license, copies the folder, injects a provenance frontmatter block (license + metadata: author/source/upstream_commit/vendored_at/provenance), ships the upstream LICENSE, adds a ## Credits section, and records a CREDITS.md ledger entry. Use when the user asks to "vendor a skill", "import a skill", "clone a skill", "borrow someone's skill", "add an external skill with attribution/credit", or スキルを取り込む / vendoring / 他人のスキルを自分のリポに取り込む. This is the import primitive that a skill-scout/curator orchestrator calls; it does NOT discover or evaluate — it correctly imports ONE skill you already chose.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

t4ku/agent-skills52026년 10월 7일 업데이트

Generate PPTX slide decks from a speech script or talking points — built for the 5-minute Monday morning speeches at Syla. Use when the user already has a script / 原稿 / メモ and asks to turn it into slides, a deck, or a presentation. Not for slides derived from a video — use youtube-slide-maker for that. Uses PptxGenJS directly (NOT html2pptx.js). Provides 4 slide template patterns, D3.js chart generation, and AI image integration.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

t4ku/agent-skills52026년 10월 7일 업데이트

t4ku의 스킬 모두 보기

이 스킬의 문제 신고