tripit
Installation
SKILL.md
TripIt CLI Skill
Use this skill when a user asks to operate TripIt data through the tripit CLI.
This skill is for using the installed product, not reimplementing it.
When to use
- User asks to log in to TripIt from terminal workflows
- User asks to create, list, inspect, update, or delete trips
- User asks to manage hotel, flight, transport, or activity objects
- User asks to attach or remove documents for itinerary objects
Prerequisites
tripitmust be installed and available onPATH:npm install -g tripit
- For local development in this repo, prefer:
fnox run -- bun index.ts <command>
- Verify command availability before task execution:
tripit --help
Authentication expectations
tripit loginrequires these environment variables:TRIPIT_CLIENT_IDTRIPIT_CLIENT_SECRETTRIPIT_USERNAMETRIPIT_PASSWORD
- Authentication caches an access token at:
~/.config/tripit/token.json
- If secrets are missing, request them explicitly and do not invent values.
Command selection guidance
- Use
tripsfor parent trip objects. - Use
hotels,flights,transport, andactivitiesfor child itinerary objects. - Use
documentsfor attachment workflows. - Prefer
-o jsonfor machine-readable output when chaining commands.
Failure guidance
- Missing env vars: stop and ask for required credentials.
403or login failures: verify account credentials and client credentials.- API errors: re-run with the same command and inspect returned status/body.
- UUID/id mismatches: use list/get commands first, then retry with exact IDs.
- Missing file on document attach: verify local path before retrying.
References
references/commands.mdreferences/auth.mdreferences/usage.md