Agent skill

Tesla Fleet API

by Anil-matcha in Anil-matcha/awesome-muse-connectors

Control Tesla vehicles through the official Tesla Fleet API: lock/unlock, remote start, charge control, preconditioning, honk, trunk.

MITAuto-check passed

Install Tesla Fleet API

skills CLI
$ npx skills add Anil-matcha/awesome-muse-connectors --skill tesla-fleet-api -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Anil-matcha/awesome-muse-connectors tesla-fleet-api --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Anil-matcha/awesome-muse-connectors.git skills-src && mkdir -p .claude/skills && cp -r skills-src/connectors/tesla-fleet-api .claude/skills/tesla-fleet-api && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
tesla-fleet-api
GitHub stars
1.3k
Token cost
~1.7k tokens
SKILL.md length
549 words
Files
2
Skills in repo
153
Repo updated
First seen
Licence
MIT

At a glance

Control Tesla vehicles through the official Tesla Fleet API: lock/unlock, remote start, charge control, preconditioning, honk, trunk.

  • Works in 6 steps: HIGH actuations need explicit… → MEDIUM actuations (charge… → Cost warning: Tesla bills pay-per-use.… → …
  • Phrases: tesla car
  • SKILL.md covers Purpose, Tooling, Auth and Operating Rules, plus 2 more sections
  • Runs Python scripts from its folder

What it does

Tesla Fleet API is an agent skill from Anil-matcha/awesome-muse-connectors. Control Tesla vehicles through the official Tesla Fleet API: lock/unlock, remote start, charge control, preconditioning, honk, trunk. Trigger phrases: tesla car, tesla vehicle, lock my tesla, precondition tesla, tesla charge.

Its SKILL.md is about 1.7k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `bin/tesla-fleet-api.py`).

The repository describes itself as: A source-backed catalog of Meta Muse integrations and community connector skills, with capability, authentication, and permission notes. The licence is MIT.

When your agent uses it

  • Phrases: tesla car
  • Precondition tesla

Example prompts

  • “/tesla-fleet-api”

Requirements

  • Python 3

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. HIGH actuations need explicit confirmation every time, naming the exact physical effect: door_lock / door_unlock change physical access to…
  2. MEDIUM actuations (charge start/stop/limit, sentry/valet mode, speed limit) need --confirm naming the exact effect on first use per…
  3. Cost warning: Tesla bills pay-per-use. Roughly $1 per 1,000 commands, $1 per 500 data requests, $1 per 50 wakes; a $10/month credit covers…
  4. vehicle-data without --endpoints pulls the full state; pass --endpoints (semicolon-separated, e.g. charge_state;climate_state) to keep…
  5. The signed_command envelope in the CLI follows the official Fleet API reference and is untested in this build. If the car rejects a…
  6. Never exfiltrate the credential: the CLI only ever handles surrogates. Do not print, log, or transmit the token value.

What it can do on your machine

Read from SKILL.md and the folder at commit d6dc5d8. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships script files (Python), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Tesla Fleet API loads about 1.7k tokens when it runs. Until then it costs about 60 tokens; SKILL.md has 549 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~60
When it runs · the whole SKILL.md, loaded when a task matches
~1.7k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from Anil-matcha/awesome-muse-connectors at commit d6dc5d8, republished under its MIT licence (© Anil-matcha). 549 words, ~1,699 tokens.

Download SKILL.mdSave it as .claude/skills/tesla-fleet-api/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
tesla-fleet-api
description
Control Tesla vehicles through the official Tesla Fleet API: lock/unlock, remote start, charge control, preconditioning, honk, trunk. Trigger phrases: tesla car, tesla vehicle, lock my tesla, precondition tesla, tesla charge.
metadata.includeInPrompt
true
tagline
Control Tesla vehicles through the official Tesla Fleet API: read live vehicle state, wake a sleeping car, and send signed commands (lock/unlock, keyless…
catalog_auth
provider OAuth 2.0 via the secure credential flow
catalog_hosts
fleet-api.prd.na.vn.cloud.tesla.com, fleet-api.prd.eu.vn.cloud.tesla.com, fleet-api.prd.cn.vn.cloud.tesla.com

Tesla Fleet API (vehicles)

Purpose

Control Tesla vehicles through the official Tesla Fleet API: read live vehicle state, wake a sleeping car, and send signed commands (lock/unlock, keyless drive, charge control, preconditioning, honk/flash, trunk, sentry/valet, speed limit, navigation). Use when the user mentions their Tesla car or asks for vehicle actuation.

This connector covers vehicles only and is fully separate from tesla-powerwall (energy devices): separate credential, separate scope set, separate CLI.

Tooling

All commands go through bin/tesla-fleet-api.py. --region selects the API region (na, eu, cn; default na). --vehicle is the vehicle tag, usually the VIN.

bash
bin/tesla-fleet-api.py auth                                       # verify the OAuth token
bin/tesla-fleet-api.py vehicles                                   # list vehicles
bin/tesla-fleet-api.py vehicle-data --vehicle YOUR_VIN              # live state (charge, location, climate, doors)
bin/tesla-fleet-api.py vehicle-data --vehicle YOUR_VIN --endpoints charge_state
bin/tesla-fleet-api.py wake --vehicle YOUR_VIN                      # wake a sleeping car (metered)

# HIGH actuations: --confirm "<exact effect>" required on EVERY call
bin/tesla-fleet-api.py command --vehicle YOUR_VIN --action door_lock \
    --confirm "lock all vehicle doors"
bin/tesla-fleet-api.py command --vehicle YOUR_VIN --action door_unlock \
    --confirm "unlock all vehicle doors"
bin/tesla-fleet-api.py command --vehicle YOUR_VIN --action remote_start_drive \
    --confirm "enable keyless driving for 2 minutes"

# MEDIUM actuations: --confirm "<exact effect>" on first use per vehicle, then proceed
bin/tesla-fleet-api.py command --vehicle YOUR_VIN --action charge_start \
    --confirm "start EV charging"
bin/tesla-fleet-api.py command --vehicle YOUR_VIN --action set_charge_limit \
    --params '{"percent": 80}' --confirm "change the charge limit"

# LOW actuations: no confirmation
bin/tesla-fleet-api.py command --vehicle YOUR_VIN --action honk_horn
bin/tesla-fleet-api.py command --vehicle YOUR_VIN --action auto_conditioning_start
bin/tesla-fleet-api.py command --vehicle YOUR_VIN --action actuate_trunk --params '{"which_trunk": "rear"}'

Available actions: door_lock, door_unlock, remote_start_drive, charge_start, charge_stop, set_charge_limit, honk_horn, flash_lights, auto_conditioning_start, auto_conditioning_stop, actuate_trunk, set_sentry_mode, set_valet_mode, speed_limit_activate, speed_limit_set_limit, navigation_gps_request, schedule_software_update. Extra command parameters go in --params as a JSON object.

MEDIUM first-use confirmations are recorded locally (~/.cache/muse-connectors/tesla-fleet-api/confirmed.json); HIGH actions always ask.

Auth

  • Provider id: tesla-fleet-api (credential is collected as custom.tesla-fleet-api)
  • Collection: provider OAuth (OAuth 2.0 third-party tokens) via the secure credential flow (credentials.request_api_access); same OAuth pattern as the slack and x connectors
  • Required scopes: openid, offline_access, vehicle_device_data, vehicle_cmds, vehicle_charging_cmds, vehicle_location
  • Allowed hosts: fleet-api.prd.na.vn.cloud.tesla.com, fleet-api.prd.eu.vn.cloud.tesla.com, fleet-api.prd.cn.vn.cloud.tesla.com (selected with --region)
  • Status check: bin/tesla-fleet-api.py auth (must return "ok": true)
  • Signed commands need two things beyond the token: the developer app's public key hosted on a verified domain, and the vehicle paired to the app's virtual key. Without pairing, commands are rejected by the car.
  • Onboarding burden: heaviest of this batch. Developer app approval needs legal business details, verified domain ownership, and a hosted public key, plus per-vehicle virtual-key pairing. Say so up front.
Show full SKILL.md (295 more words)Show less

Operating Rules

  1. HIGH actuations need explicit confirmation every time, naming the exact physical effect: door_lock / door_unlock change physical access to the car; remote_start_drive opens a 2-minute window where the car can be driven without a key. The CLI refuses to run without the exact --confirm text. No standing permission, no exceptions.
  2. MEDIUM actuations (charge start/stop/limit, sentry/valet mode, speed limit) need --confirm naming the exact effect on first use per vehicle; reads and LOW actuations (honk, flash, trunk, preconditioning, navigation destination, software-update scheduling) need no confirmation.
  3. Cost warning: Tesla bills pay-per-use. Roughly $1 per 1,000 commands, $1 per 500 data requests, $1 per 50 wakes; a $10/month credit covers light individual use. wake and frequent vehicle-data polling spend real money: poll sparingly and say the cost when the user asks for repeated checks.
  4. vehicle-data without --endpoints pulls the full state; pass --endpoints (semicolon-separated, e.g. charge_state;climate_state) to keep responses small and cheaper.
  5. The signed_command envelope in the CLI follows the official Fleet API reference and is untested in this build. If the car rejects a command with a pairing error, the fix is virtual-key pairing; retrying will not help.
  6. Never exfiltrate the credential: the CLI only ever handles surrogates. Do not print, log, or transmit the token value.

Files

  • SKILL.md
  • bin/tesla-fleet-api.py

Maturity

🧪 Draft: written from Tesla's public Fleet API docs; not yet live-tested end-to-end.

Honesty flags: the vehicles, vehicle_data, wake_up, and signed_command paths are pinned in the official docs. The signed-command request envelope (routineName plus action parameters) follows the official reference but has not been exercised here, and signed commands cannot work at all until the app's public key is hosted and the vehicle pairs the virtual key. remote_start_drive and lock/unlock are HIGH and confirmation-gated in the CLI on every call.

© Anil-matcha, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in connectors/tesla-fleet-api of Anil-matcha/awesome-muse-connectors.

  • SKILL.md
  • bin/tesla-fleet-api.py

Open the folder on GitHubat commit d6dc5d8

Compare with similar skills

Tesla Fleet API next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Tesla Fleet API compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Tesla Fleet API this skillAnil-matcha/awesome-muse-connectors1.3k—~1.7kAutomated safety check: PassMIT
Iot Fleetruvnet/ruflo74k—~210Automated safety check: PassMIT
My Teslasundial-org/awesome-openclaw-skills663—~2.3kAutomated safety check: PassNone
TeslaCraftOS-dev/CraftBot3921 repos~917Automated safety check: PassMIT
Codewhale Fleet Managercodewhale-hq/Codewhale41k—~1.2kAutomated safety check: PassMIT
Fleetasheshgoplani/agent-deck1k—~4.2kAutomated safety check: PassMIT

Similar skills

  • Iot Fleet

    ruvnet/ruflo

    Create and manage Cognitum Seed device fleets with firmware policies

    74k GitHub stars~210 tokensUpdated today
    Auto-check passed
  • My Tesla

    sundial-org/awesome-openclaw-skills

    Control Tesla vehicles from macOS via the Tesla Owner API using teslapy (auth, list cars, status, lock/unlock, climate, charging, location, and extras).

    663 GitHub stars~2.3k tokensUpdated 7 mo ago
    Backend & APIsAuto-check passed
  • Tesla

    CraftOS-dev/CraftBot

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

    392 GitHub starsUsed in 1 repo~917 tokens
    Backend & APIsAuto-check passed
  • Codewhale Fleet Manager

    codewhale-hq/Codewhale

    Triages and manages Codewhale fleet runs and workers with typed commands, classifying failures and choosing a safe restart, resume or escalation.

    41k GitHub stars~1.2k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Fleet

    asheshgoplani/agent-deck

    Fan out a fleet of independent agent-deck child sessions from inside a session and check their progress non-blockingly.

    1k GitHub stars~4.2k tokensUpdated 3 days ago
    Auto-check passed
  • Fleet Manager for Agent Sessions

    asgeirtj/system_prompts_leaks

    Shows one digest of coding-agent sessions across your connected machines and lets you open, read, steer, approve, stop and close them, over Herdr, tmux or MSP.

    69k GitHub stars~2.5k tokensUpdated yesterday
    Agent WorkflowsAuto-check passed

More from Anil-matcha/awesome-muse-connectors

All 153 skills in this repo
  • Airtable

    Anil-matcha/awesome-muse-connectors

    List Airtable bases, read table records, and add records. An agent skill from Anil-matcha/awesome-muse-connectors.

    1.3k GitHub stars~511 tokensUpdated 3 days ago
    Auto-check passed
  • Alphavantage

    Anil-matcha/awesome-muse-connectors

    Stock quotes and daily price history. An agent skill from Anil-matcha/awesome-muse-connectors.

    1.3k GitHub stars~517 tokensUpdated 3 days ago
    Auto-check passed
  • Amadeus

    Anil-matcha/awesome-muse-connectors

    Search travel with Amadeus: flight offers and prices, airport autocomplete, hotel offers, cheapest dates.

    1.3k GitHub stars~699 tokensUpdated 3 days ago
    Auto-check passed
  • Apollo

    Anil-matcha/awesome-muse-connectors

    Search B2B contacts with Apollo.io: find people by title and company, enrich contacts and companies.

    1.3k GitHub stars~492 tokensUpdated 3 days ago
    Auto-check passed
  • Aqara

    Anil-matcha/awesome-muse-connectors

    Read and control Aqara smart home devices: plugs, switches, lights, AC, locks, curtains, scenes.

    1.3k GitHub stars~1.6k tokensUpdated 3 days ago
    Auto-check passed
  • Asana

    Anil-matcha/awesome-muse-connectors

    Read and manage Asana tasks: my tasks, task details, create tasks.

    1.3k GitHub stars~481 tokensUpdated 3 days ago
    Auto-check passed

Questions about Tesla Fleet API

What does Tesla Fleet API do?

Control Tesla vehicles through the official Tesla Fleet API: lock/unlock, remote start, charge control, preconditioning, honk, trunk. Tesla Fleet API is an agent skill from Anil-matcha/awesome-muse-connectors. Control Tesla vehicles through the official Tesla Fleet API: lock/unlock, remote start, charge control, preconditioning, honk, trunk.

When should I use Tesla Fleet API?

Tesla Fleet API fits situations like: phrases: tesla car; precondition tesla.

How do I install Tesla Fleet API in Claude Code?

Run `npx skills add Anil-matcha/awesome-muse-connectors --skill tesla-fleet-api -a claude-code`. Or copy the skill folder (connectors/tesla-fleet-api in Anil-matcha/awesome-muse-connectors) into .claude/skills/tesla-fleet-api in your project. Claude Code loads it when a task matches its description.

How do I install Tesla Fleet API in Codex?

Run `npx skills add Anil-matcha/awesome-muse-connectors --skill tesla-fleet-api -a codex`. Or copy the skill folder (connectors/tesla-fleet-api in Anil-matcha/awesome-muse-connectors) into .agents/skills/tesla-fleet-api in your project. Codex loads it when a task matches its description.

Can I use Tesla Fleet API in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Anil-matcha/awesome-muse-connectors --skill tesla-fleet-api -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/tesla-fleet-api, .gemini/skills/tesla-fleet-api, .github/skills/tesla-fleet-api and .opencode/skills/tesla-fleet-api in your project.

What does Tesla Fleet API need to run?

Going by SKILL.md and its folder, Tesla Fleet API needs Python for the scripts in its folder. Our summary lists: Python 3.

Does Tesla Fleet API access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Tesla Fleet API safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Tesla Fleet API use?

Tesla Fleet API is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Tesla Fleet API use?

About 1.7k tokens (SKILL.md is roughly 6.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Tesla Fleet API?

Skills that share tags, products or a category with Tesla Fleet API: Iot Fleet (ruvnet/ruflo, 74k stars), My Tesla (sundial-org/awesome-openclaw-skills, 663 stars), Tesla (CraftOS-dev/CraftBot, 392 stars) and Codewhale Fleet Manager (codewhale-hq/Codewhale, 41k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Tesla Fleet API?

Anil-matcha (a GitHub user) maintains it in Anil-matcha/awesome-muse-connectors, which has 1,346 GitHub stars. The repository holds 153 skills in this directory. The repository was last updated on October 5, 2026.

Source: Anil-matcha/awesome-muse-connectors on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.