travel-dossier

travel-dossier is a skill for Claude Code, Codex from Wang-Cankun/cankun-skills. It costs 52 tokens per session (1,340 once invoked), scanned A, original, MIT.

A workflow for turning travel plans and booking documents into a phone-friendly A5 travel handbook and PDF. It keeps each time, number, and rule linked to its source.

In plain words
What is it for?
Use it to extract details from itineraries and tickets, check dates and connections, verify official travel rules, and produce a structured handbook in Chinese with original names where needed.
Why use it?
It prevents travel documents from becoming a confusing mix of unsupported times, outdated rules, and conflicting bookings.

Skill for Claude CodeCodex

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

Good fit Use it to extract details from itineraries and tickets, check dates and connections, verify official travel rules, and produce a structured handbook in Chinese with original names where needed.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wang-cankun/cankun-skills/travel-dossier
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 Wang-Cankun/cankun-skills --skill travel-dossier
Clone the repo
git clone --depth 1 https://github.com/Wang-Cankun/cankun-skills

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 travel-dossier

README.md
[![agentmods](https://agentmods.dev/badge/skills/wang-cankun/cankun-skills/travel-dossier/github.svg)](https://agentmods.dev/skills/wang-cankun/cankun-skills/travel-dossier)
Your own site
<a href="https://agentmods.dev/skills/wang-cankun/cankun-skills/travel-dossier"><img src="https://agentmods.dev/badge/skills/wang-cankun/cankun-skills/travel-dossier/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 travel-dossier

Your own site · 80×15
<a href="https://agentmods.dev/skills/wang-cankun/cankun-skills/travel-dossier"><img src="https://agentmods.dev/badge/skills/wang-cankun/cankun-skills/travel-dossier.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,340 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00052 $0.01340
Opus 5 $0.00026 $0.00670
Sonnet 5 $0.00010 $0.00268
Haiku 4.5 $0.00005 $0.00134

Measured 12d ago against content hash a2cea4d86d06, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

travel-dossier scanned grade A with 1 finding 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 12d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/build.sh, scripts/check_overflow.py, scripts/fetch_images.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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

(秘鲁 gob.pe 系证书链不全,用 `curl -sk` 抓)。
skills/travel-dossier/SKILL.md · 81 lines

What it actually says

Travel Dossier — 私人旅行手册生成器

产出物叫 dossier:一份 148×210 mm、手机优先、self-contained(图片 base64 内嵌、无外部依赖、单 HTML 文件)的旅行手册, 经 headless Chrome 打成 PDF。设计语言为瑞士极简(参见 assets/template.html,直接复用其 CSS,不要重写)。

贯穿全程的纪律只有一条:truth 溯源——手册里每个数字、时刻、规则都能指出来源 (旅行社方案 / 票据 / 官方网站),指不出来源的数字不写。细则见 references/content-style.md

步骤

1 · 采集 truth

向用户收集三类输入并落盘清单:①旅行社行程方案(PDF)②已订票据(机票/酒店确认,PDF/邮件)③可选的调研资料。 同时问清:读者是谁、语言政策(默认中文为主 + 专名中英对照)、行程性质(private tour 会改变写法——后勤归地接,手册不教打车排队)。 完成判据:每份输入文件有路径和类型标注;语言与行程性质已确认。

2 · 提取与对账

pypdf 提取全部 truth 文本。交叉核对:航班时刻/日期星期(用日历算,逐日验证周几)、酒店日期衔接、方案与票据的冲突。 涉及官方规则(门票价格、开放时间、限额)时上官网核实,不要信记忆或旧调研——政策年年变 (秘鲁 gob.pe 系证书链不全,用 curl -sk 抓)。 完成判据:冲突与缺口列成表;每条要么已解决、要么标记为需用户/旅行社裁决。

3 · 章节架构

按 dossier 模式排页面清单(页数 ≈ 天数 × 2 + 8): 封面 → 总览表 → 航班速查 → 住宿速查 → 路线海拔图 → 每日行程页与目的地阅读页交错 → 关键攻略专题(如购票机制、参观线路)→ 美食 → 实用速查 → 外语速查卡 → 资料来源页。 完成判据:一页一行的页面清单,每页注明内容与配图位。

4 · 写作

references/content-style.md 全文写作。核心两条在此提前: 先名后释(每个地名首现 = 中文名 + 原文名 + 一句"这是什么",然后才是解读); 只用来源时刻(方案和票面写了的时刻才出现,不自创"约 11:00 抵达"式排程)。 完成判据:self-audit 一遍——随机抽任何数字/时刻都能说出其 truth 来源;抽任何专名首现处都有中外文对照。

5 · 排版与构建

assets/template.html 为底(CSS 原样复用,含 print-color-adjust:exact 与显式分页 .page 容器), 填入内容。构建:scripts/build.sh <src.html> <out.pdf>,然后用 pypdf 验证页数与 148.2×209.9 mm 页面尺寸。 完成判据:PDF 页数与页面清单一致,尺寸命中。

6 · 配图

references/images.md 走完整管线:Wikimedia API 抓取(scripts/fetch_images.py)→ contact sheet 目检(淘汰地图/老照片/跑偏主体)→ 哈希去重 → 压缩后 base64 内嵌 → 更新 credits。 完成判据:每个图位的图片哈希唯一;每张图经过目检;credits 与来源页同步。

7 · strip check 质检

scripts/check_overflow.py <pdf>:渲染全书每页底部 20% 拼成检查条,逐页看页脚是否被内容压线。 有溢出就裁文字或缩图(宁可删一行,不缩字号),改后重跑直到全绿。最后抽 2–3 个内容最密的整页高清目检。 完成判据:全部页面页脚零碰撞;抽查整页版式正常、深色背景正常显现。

8 · 交付

交付单 HTML 源 + PDF(SendUserFile,display: render),并告知微调回路:改 HTML → 重跑 build.sh。

迭代已有 dossier

小改(换图、改字):直接编辑 HTML → 步骤 7 只查改动页 → 交付。 内容层变更(行程改了、新版方案):从步骤 2 重新对账受影响的部分,再走 4–8。

参考实现

本 skill 提炼自一次秘鲁行程的实战项目(28 页、16 图的完整 dossier),步骤与判据均经该成品验证。

Files

What ships with it

7 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.

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. 12d ago First seen · 81 lines · 52 tokens per session scan A a2cea4d86d06

Subscribe to this mod's changes

travel-dossier is a skill published in the GitHub repository Wang-Cankun/cankun-skills (2 stars, last pushed 14d ago), licensed MIT. It adds 52 tokens to every session and 1,340 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

pydicom

Use pydicom to read, inspect, write, transform, and safely preflight local DICOM datasets and pixel data. Applies to DICOM metadata, transfer syntaxes, compression plugins, frames, private elements, JSON, and bounded de-identification review.

K-Dense-AI/scientific-agent-skills · 56 tokens

liteparse

Local document and PDF parsing that returns spatial text with bounding boxes. Use for extracting text from PDFs, DOCX, Office files, and images; running OCR on scans; producing layout-preserved JSON for RAG; batch-ingesting folders of papers; or rendering pages to PNG for multimodal agents. Distinguishing capabilities…

K-Dense-AI/scientific-agent-skills · 86 tokens

markitdown

Convert heterogeneous documents and selected URIs to Markdown with Microsoft MarkItDown for text analysis, search, and LLM/RAG ingestion. Covers safe local conversion, streams, Office/PDF/data formats, batch workflows, plugins, vision OCR, Azure extraction, and the official MCP server.

K-Dense-AI/scientific-agent-skills · 61 tokens

open-notebook

Self-hosted, open-source alternative to Google NotebookLM for AI-powered research and document analysis. Use when organizing research materials into notebooks, ingesting diverse content sources (PDFs, videos, audio, web pages, Office documents), generating AI-powered notes and summaries, creating multi-speaker…

K-Dense-AI/scientific-agent-skills · 123 tokens

pptx-posters

Create and audit editable scientific posters in macro-free PowerPoint (.pptx) from author-approved local content and assets. Use when the requested deliverable is a PowerPoint research/conference poster and exact physical, printer, accessibility, provenance, and package-security checks are required.

K-Dense-AI/scientific-agent-skills · 59 tokens

pdf

Use this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting/decrypting PDFs, extracting images, and…

K-Dense-AI/scientific-agent-skills · 92 tokens