trip-planner

trip-planner is a skill for Claude Code, Codex from DuanZGit/D-Hub. It costs 228 tokens per session (4,069 once invoked), scanned A, original, MIT.

A trip-planning workflow for scenic, multi-day domestic trips in China. It verifies routes, tickets, accommodation prices, and restaurant information before producing a Markdown and PDF travel guide.

In plain words
What is it for?
Use it to plan dates and sights, compare transport and accommodation, check restaurant information, and create a shareable travel guide without placing orders or payments.
Why use it?
It reduces the risk of building an itinerary from outdated prices, unavailable transport, unverified bookings, or unsupported claims.

Skill for Claude CodeCodex

Written for Claude Code and Codex: disable-model-invocation in frontmatter, but also agents/openai.yaml present. Also seen: mentions Codex.

Good fit Use it to plan dates and sights, compare transport and accommodation, check restaurant information, and create a shareable travel guide without placing orders or payments.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/duanzgit/d-hub/trip-planner
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add DuanZGit/D-Hub --skill trip-planner
Clone the repo
git clone --depth 1 https://github.com/DuanZGit/D-Hub

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for trip-planner

README.md
[![agentmods](https://agentmods.dev/badge/skills/duanzgit/d-hub/trip-planner/github.svg)](https://agentmods.dev/skills/duanzgit/d-hub/trip-planner)
Your own site
<a href="https://agentmods.dev/skills/duanzgit/d-hub/trip-planner"><img src="https://agentmods.dev/badge/skills/duanzgit/d-hub/trip-planner/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for trip-planner

Your own site · 80×15
<a href="https://agentmods.dev/skills/duanzgit/d-hub/trip-planner"><img src="https://agentmods.dev/badge/skills/duanzgit/d-hub/trip-planner.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 228 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,069 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00228 $0.04069
Opus 5.5 $0.00091 $0.01628
Sonnet 5.5 $0.00046 $0.00814
Haiku 4.5 $0.00023 $0.00407

Measured 29d ago against content hash bae748dabb79, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

trip-planner scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 29d ago.

The scan reads SKILL.md. This mod also ships 5 executable files (scripts/build_map.py, scripts/build_pdf.py, scripts/md_to_html.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/trip-planner/SKILL.md · 152 lines

How it starts

The opening of the file, as written. The whole thing — 152 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Trip Planner

本机适配(pi @ duanz-ai,Linux 无桌面):请先读 PI-ADAPT.md。 三条硬性差异:① 脚本必须用 ~/pw-venv/bin/python 跑(系统 python3 无依赖); ② 没有「应用内浏览器侧边栏」,登录方式见 PI-ADAPT.md; ③ PDF 已改用 playwright 导出,视觉质检用 scripts/pdf_to_png.py。

Overview

Produce a complete, booking-ready travel guide for a scenic multi-day domestic trip: lock dates and the scenic-spot list first, verify transport (long-haul from 12306/airlines, inter-city with 高德地图), verify every ticket/reservation with a cited source (no fabrication), then verify real accommodation prices (Ctrip/Fliggy) and restaurant ratings (Dianping) — the customer must be logged in via the in-app browser first — and finally export a well-formatted Markdown + PDF guide (plus an optional interactive map page for phone sharing). Only read prices/reviews; never place orders, change bookings, or pay without explicit user consent.

信息收集前置条件(详见 Step 0 与 Constraints)

  • 未登录不取数:策划第 0 步先引导客户在侧边栏登录携程/大众点评/高德(需要时飞猪);登录/人机验证一律交给客户,AI 不代解、不绕过、不重试触发风控。
  • 数据必须带来源:住宿「携程 + 飞猪」比价,餐厅以大众点评登录实测为准(不做美团交叉),所有数字标注平台与核实日期。

Workflow

Step 0 — 策划前先引导客户登录(硬性前置)

  • 顺序要求:这一步排在「确定时间/景点」之前。动手查路线、查房价、查餐厅或写攻略前,先完成登录准备。
  • 直接打开登录页,而不是只发一句「请登录」:用应用内浏览器(侧边栏)新建标签页并直接打开各平台页面,把二维码/登录入口呈现在用户面前——
    • 携程(查房价):打开 https://hotels.ctrip.com/(用户右上角「登录」扫码即可);
    • 大众点评(查餐厅):打开 https://www.dianping.com/<城市拼音>(如 wuhan),右上角「登录」→ 扫码;二维码失效就点「请点击刷新」;
    • 飞猪(需要比价时):打开 https://www.fliggy.com/jiudian/(淘宝账号体系),用户扫码登录;
    • 高德(查路线/公共交通):打开 https://ditu.amap.com/dir(右上角「登录」扫码,与上面几家一起登录,一次搞定)。
  • 打开后停下等待:告诉用户「登录页已打开,请逐一扫码登录,好了告诉我」;不要替用户点登录、不代解验证码、不在用户登录过程中反复刷新或切换页面。
  • 客户完成后,把「携程/大众点评/高德(+飞猪)已登录」记入当前任务状态;后续 Step 3/5/6 只复用会话、重新打开标签页,不再要求重新登录。
  • 若客户明确不方便登录:先确认能否用公开可查数据(搜索快照/第三方源)推进,并如实标注「待核实」,不得假装已核。

Step 1 — 确定时间与景点清单

  • 先和客户确认:什么时候去(季节/具体日期范围)、人数与房间数、预算档位、风景偏好。
  • 景点来源:客户自己的想法优先;客户没有明确清单时,用浏览器收集攻略给候选——首选携程攻略的「城市景点页」(https://you.ctrip.com/sight/<城市拼音><数字>.html,如南京 nanjing9;URL 从携程站内搜索/搜索结果页获取,不要凭记忆猜 ID),上面有真实评分、点评数、门票价、是否需预约/限流,适合做客观初筛;再用小红书/马蜂窝/知乎/抖音补「体验感、照片、避坑」等软信号。给出候选景点 + 最佳季节 + 路线逻辑,与客户确认后再定。
  • 产出:确认后的日期范围 + 景点清单,作为后面所有排期的前提。
  • 场景分流:客户自带行程/景点清单 → 成文时做「可行性分析/验证」(第 1 章「先看结论·可行性速览」,逐项核对客户计划是否可行);从零策划 → 不需要可行性分析,第 1 章直接写「行程总览 + 路线图」。

Read the full file on GitHub · 152 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 29d ago First seen · 152 lines · 228 tokens per session scan A bae748dabb79

Subscribe to this mod's changes

trip-planner is a skill published in the GitHub repository DuanZGit/D-Hub (0 stars, last pushed yesterday), licensed MIT. It adds 228 tokens to every session and 4,069 once invoked, about $0.0009 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-06.

Related

trip-planner compared with skills from other repositories

trip-planner next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
trip-plannerDuanZGit/D-HubSkill0yesterdayMITA228Claude Code, Codex
edgeone skill scannerTencent/AI-Infra-GuardSkill7.9k3d agoApache-2.0A148Claude Code, Codex
babysitkirodotdev/KiroCrewSkill5.2ktodayApache-2.0A45Claude Code
rubber-duckkirodotdev/KiroCrewSkill5.2ktodayApache-2.0A161Claude Code, Codex
project-wikiGeminiLight/MindOSSkill707yesterdayMITA63Claude Code, Codex
mindos-zhGeminiLight/MindOSSkill707yesterdayMITA490Claude Code
mindos-maxGeminiLight/MindOSSkill707yesterdayMITA145Claude Code