Skip to content
Agentmart
Submit a tool

tesla

Control your Tesla vehicles - lock/unlock, climate, location, charge status, and more.

Skill by CraftOS-dev

IndexedMIT★ 400
Write a review

Chalk Labs

Need help deploying tesla?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/craftos-dev-tesla

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Control your Tesla vehicles - lock/unlock, climate, location, charge status, and more. Supports multiple vehicles.

Use cases: backend

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 4

  • auth.tesla.com · found in code
  • clawhub.ai · found in code
  • codeload.github.com · found in install command
  • google.com · found in code

Files it touches

  • ~/.claude/skills/tesla
  • Your home directory (~)

What's inside

Skill name
tesla
Description
Control your Tesla vehicles - lock/unlock, climate, location, charge status, and more. Supports multiple vehicles.
License
MIT
Instructions
120 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Agent Skills spec issues

  • name: "tesla" does not match folder "tesla-api"

Files (4)

  • origin.json · .clawhub/
  • SKILL.md
  • _meta.json
  • tesla.py · scripts/

SKILL.md (first lines)

# Tesla

Control your Tesla vehicles from Openclaw. Supports multiple cars on one account.

## Setup

[INSTALLATION AND USE INSTRUCTIONS](https://claude.ai/public/artifacts/8b737407-c689-4d2c-ba95-aad6bc49992b)

### First-time authentication:

```bash
TESLA_EMAIL="you@email.com" python3 {baseDir}/scripts/tesla.py auth
```

This will:
1. Display a Tesla login URL
2. You log in and authorize in browser
3. Paste the callback URL back
4. Token cached for future use (~30 days, auto-refreshes)

### Environment variables:

- `TESLA_EMAIL` - Your Tesla account email
- Token cached in `~/.tesla_cache.json`

## Multi-Vehicle Support

Use `--car` or `-c` to specify which vehicle:

```bash
# List all vehicles
python3 {baseDir}/scripts/tesla.py list

# Commands for specific car
python3 {baseDir}/scripts/tesla.py --car "Snowflake" status
python3 {baseDir}/scripts/tesla.py -c "Stella" lock
```

Without `--car`, commands target your first vehicle.

## Commands

```bash
# List all vehicles
python3 {baseDir}/scripts/tesla.py list

# Get vehicle status
python3 {baseDir}/scripts/tesla.py status
python3 {baseDir}/scripts/tesla.py --car "Stella" status

# Lock/unlock
python3 {baseDir}/scripts/tesla.py lock
python3 {baseDir}/scripts/tesla.py unlock

# Climate
python3 {baseDir}/scripts/tesla.py climate on
python3 {baseDir}/scripts/tesla.py climate off
python3 {baseDir}/scripts/tesla.py climate temp 72

# Charging
python3 {baseDir}/scripts/tesla.py charge status
python3 {baseDir}/scripts/tesla.py charge start
python3 {baseDir}/scripts/tesla.py charge stop

# Location
python3 {baseDir}/scripts/tesla.py location

# Honk & flash
python3 {baseDir}/scripts/tesla.py honk
python3 {baseDir}/scripts/tesla.py flash

# Wake up (if asleep)
python3 {baseDir}/scripts/tesla.py wake
```

## Example Chat Usage

- "Is my Tesla locked?"
- "Lock Stella"
- "What's Snowflake's battery level?"
- "Where's my Model X?"
- "Turn on the AC in Stella"
- "Honk the horn on Snowflake"

## API Reference

Uses the unofficial Tesla Owner API documented at:
https://tesla-api.timdorr.com

## Troubleshooting

**Auth not working?**
- Try opening the auth URL on your **phone browser** instead of desktop
- Make sure you're logged into the correct Tesla account
- Clear cookies and try again

## Security & Permissions

**This skill controls physical vehicles. Use with caution.**

**What this skill does:**
- Authenticates via Tesla's official OAuth flow using the `teslapy` library
- Sends vehicle commands (lock, unlock, climate, charge) to Tesla's official API
- Caches OAuth refresh token locally in `~/.tesla_cache.json`
- All communication is between your machine and Tesla's servers only

**What this skill does NOT do:**
- Does not store your Tesla password - uses OAuth token flow
- Does not send credentials or vehicle data to any third party
- Does not access any system resources beyond the Tesla API
- Cannot be invoked autonomously by the agent (`disable-model-invocation: true`)
- The agent must be explicitly triggered by you for every command

**Key safety:**
- Refresh token cached in `~/.tesla_cache.json` with restricted permissions
- Tokens auto-refresh for ~30 days
- Only use on trusted, personal machines
- Review `scripts/tesla.py` before first use - it communicates only with Tesla's official API

From CraftOS-dev/CraftBot, MIT.

Signals

Stars
400
Forks
49
Open issues
12
Last commit (this folder)
May 28, 2026 (5 months ago)
Last release
Oct 23, 2026 (11 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from CraftOS-dev

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get tesla running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying tesla?

CallGet help
Cite this page

tesla skill. Agent Mart. https://agentmart.dev/skills/craftos-dev-tesla (last updated 2026-10-24)