my-tesla

Manage Tesla vehicles from macOS via the Tesla Owner API with local token caching.

Updated Jan 28, 2026
One-click install
npx skills add https://github.com/officialpm/my-tesla --skill my-tesla
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: my-tesla
Source: https://github.com/officialpm/my-tesla/tree/main
Command: npx skills add https://github.com/officialpm/my-tesla --skill my-tesla

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires teslapy>=2.0.0, and includes scripts (resource) components.

What problem does it solve?

Provides a macOS-native CLI to manage Tesla vehicles via the Tesla Owner API using teslapy, enabling remote status checks, control commands, and secure local token caching without exposing credentials.

Core Features & Use Cases

  • Auth and vehicle discovery: login flow and vehicle enumeration with privacy-conscious outputs.
  • Vehicle control & monitoring: status, lock/unlock, climate, charging, location, and other safe remote actions across multiple commands.
  • Safety & automation: explicit confirmation gates for disruptive actions, offline/no-wake modes, and sanitized JSON outputs suitable for scripting and automation.

Quick Start

Install dependencies, authenticate with your Tesla account, and start issuing commands with the tesla.py CLI.

Frequently Asked Questions about my-tesla

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I control my Tesla from a macOS terminal?

You can control your Tesla from macOS using a command-line interface that connects to the Tesla Owner API through teslapy, enabling remote status checks, vehicle commands, and secure local token caching.

Can I automate Tesla vehicle checks across multiple cars?

Yes, you can automate routine checks across multiple vehicles. The tool enumerates vehicles on your account and provides sanitized JSON outputs suitable for scripting and automation workflows.

Does this Tesla CLI require entering credentials for every command?

No, the Tesla CLI uses secure local token caching. You authenticate with your Tesla account once, and the cached token is reused for subsequent commands without exposing credentials.

What safety gates are applied to disruptive remote actions like locking or unlocking?

The CLI implements explicit confirmation gates for disruptive remote actions. Commands like lock, unlock, climate control, and charging require deliberate user confirmation before executing.

How do I handle Tesla API vehicle control when the car is offline or sleeping?

The CLI provides offline and no-wake modes for vehicle control. These modes allow you to query the last known state or prevent waking the car during automated routine checks.