← Back to Skills Marketplace
officialpm

My Tesla

by officialpm · GitHub ↗ · v0.1.64
cross-platform ✓ Security Clean
10976
Downloads
7
Stars
0
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 send remote vehicle commands. Treat tokens, raw vehicle JSON, precise location output, and mileage exports as private data; consider tightening permissions on ~/.my_tesla/mileage.sqlite if the machine is shared.
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 skill can read Tesla vehicle state and perform remote vehicle actions, including lock/unlock, charging, climate, location, windows, trunks, sentry, honk, flash, and charge-port controls; those capabilities are documented and match the stated Tesla-control purpose.
Instruction Scope
Runtime instructions are user-invoked CLI commands, with explicit --yes gates for many disruptive actions and approximate location output by default; raw JSON and precise location modes are disclosed.
Install Mechanism
No hidden installer, startup hook, package manager script, or automatic persistence was found; dependency use is limited to the teslapy Python package declared in the script metadata.
Credentials
Use of TESLA_EMAIL, local OAuth cache files, local defaults, Tesla API access, and command execution is sensitive but proportionate for a Tesla account integration.
Persistence & Privilege
Tokens and defaults are stored locally with best-effort 0600 permissions, and mileage history is stored locally in SQLite only when the user runs mileage commands; the optional launchd schedule is documented as a manual setup example, though the mileage DB itself is not explicitly chmod-hardened in code.
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 0
Active Installs 0
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 10976 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