A Grok Bot skill plans multi-city trips from one-way fares via Ignav or the web
Overview
Someone planning a flexible multi-city trip from separate one-way tickets can give Grok Bot this skill, and optionally an Ignav API key and the bundled Python script, to rank cheaper city orders and dates.
Workflow
- What it is: A skill, plus a small Python script, that finds the cheapest multi-city or open-jaw trip built from separate one-way tickets. The reader has a fixed home airport, a list of candidate cities, and a date window, and wants to visit only some of those cities, with a minimum stay in each. An example in the README is leaving from Rio (GIG), choosing 4 of Lisbon, Madrid, Barcelona, Rome, Paris, Amsterdam, and Budapest, at least 3 nights each, between 1 and 12 March, for a route such as GIG > LIS > MAD > FCO > GIG. That example is a README illustration, not a saved run record. The method is to price each leg once into a price matrix, then test combinations of cities, orders, and dates against that matrix (the README says 840 city orders for "4 of 7"), and re-check the winners flight by flight. The README says it works with Grok Bot, Claude Code, Codex, ChatGPT, and similar agents.
- Grok Bot parts used: One skill file,
SKILL.md, which the owner pastes after asking the bot to save it as a skill. For Ignav mode,multicity.pyandexample-trip.jsonare uploaded to the bot's computer so the bot can run the script. There is no x.ai/bot/... template link, and no Routine or connector. Not part of Grok Bot: the Ignav flight API and its key, the Python script itself, and the Claude Code, Codex, and ChatGPT install paths in the README. - You need: Python 3.8 or later to run the script, with nothing else to install, because it uses the Python standard library only. Ignav mode also needs an Ignav API key from https://ignav.com/signup; the README says this takes about 2 minutes and no card is needed to start. Pricing checked on 29 Nov 2026 at https://ignav.com/pricing: 1,000 free requests once (they do not reset monthly), then US$2 per 1,000 successful requests, billed monthly. Failed requests are not billed. A 4-of-7 search uses about 60-100 requests (author's claim in the README, not reproduced). The key must be set as an environment variable, not pasted into chat. AI-only mode needs no key and no script, and uses the owner's AI plan. Terms are at https://ignav.com/terms.
- Install: Follow the README path for the agent you use.
- Step 1 (Grok Bot): Ask the bot to "save this as a skill" and paste the contents of
SKILL.md. For Ignav mode, uploadmulticity.pyandexample-trip.jsonto the bot's computer. Without those files it uses AI-only mode. The skill file is long; use the path, do not retype it here. - Step 2 (optional, not Grok Bot): Claude Code and Codex have git-clone paths in the README (
~/.claude/skills/multi-city-flight-plannerand~/.agents/skills/multi-city-flight-planner). ChatGPT or another chat AI can receive a paste ofSKILL.mdand will use AI-only mode without code execution. - Step 3: Then ask:
Plan a trip from Rio to 4 of these 7 European cities in March, 3 nights minimum each.
- The script can also be run locally, including a dry-run that shows how many API requests it will use:
python3 multicity.py example-trip.json --dry-run # shows how many API requests it will use python3 multicity.py example-trip.json --top 5 # real search
- After install: The skill first asks for trip details in one message, then picks a mode, then searches, then prints a ranked table with guardrails.
- Ignav mode writes a
trip.json, shows the request count with--dry-run, then runs the search. Results go to a table and tomulticity-results.md,.json, and.csv. Answers are cached for 30 minutes inmulticity-cache/. The bot must never print, log, or save the API key; if the user pastes it in chat, the skill says to rotate it later at https://ignav.com/dashboard. - AI-only mode stays small: about 4 candidate cities, visit 3, and 2-3 dates per leg, with prices read from Google Flights, Skyscanner, Kayak, or airline sites, each cell showing source and time checked, and the result labelled as approximate and not a full search.
- In both modes, no price is invented. If a search fails, the result says so and the cell is left empty.
- The tool does not book, pay, or enter personal data. The user buys each ticket.
- Every result must restate the guardrails: separate tickets have no protection if one flight is late; leave buffer time, ideally a night, and never a same-day connection between separate tickets; low-cost fares often exclude bags; prices are a snapshot and should be rechecked before paying, with long-haul legs bought first; self-transfer means collecting and re-checking bags.
- Did the author run it: The repository has no run records from the author in the fetched extract. The file list includes
sample-output.mdand files undermedia/, but those were not extracted into the fetched original, so they are not treated as a run log here. The README's Rio-to-Europe route is an example. Local commands such aspython3 multicity.py example-trip.json --dry-runare documented, not a saved result.
Key points and results
- Maturity: At fetch time on 2026-12-01 the repo was created at 2026-11-30T17:42:13Z, last pushed at 2026-11-30T17:42:20Z, with 1 commit, 0 stars, 0 forks, 0 open issues or PRs, and an MIT license. It is published by LFSA Digital.
- Permissions and boundaries: The skill and script do not book, pay, or enter personal data; the user buys each ticket. The Ignav key must stay in the environment, never in chat, and the user is responsible for usage on it. If a user pastes the key in chat, the skill says to rotate it.
- Known limits: These are separate tickets, so a delay or cancellation on one flight does not bind the next airline. Bags on low-cost carriers often cost extra. Prices change, and some airlines or fares may be missing from Ignav or from the websites. AI-only mode is a partial search.
sample-output.mdand the media slides were not in the fetched file blocks. - Worth borrowing: Price each leg once into a matrix, then combine subsets, orders, and dates, instead of searching whole itineraries one by one. See the README and
SKILL.md. - Worth borrowing: Show the API request count with a dry-run before a real Ignav search, and cache answers for 30 minutes so a re-run is free. See the README run section.
- Worth borrowing: Repeat the separate-ticket, bags, snapshot-price, and self-transfer guardrails in every result, and never invent a missing price. See
SKILL.mdsection 6.
Source
- Platform
- GitHub
- Author
- lfsadigital
- Published
- Categories
- Life assistant
What this evidence label means
Source read in full
We read the source (post, article or transcript). That only means the original was read. It does not mean this site reproduced the author's results.