my-tesla
by officialpm
Apple Apps & ServicesBrief
Control Tesla vehicles from macOS via the Tesla Owner API using teslapy.
Description
What This Skill Does
Connects to the Tesla Owner API via teslapy to control and monitor Tesla vehicles from macOS. Supports checking vehicle state, running remote commands, and tracking mileage locally. Auth tokens are cached on disk; disruptive actions require explicit confirmation.
Exposes the full Tesla Owner API through a single CLI script with safety gates, so you can query or act on your car without opening the Tesla app or writing custom API code.
When to Use It
- Check battery level and range before a morning commute
- Turn on climate control remotely before getting in the car
- Lock the car after forgetting at a parking lot
- Set a charge limit before plugging in overnight
- Track odometer readings over time with local SQLite export
Example Workflow
User asks: what's my car's current status?
- 1
Run
tesla.py summaryto fetch a one-line chat-friendly status - 2
Parse battery level, charge state, and climate info from output
- 3
Return a compact summary to the user
Model 3 — 78% (247 mi), plugged in, climate off, locked
Requirements
- TESLA_EMAIL environment variable (your Tesla account email)
- Tesla account credentials for first-time OAuth login
Installation
clawhub install officialpm/my-teslaRun the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.