Tesla Commands
Control your Tesla via MyTeslaMate API. Supports multi-vehicle accounts, climate control, and charging schedules.
MIT-0 · Free to use, modify, and redistribute. No attribution required.
⭐ 1 · 1.6k · 0 current installs · 0 all-time installs
by@ovaris
MIT-0
Security Scan
OpenClaw
Suspicious
medium confidencePurpose & Capability
The name/description, SKILL.md, and bin/tesla-control.py consistently implement MyTeslaMate vehicle control (wake, climate, charge limits, schedules) against https://api.myteslamate.com. The requested operations match the stated purpose.
Instruction Scope
Runtime instructions are narrowly scoped: set TESLA_MATE_TOKEN (and optionally TESLA_VIN) and run the included script with the documented CLI flags. The instructions do not ask the agent to read unrelated files or exfiltrate data to unexpected endpoints; network calls are limited to the MyTeslaMate API base URL.
Install Mechanism
There is no install spec (instruction-only), which minimizes install-time risk. However, a runnable Python script is included in the bundle (bin/tesla-control.py) — this is fine but means the skill will execute local code rather than only calling remote services.
Credentials
The SKILL.md and the Python script require TESLA_MATE_TOKEN (and optionally TESLA_VIN) to operate, but the registry metadata incorrectly lists 'Required env vars: none' and 'Primary credential: none'. This mismatch is concerning because the platform may not surface the need for a secret and users could be asked to provide credentials without clear registry-level prompts.
Persistence & Privilege
The skill does not request persistent system privileges, does not set always:true, and does not modify other skills or system-wide configs. It runs on demand and relies on environment variables for auth.
What to consider before installing
This skill's behavior (calling MyTeslaMate with a bearer token) matches its description, but the registry metadata fails to declare the required TESLA_MATE_TOKEN. Before installing/providing credentials: (1) verify the skill's provenance (the package.json homepage points to a GitHub repo—check that repo and commits), (2) only provide a token scoped for this service (avoid reuse of high-privilege or cloud-wide tokens), (3) prefer running the included script locally first to confirm behavior, (4) confirm the platform will prompt for TESLA_MATE_TOKEN securely, and (5) if unsure, ask the publisher to update registry metadata to declare the required env vars and justify them. If you want higher assurance, request the upstream GitHub repo link and review its history and maintainer identity before trusting your token.Like a lobster shell, security has layers — review code before you run it.
Current versionv1.0.0
Download ziplatest
License
MIT-0
Free to use, modify, and redistribute. No attribution required.
SKILL.md
Tesla Commands Skill 🚗
This skill allows you to monitor and control your Tesla vehicle using the MyTeslaMate API.
Prerequisites
To use this skill, you must have:
- A MyTeslaMate account with a configured vehicle.
- An API Token from MyTeslaMate (Get it at app.myteslamate.com/fleet).
- The VIN of your vehicle.
Environment Variables
The following environment variables must be set for the skill to work:
TESLA_MATE_TOKEN: Your MyTeslaMate API token.TESLA_VIN: Your vehicle's VIN (optional if you specify it via command line).
Tools
tesla-control
Manage vehicle status, climate, charging, and schedules.
Usage:
public-skills/tesla-commands/bin/tesla-control.py [options]
Options:
--list: List all vehicles on the account and their VINs.--status: Fetch full vehicle data (battery, climate, location, locks, etc.).--wake: Wake up the vehicle from sleep mode.--climate [on|off]: Start or stop the climate control.--charge-limit [50-100]: Set the battery charge limit percentage.--set-schedule [HH:MM]: Set a scheduled charging start time.--clear-schedule: Disable scheduled charging.--vin [VIN]: Target a specific vehicle (overrides the defaultTESLA_VIN).
Examples
Wake up the car:
./bin/tesla-control.py --wake
Set charge limit to 80%:
./bin/tesla-control.py --charge-limit 80
Set charging to start at 02:00:
./bin/tesla-control.py --set-schedule 02:00
Files
3 totalSelect a file
Select a file to preview.
Comments
Loading comments…
