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.
npx skills add DuanZGit/D-Hub --skill trip-plannergit clone --depth 1 https://github.com/DuanZGit/D-HubWrote 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.
[](https://agentmods.dev/skills/duanzgit/d-hub/trip-planner)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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.
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 章直接写「行程总览 + 路线图」。
What ships with it
16 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- .gitignore 29 B
- agents/openai.yaml 302 B
- assets/template.html 28 KB
- examples/map_data.sample.json 2.9 KB
- LICENSE 1.0 KB
- PI-ADAPT.md 3.8 KB
- README.md 2.9 KB
- references/build-map.md 5.1 KB
- references/route-and-transit.md 2.3 KB
- references/verify-hotel-prices.md 3.5 KB
- references/verify-restaurants.md 3.3 KB
- scripts/build_map.py 10 KB runs code
- scripts/build_pdf.py 4.2 KB runs code
- scripts/md_to_html.py 6.8 KB runs code
- scripts/pdf_to_png.py 900 B runs code
- scripts/trip_session.py 4.1 KB runs code
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.
- 29d ago First seen · 152 lines · 228 tokens per session scan A bae748dabb79
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.
trip-planner compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| trip-plannerDuanZGit/D-Hub | Skill | 0 | yesterday | MIT | A | 228 | Claude Code, Codex |
| edgeone skill scannerTencent/AI-Infra-Guard | Skill | 7.9k | 3d ago | Apache-2.0 | A | 148 | Claude Code, Codex |
| babysitkirodotdev/KiroCrew | Skill | 5.2k | today | Apache-2.0 | A | 45 | Claude Code |
| rubber-duckkirodotdev/KiroCrew | Skill | 5.2k | today | Apache-2.0 | A | 161 | Claude Code, Codex |
| project-wikiGeminiLight/MindOS | Skill | 707 | yesterday | MIT | A | 63 | Claude Code, Codex |
| mindos-zhGeminiLight/MindOS | Skill | 707 | yesterday | MIT | A | 490 | Claude Code |
| mindos-maxGeminiLight/MindOS | Skill | 707 | yesterday | MIT | A | 145 | Claude Code |