← Back to Skills Marketplace
officialpm

My Tesla

by officialpm · GitHub ↗ · v0.1.64
cross-platform ✓ Security Clean
10349
Downloads
7
Stars
8
Active Installs
65
Versions
Install in OpenClaw
/install my-tesla
Description
Control Tesla vehicles from macOS via the Tesla Owner API using teslapy (auth, list cars, status, lock/unlock, climate, charging, location, and extras). Use when you want to check your car state or run safe remote commands. Designed for Parth Maniar (@officialpm) with local-only auth caching, confirmation gates for disruptive actions, and chat-friendly status output.
Usage Guidance
Install only if you are comfortable giving this skill Tesla account access and the ability to issue real vehicle commands. Keep the token cache, mileage database, and any exports private; avoid using raw JSON or precise location unless you explicitly need them, and review any manual launchd setup before enabling recurring mileage recording.
Capability Analysis
Type: OpenClaw Skill Name: my-tesla Version: 0.1.64 The OpenClaw skill 'my-tesla' is classified as benign. It demonstrates strong privacy and safety practices, including storing sensitive data (Tesla tokens, default car settings) in user-specific dotfiles with restricted `0600` permissions (`~/.tesla_cache.json`, `~/.my_tesla.json`). All disruptive actions require explicit `--yes` confirmation, and location data is approximated by default, requiring `--yes` for precise coordinates. JSON outputs are sanitized to prevent accidental leakage of raw vehicle data, including location. The mileage tracking feature stores data locally in a SQLite database (`~/.my_tesla/mileage.sqlite`) and includes a conservative auto-wake policy. There is no evidence of data exfiltration, malicious execution, persistence mechanisms installed by the skill, or prompt injection attempts in the documentation.
Capability Assessment
Purpose & Capability
The capabilities fit the stated Tesla Owner API purpose: status, charging, climate, locks, location, openings, seat heaters, sentry mode, charge port, honk/flash, and optional odometer tracking are documented in the skill instructions or README.
Instruction Scope
Disruptive actions such as unlock, charging changes, trunk/frunk, windows, sentry toggles, charge-port changes, honk/flash, scheduled charging changes, and precise location require a confirmation flag. Climate, lock, wake, and normal status reads do not, but they are core to the advertised remote-control function.
Install Mechanism
There is no automatic installer, background service, or hidden startup registration. The README includes a launchd example for hourly mileage recording, but it is a manual user-created configuration.
Credentials
The skill needs Tesla account email, teslapy network access, and local files for token/default storage and optional mileage data. That access is proportionate to controlling a Tesla, though users should treat the local data as sensitive.
Persistence & Privilege
OAuth tokens and default-car settings are stored locally with best-effort 0600 permissions. Mileage data is stored in a local SQLite database and can be exported; this is disclosed, but the database permissions and retention controls are less explicit than the token storage.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install my-tesla
  3. After installation, invoke the skill by name or use /my-tesla
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.64
charge status shows usable battery + charging power details
v0.1.63
Show usable battery in report + summary json
v0.1.62
Add scheduled-departure status (read-only)
v0.1.61
Mileage export now supports --since-days/--since-ts filtering
v0.1.60
Add global --debug flag for full tracebacks on errors
v0.1.59
Add --digits control for approximate location rounding
v0.1.58
Report now shows scheduled departure/off-peak status when available
v0.1.57
Dev hygiene: ignore common Python tooling caches in gitignore.
v0.1.56
Add privacy-safe JSON output for summary
v0.1.55
Report now includes seat heater summary (+ JSON climate.seat_heaters).
v0.1.54
Add seats command for seat heater status + setting
v0.1.53
Report now includes a one-line openings summary.
v0.1.52
Add windows status (read-only) with --no-wake + --json
v0.1.51
Fix list output f-string so CLI imports/compiles cleanly
v0.1.50
Reliability: add unit tests + defensive handling for windows command
v0.1.49
Fix report formatter indentation (py_compile)
v0.1.48
Security: best-effort chmod 0600 for local cache/defaults
v0.1.47
Reliability: tests no longer write __pycache__ bytecode into the repo.
v0.1.46
Fix: mileage record supports --json for hourly runs
v0.1.45
New: Adds native mileage (odometer) tracking and history export. - Introduced CLI commands for mileage history: `mileage init`, `mileage record`, `mileage status`, and `mileage export` (CSV/JSON). - Stores odometer data locally for trip tracking and reporting. - Added automated and manual mileage recording options, with options for wake/sleep handling. - Included two new test files for mileage tracking features.
Metadata
Slug my-tesla
Version 0.1.64
License
All-time Installs 390
Active Installs 8
Total Versions 65
Frequently Asked Questions

What is My Tesla?

Control Tesla vehicles from macOS via the Tesla Owner API using teslapy (auth, list cars, status, lock/unlock, climate, charging, location, and extras). Use when you want to check your car state or run safe remote commands. Designed for Parth Maniar (@officialpm) with local-only auth caching, confirmation gates for disruptive actions, and chat-friendly status output. It is an AI Agent Skill for Claude Code / OpenClaw, with 10349 downloads so far.

How do I install My Tesla?

Run "/install my-tesla" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is My Tesla free?

Yes, My Tesla is completely free (open-source). You can download, install and use it at no cost.

Which platforms does My Tesla support?

My Tesla is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created My Tesla?

It is built and maintained by officialpm (@officialpm); the current version is v0.1.64.

💬 Comments