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.
Why use this skill?
Control your Tesla vehicle from your macOS terminal. Check battery status, manage climate, and run remote commands securely with this efficient, open-source OpenClaw skill.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/officialpm/my-teslaWhat This Skill Does
The my-tesla skill for OpenClaw is a robust command-line interface and automation wrapper for the Tesla Owner API, powered by teslapy. It is designed for macOS users who want deep, granular control over their vehicle's state without navigating through multiple mobile app menus. Whether you are checking your current range, monitoring charging progress, or ensuring your climate control is set before a commute, this skill handles the heavy lifting of authentication and API interaction locally on your machine.
Installation
To integrate this skill into your workflow, run clawhub install openclaw/skills/skills/officialpm/my-tesla. Before usage, ensure you have Python 3.10+ installed and the TESLA_EMAIL environment variable set. Run the initial authentication via python3 {baseDir}/scripts/tesla.py auth and follow the terminal prompts to link your Tesla account. For convenience, you can set a default car using python3 {baseDir}/scripts/tesla.py default-car "Your Car Name" to avoid specifying the vehicle on every command.
Use Cases
This skill is perfect for power users and automation enthusiasts. Use it to integrate your vehicle state into custom dashboards, trigger charging start/stop based on energy pricing (via external scripts), or verify that your vehicle is locked from the terminal before heading to bed. It is specifically optimized for chat-friendly output, making it an ideal companion for AI agents monitoring your environment.
Example Prompts
- "Check the status of my car and tell me if it's plugged in and charging."
- "What is the battery level and estimated range of my Model 3?"
- "Is my car locked and are all the windows closed?"
Tips & Limitations
The my-tesla skill provides powerful control, but note that it operates via the Tesla API, which may experience latency or require waking the vehicle from sleep mode. Using the --no-wake flag is recommended for routine status checks to preserve battery health. Keep your ~/.tesla_cache.json file secure, as it contains your authentication tokens. Always use the provided confirmation gates for disruptive actions to avoid accidental climate or lock changes. For debugging, use the --debug flag if you encounter connection timeouts or API errors.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-officialpm-my-tesla": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, file-read, file-write, external-api