travel-guide
Create personalized, source-grounded travel dossiers from a destination, dates, duration, travelers, and constraints. Ask only the questions that change the plan, use explicitly permitted personal context without exposing it, research current logistics, and produce a cited, visua
Install
npx skills add https://github.com/magnus919/agent-skills/tree/main/travel-guide
claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install magnus919-agent-skills@llmmart
git clone https://github.com/magnus919/agent-skills.git
The skills CLI installs just this skill, for any of its supported agents. Claude Code installs the whole magnus919/agent-skills collection as a plugin from our marketplace. Git is the plain clone.
README
travel-guide — Personalized Travel Dossiers
Turn a destination, a real traveler, and a few constraints into a considered travel dossier instead of a generic attractions list.
Why Install This Skill
Most itinerary tools optimize for coverage. This skill helps an agent design for fit: the pace, people, budget, interests, energy, and small details that make a trip feel like it belongs to the travelers.
It can produce a print-ready HTML dossier for PDF conversion, a responsive companion page, or both. The visual system is editorial by default: a darkened photographic cover with a route journey line, ghost section numbers, a color-coded day strip, pace and budget meters, a unified warm photo grade across anchor photos, and a bottom-of-page footer on each section that carries a field note, a next-section line, and a ghost route mark. It keeps current logistics and recommendations tied to sources, and it can create a sanitized edition for sharing without exposing exact dates, lodging, booking identifiers, or private notes.
What You Get
| Path | Purpose |
|---|---|
SKILL.md |
The complete workflow and routing rules |
references/ |
Intake, research, editorial, privacy, and rendering guidance |
templates/trip-brief.json |
Structured content model and example source ledger |
templates/dossier-outline.md |
Human-readable drafting outline |
styles/travel-dossier.css |
Print and responsive visual system |
assets/route-mark.svg |
Small reusable route/compass mark |
scripts/validate-trip-brief.py |
Dependency-free content-model validator |
scripts/render-travel-guide.py |
Self-contained dossier or companion HTML renderer |
scripts/sanitize-trip-brief.py |
Shareable-edition redaction without changing the private source |
evals/evals.json |
Portable output-quality cases |
Quick Start
Work in a dedicated working folder so no artifacts land in your home directory or the skill directory. From this skill directory:
mkdir -p work
cp templates/trip-brief.json work/my-trip.json
# Fill the JSON with the actual trip, recommendations, and source ledger.
python3 scripts/validate-trip-brief.py work/my-trip.json --strict --json
python3 scripts/render-travel-guide.py work/my-trip.json \
--mode dossier --output work/my-trip.html --json
Open work/my-trip.html in a print-capable browser and save it as PDF. For a companion page instead:
python3 scripts/render-travel-guide.py work/my-trip.json \
--mode companion --output work/site/index.html --json
To create a shareable model first:
python3 scripts/sanitize-trip-brief.py work/my-trip.json \
--profile shareable --output work/my-trip-shareable.json --json
Triggers
Load this skill when someone asks for a personalized itinerary, a trip brief, a travel field guide, a beautiful travel PDF, recommendations shaped by the travelers, a shareable travel page, or private/shareable versions of a trip plan.
Requirements
- An Agent Skills-compatible agent host.
- Current web access when the guide includes live hours, prices, events, transit, or booking information.
- Python 3.8+ for the bundled scripts; they use only the standard library.
- A print-capable browser or document renderer for PDF output. PDF conversion is intentionally kept outside the dependency-free HTML renderer.
Skill manifest
Travel Guide
Create a commissioned travel dossier, not a generic list of attractions. The finished guide should answer: why this place, for these travelers, at this moment? It should leave room for discovery while making the trip feel considered.
When to use
Use this skill when the traveler wants one or more of the following:
- an individualized itinerary or trip brief;
- a beautifully designed travel PDF or printable field guide;
- recommendations shaped by permitted preferences, constraints, or companions;
- a shareable, responsive web page for travel companions;
- a private and sanitized version of the same trip plan.
When not to use
- For booking, purchasing tickets, changing reservations, or handling payment.
- For visa, immigration, medical, safety, or legal decisions that require an authoritative professional or government source.
- For a generic destination summary when there is no concrete traveler or trip.
- For extracting text from an existing document. Route that to
anydoc; it reads documents but does not author or validate them.
Progressive routing
Read only the references needed for the request:
| Need | Read |
|---|---|
| Personal context, consent, pointed questions, or group trade-offs | references/intake-and-personalization.md |
| Current places, hours, prices, reservations, transit, or source quality | references/research-and-evidence.md |
| Trip thesis, anchor selection, day structure, or editorial voice | references/editorial-structure.md |
| Private/shareable editions or redaction | references/privacy-and-sharing.md |
| HTML, PDF, print CSS, rendering, or visual QA | references/pdf-rendering.md |
Use templates/trip-brief.json as the structured source of truth. Use templates/dossier-outline.md when drafting content before entering JSON.
Workflow
Match the process to the request. A narrow question - one neighborhood, one restaurant, one transfer, one practical fact - can be answered directly with sources in a short reply. Run the full dossier pipeline only when the traveler wants a guide, PDF, companion page, or a multi-day plan. The dossier format is a deliverable choice, not an automatic output for every travel question.
1. Establish the trip contract
Collect, or confirm:
- destination or route;
- arrival and departure dates, or at least the intended season;
- duration and approximate pace;
- who is traveling and any real differences in needs;
- budget range and currency, if relevant;
- mobility, dietary, sensory, language, or booking constraints;
- desired output: private PDF, shareable PDF, companion web page, or all three;
- intended audience: the traveler, the travel party, or wider sharing. The working model is private by default; ask who the output is for when it is not clear.
If a missing answer would change the recommendations, ask a pointed question. Do not run a long questionnaire. Read the intake reference for the question budget and personalization boundary.
2. Handle personal context explicitly
If the host can retrieve user preferences or history, use only context that is
relevant to this trip and permitted for this purpose. Internally classify each
personal signal as known, relevant memory, hypothesis, ask first, or
do not use. Never copy a raw private note into the guide. When personalization
would be surprising, explain the relevant basis briefly or ask permission.
3. Research current facts
Research only what the guide needs. Prefer official venue, operator, transit, government, tourism-board, and booking sources. Record URLs and retrieval dates in the source ledger. Separate:
- verified current facts;
- editorial interpretation about fit;
- estimates and assumptions;
- facts that remain unknown.
Do not present a search snippet, stale memory, or unsourced price as current truth. Read the research reference before making logistics or cost claims.
4. Build the editorial model
Write a one- or two-sentence trip thesis. Select a small set of anchors rather than ranking everything. Every anchor must state why it fits these travelers, when it works best, what it costs or requires, and what could make it fail.
Shape each day around:
- one anchor;
- one meal, drink, or local texture;
- one walk, neighborhood, or ordinary-life encounter;
- one pause or recovery space;
- one weather, energy, or closure alternative.
Include a short “skip this” section when famous options are poor fits. Read the editorial reference before drafting the dossier.
5. Render the artifacts
Work in a dedicated working folder for this trip: create one explicitly (for
example $(mktemp -d) on macOS/Linux, or a named folder under the system
temp directory) and keep the trip model, rendered HTML, sanitized editions,
and PDFs there. Never write outputs into the skill directory or the user's
home directory root. The examples below use $WORK for that folder.
Keep content separate from layout. Validate the content model first:
python3 scripts/validate-trip-brief.py "$WORK/trip-brief.json" --strict --json
Render a print-oriented HTML dossier:
python3 scripts/render-travel-guide.py "$WORK/trip-brief.json" \
--mode dossier --output "$WORK/travel-dossier.html" --json
For a responsive companion page, use the same model:
python3 scripts/render-travel-guide.py "$WORK/trip-brief.json" \
--mode companion --output "$WORK/index.html" --json
The renderer embeds the bundled CSS and local image assets when possible. Use a
print-capable browser or the repository's documents skill to turn the dossier
HTML into a PDF. The PDF is not complete until it has been structurally checked
and visually inspected. Read the PDF reference for the exact gate.
6. Produce a shareable edition when requested
Keep the private model as the source of truth. Create a sanitized copy rather than painting over a finished PDF:
python3 scripts/sanitize-trip-brief.py "$WORK/trip-brief.json" \
--profile shareable --output "$WORK/trip-brief-shareable.json" --json
Render and validate the sanitized model separately. Do not assume that a shareable version may expose exact dates, lodging, companions, addresses, booking identifiers, contact details, or private notes.
Required dossier sections
Adapt the length to the trip, but preserve the information hierarchy:
- cover: destination, trip line, duration/route, and image credit;
- the brief: the reason this trip fits these travelers;
- anchors: high-confidence experiences with fit and logistics;
- day architecture: anchors, texture, pauses, and alternatives;
- make it special: specific gestures that are not generic search results;
- practical field notes: transit, reservations, etiquette, costs, and caveats;
- skip this: attractive but poor-fit options, where useful;
- sources and freshness: links, retrieval dates, and unresolved uncertainty.
The visual default is a dark photographic cover with a route journey line, warm gold eyebrow, white headline, restrained red accent, generous white content pages, ghost section numbers, a color-coded day strip right after the brief, pace and budget meters, compact cards, a unified warm photo grade on anchor images, readable tables, and a bottom-of-page footer per section: a content- derived field note (failure mode, plan B, recheck item, or skip reason) when one exists, a next-section line, and a ghost route mark. Preserve contrast and selectable text. Do not let decoration hide uncertainty or practical caveats. The footer is informational, never a schedule: it repeats model content in one line, it does not invent new plans.
Exit criteria
Stop when all requested artifacts exist and:
- the trip model passes the bundled validator;
- current claims have source URLs and retrieval dates or are labeled uncertain;
- the PDF has passed structural and visual QA, if requested;
- a companion page has been checked at narrow and wide widths, if requested;
- private and shareable outputs are clearly distinguished;
- the delivery names the source model, renderer, validation result, and known limitations.
Files (agent-skills)
-
assets
-
route-mark.svg 451 B · in bundle
-
-
evals
-
evals.json 7.2 KB
Loading…
-
-
references
-
editorial-structure.md 4.8 KB
Loading… -
intake-and-personalization.md 4 KB
Loading… -
pdf-rendering.md 4.2 KB
Loading… -
privacy-and-sharing.md 3 KB
Loading… -
research-and-evidence.md 4.4 KB
Loading…
-
-
scripts
-
render-travel-guide.py 23.7 KB
Loading… -
sanitize-trip-brief.py 4.4 KB
Loading… -
validate-trip-brief.py 9.2 KB
Loading…
-
-
styles
-
travel-dossier.css 10.5 KB · in bundle
-
-
templates
-
dossier-outline.md 2.2 KB
Loading… -
trip-brief.json 6.2 KB
Loading…
-
-
tests
-
test_scripts.py 11.1 KB
Loading…
-
-
README.md 3.3 KB
# travel-guide — Personalized Travel Dossiers Turn a destination, a real traveler, and a few constraints into a considered travel dossier instead of a generic attractions list. ## Why Install This Skill Most itinerary tools optimize for coverage. This skill helps an agent design for fit: the pace, people, budget, interests, energy, and small details that make a trip feel like it belongs to the travelers. It can produce a print-ready HTML dossier for PDF conversion, a responsive companion page, or both. The visual system is editorial by default: a darkened photographic cover with a route journey line, ghost section numbers, a color-coded day strip, pace and budget meters, a unified warm photo grade across anchor photos, and a bottom-of-page footer on each section that carries a field note, a next-section line, and a ghost route mark. It keeps current logistics and recommendations tied to sources, and it can create a sanitized edition for sharing without exposing exact dates, lodging, booking identifiers, or private notes. ## What You Get | Path | Purpose | |---|---| | `SKILL.md` | The complete workflow and routing rules | | `references/` | Intake, research, editorial, privacy, and rendering guidance | | `templates/trip-brief.json` | Structured content model and example source ledger | | `templates/dossier-outline.md` | Human-readable drafting outline | | `styles/travel-dossier.css` | Print and responsive visual system | | `assets/route-mark.svg` | Small reusable route/compass mark | | `scripts/validate-trip-brief.py` | Dependency-free content-model validator | | `scripts/render-travel-guide.py` | Self-contained dossier or companion HTML renderer | | `scripts/sanitize-trip-brief.py` | Shareable-edition redaction without changing the private source | | `evals/evals.json` | Portable output-quality cases | ## Quick Start Work in a dedicated working folder so no artifacts land in your home directory or the skill directory. From this skill directory: ```bash mkdir -p work cp templates/trip-brief.json work/my-trip.json # Fill the JSON with the actual trip, recommendations, and source ledger. python3 scripts/validate-trip-brief.py work/my-trip.json --strict --json python3 scripts/render-travel-guide.py work/my-trip.json \ --mode dossier --output work/my-trip.html --json ``` Open `work/my-trip.html` in a print-capable browser and save it as PDF. For a companion page instead: ```bash python3 scripts/render-travel-guide.py work/my-trip.json \ --mode companion --output work/site/index.html --json ``` To create a shareable model first: ```bash python3 scripts/sanitize-trip-brief.py work/my-trip.json \ --profile shareable --output work/my-trip-shareable.json --json ``` ## Triggers Load this skill when someone asks for a personalized itinerary, a trip brief, a travel field guide, a beautiful travel PDF, recommendations shaped by the travelers, a shareable travel page, or private/shareable versions of a trip plan. ## Requirements - An Agent Skills-compatible agent host. - Current web access when the guide includes live hours, prices, events, transit, or booking information. - Python 3.8+ for the bundled scripts; they use only the standard library. - A print-capable browser or document renderer for PDF output. PDF conversion is intentionally kept outside the dependency-free HTML renderer. -
SKILL.md 9.2 KB
--- name: travel-guide description: >- Create personalized, source-grounded travel dossiers from a destination, dates, duration, travelers, and constraints. Ask only the questions that change the plan, use explicitly permitted personal context without exposing it, research current logistics, and produce a cited, visually coherent PDF or responsive companion web page. Use when someone wants an individualized itinerary, trip brief, travel field guide, or shareable travel website. Do not use for real-time booking, ticket purchasing, visa or legal advice, or generic destination summaries without a specific traveler and trip. license: MIT compatibility: >- Requires an Agent Skills-compatible host, access to current web sources for live travel facts, and a print-capable browser or document renderer for PDF output. Bundled Python scripts require Python 3.8+ and only the standard library. metadata: category: travel tags: travel, itinerary, trip-planning, dossier, pdf, web, personalization --- # Travel Guide Create a commissioned travel dossier, not a generic list of attractions. The finished guide should answer: **why this place, for these travelers, at this moment?** It should leave room for discovery while making the trip feel considered. ## When to use Use this skill when the traveler wants one or more of the following: - an individualized itinerary or trip brief; - a beautifully designed travel PDF or printable field guide; - recommendations shaped by permitted preferences, constraints, or companions; - a shareable, responsive web page for travel companions; - a private and sanitized version of the same trip plan. ## When not to use - For booking, purchasing tickets, changing reservations, or handling payment. - For visa, immigration, medical, safety, or legal decisions that require an authoritative professional or government source. - For a generic destination summary when there is no concrete traveler or trip. - For extracting text from an existing document. Route that to `anydoc`; it reads documents but does not author or validate them. ## Progressive routing Read only the references needed for the request: | Need | Read | |---|---| | Personal context, consent, pointed questions, or group trade-offs | [references/intake-and-personalization.md](references/intake-and-personalization.md) | | Current places, hours, prices, reservations, transit, or source quality | [references/research-and-evidence.md](references/research-and-evidence.md) | | Trip thesis, anchor selection, day structure, or editorial voice | [references/editorial-structure.md](references/editorial-structure.md) | | Private/shareable editions or redaction | [references/privacy-and-sharing.md](references/privacy-and-sharing.md) | | HTML, PDF, print CSS, rendering, or visual QA | [references/pdf-rendering.md](references/pdf-rendering.md) | Use [templates/trip-brief.json](templates/trip-brief.json) as the structured source of truth. Use [templates/dossier-outline.md](templates/dossier-outline.md) when drafting content before entering JSON. ## Workflow Match the process to the request. A narrow question - one neighborhood, one restaurant, one transfer, one practical fact - can be answered directly with sources in a short reply. Run the full dossier pipeline only when the traveler wants a guide, PDF, companion page, or a multi-day plan. The dossier format is a deliverable choice, not an automatic output for every travel question. ### 1. Establish the trip contract Collect, or confirm: - destination or route; - arrival and departure dates, or at least the intended season; - duration and approximate pace; - who is traveling and any real differences in needs; - budget range and currency, if relevant; - mobility, dietary, sensory, language, or booking constraints; - desired output: private PDF, shareable PDF, companion web page, or all three; - intended audience: the traveler, the travel party, or wider sharing. The working model is private by default; ask who the output is for when it is not clear. If a missing answer would change the recommendations, ask a pointed question. Do not run a long questionnaire. Read the intake reference for the question budget and personalization boundary. ### 2. Handle personal context explicitly If the host can retrieve user preferences or history, use only context that is relevant to this trip and permitted for this purpose. Internally classify each personal signal as `known`, `relevant memory`, `hypothesis`, `ask first`, or `do not use`. Never copy a raw private note into the guide. When personalization would be surprising, explain the relevant basis briefly or ask permission. ### 3. Research current facts Research only what the guide needs. Prefer official venue, operator, transit, government, tourism-board, and booking sources. Record URLs and retrieval dates in the source ledger. Separate: - verified current facts; - editorial interpretation about fit; - estimates and assumptions; - facts that remain unknown. Do not present a search snippet, stale memory, or unsourced price as current truth. Read the research reference before making logistics or cost claims. ### 4. Build the editorial model Write a one- or two-sentence trip thesis. Select a small set of anchors rather than ranking everything. Every anchor must state why it fits these travelers, when it works best, what it costs or requires, and what could make it fail. Shape each day around: 1. one anchor; 2. one meal, drink, or local texture; 3. one walk, neighborhood, or ordinary-life encounter; 4. one pause or recovery space; 5. one weather, energy, or closure alternative. Include a short “skip this” section when famous options are poor fits. Read the editorial reference before drafting the dossier. ### 5. Render the artifacts Work in a dedicated working folder for this trip: create one explicitly (for example `$(mktemp -d)` on macOS/Linux, or a named folder under the system temp directory) and keep the trip model, rendered HTML, sanitized editions, and PDFs there. Never write outputs into the skill directory or the user's home directory root. The examples below use `$WORK` for that folder. Keep content separate from layout. Validate the content model first: ```bash python3 scripts/validate-trip-brief.py "$WORK/trip-brief.json" --strict --json ``` Render a print-oriented HTML dossier: ```bash python3 scripts/render-travel-guide.py "$WORK/trip-brief.json" \ --mode dossier --output "$WORK/travel-dossier.html" --json ``` For a responsive companion page, use the same model: ```bash python3 scripts/render-travel-guide.py "$WORK/trip-brief.json" \ --mode companion --output "$WORK/index.html" --json ``` The renderer embeds the bundled CSS and local image assets when possible. Use a print-capable browser or the repository's `documents` skill to turn the dossier HTML into a PDF. The PDF is not complete until it has been structurally checked and visually inspected. Read the PDF reference for the exact gate. ### 6. Produce a shareable edition when requested Keep the private model as the source of truth. Create a sanitized copy rather than painting over a finished PDF: ```bash python3 scripts/sanitize-trip-brief.py "$WORK/trip-brief.json" \ --profile shareable --output "$WORK/trip-brief-shareable.json" --json ``` Render and validate the sanitized model separately. Do not assume that a shareable version may expose exact dates, lodging, companions, addresses, booking identifiers, contact details, or private notes. ## Required dossier sections Adapt the length to the trip, but preserve the information hierarchy: 1. cover: destination, trip line, duration/route, and image credit; 2. the brief: the reason this trip fits these travelers; 3. anchors: high-confidence experiences with fit and logistics; 4. day architecture: anchors, texture, pauses, and alternatives; 5. make it special: specific gestures that are not generic search results; 6. practical field notes: transit, reservations, etiquette, costs, and caveats; 7. skip this: attractive but poor-fit options, where useful; 8. sources and freshness: links, retrieval dates, and unresolved uncertainty. The visual default is a dark photographic cover with a route journey line, warm gold eyebrow, white headline, restrained red accent, generous white content pages, ghost section numbers, a color-coded day strip right after the brief, pace and budget meters, compact cards, a unified warm photo grade on anchor images, readable tables, and a bottom-of-page footer per section: a content- derived field note (failure mode, plan B, recheck item, or skip reason) when one exists, a next-section line, and a ghost route mark. Preserve contrast and selectable text. Do not let decoration hide uncertainty or practical caveats. The footer is informational, never a schedule: it repeats model content in one line, it does not invent new plans. ## Exit criteria Stop when all requested artifacts exist and: - the trip model passes the bundled validator; - current claims have source URLs and retrieval dates or are labeled uncertain; - the PDF has passed structural and visual QA, if requested; - a companion page has been checked at narrow and wide widths, if requested; - private and shareable outputs are clearly distinguished; - the delivery names the source model, renderer, validation result, and known limitations.
Comments (0)
Sign in to join the conversation.
Reviews (0)
No reviews yet.
No comments yet.