dotanminh/travel-optimization-engine/date-optimization
Claude Code and agent skill by dotanminh/travel-optimization-engine
- community
Checking that the SKILL.md file is still in the repository.
Use when traveler has flexible dates and wants to find the cheapest departure/return combination. Triggers on cheapest day to fly, flexible dates, when to book, price calendar.
Install
npx vskill@latest install dotanminh/travel-optimization-engine/date-optimizationSKILL.md
Date Optimization - Quét Ngày Bay Tối Ưu
Purpose
Find the optimal departure and return dates within a flexible range. Instead of checking prices day-by-day, this skill builds a complete price matrix and identifies the cheapest combinations with clear explanations.
Input Required
From orchestrator profile:
origin,destination(IATA codes)departure_date(target)return_date(target, if round-trip)flexibility: low (±2d) | medium (±7d) | high (±14d)
Execution Steps
Step 1: Build Date Range
Calculate the full search window:
- Depart window:
departure_date - flex_daystodeparture_date + flex_days - Return window:
return_date - flex_daystoreturn_date + flex_days - Total combinations:
(flex_days * 2 + 1)²for round-trip
Example (±7 days): 15 × 15 = 225 date combinations to evaluate.
Step 2: Apply Pricing Patterns (AI-Knowledge Mode)
Use these established pricing patterns to estimate relative costs:
Day-of-week patterns:
- Tuesday, Wednesday: typically 15-25% cheaper (lowest demand)
- Friday, Sunday: typically 10-20% more expensive (weekend travel peaks)
- Saturday departure: sometimes cheap (contra-flow)
Seasonal patterns:
- Refer to
references/pricing-patterns.mdfor route-specific seasonality
Advance purchase effect:
- 21+ days ahead: best domestic fares
- 45-60 days ahead: best international fares
- < 7 days: premium pricing (last-minute surge)
- Exception: LCCs sometimes release last-minute deals
Holiday surcharges:
- Vietnamese holidays: Tet (+50-100%), 30/4-1/5 (+30-50%), 2/9 (+20-30%)
- US holidays: Thanksgiving, Christmas, July 4th (+30-60%)
- School holidays: June-August (+20-40% on leisure routes)
Step 3: Score Each Combination
For each date pair, calculate a relative price score (1-10):
Step 4: Generate Output
Format: Price Heatmap (text-based)
Legend: $ = cheapest tier, $$ = mid-range, $$$ = most expensive
TOP 3 Recommendations:
For each recommendation, provide:
- Specific dates (depart + return)
- Estimated savings vs target date
- WHY this combination is cheap (not just "it's cheaper")
- Example: "Tuesday departure avoids weekend premium. Mid-week return catches post-business-travel low."
- Trade-off: what user gives up (e.g., "1 fewer weekend day at destination")
Step 5: Pass Forward
Send to flight-search skill:
API-Enhanced Mode
When Kiwi Tequila API is available, replace Step 2-3 with real price data:
- Use
/v2/searchwithdate_fromanddate_toparameters - Set
fly_daysto cover the full flexibility range - Real prices replace pattern-based estimates
Limitations
- AI-Knowledge mode provides relative rankings, not exact prices
- Holiday pricing can be unpredictable (flash sales, last-minute changes)
- Pattern accuracy decreases for niche routes with irregular schedules
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/date-optimization/SKILL.md
Popularity
- Repository stars
- 38
- Repository forks
- 29
- 7-day trend score
- 18
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 14 Aug 2026, 2 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/dotanminh/travel-optimization-engine/date-optimization)