tesla

tesla is a skill for Claude Code from CraftOS-dev/CraftBot. It costs 26 tokens per session (969 once invoked), scanned A, original, MIT.

A command interface for managing connected Tesla vehicles. Tesla is an electric-car company whose vehicles can be controlled through an account connection.

In plain words
What is it for?
Use it to authenticate, list vehicles, check status, lock or unlock cars, and control climate settings.
Why use it?
It puts common vehicle checks and controls in one command interface instead of requiring manual interaction with the car or app.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: built for openclaw.

Good fit Use it to authenticate, list vehicles, check status, lock or unlock cars, and control climate settings.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/craftos-dev/craftbot/tesla-api
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add CraftOS-dev/CraftBot --skill tesla-api
Clone the repo
git clone --depth 1 https://github.com/CraftOS-dev/CraftBot

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for tesla

README.md
[![agentmods](https://agentmods.dev/badge/skills/craftos-dev/craftbot/tesla-api/github.svg)](https://agentmods.dev/skills/craftos-dev/craftbot/tesla-api)
Your own site
<a href="https://agentmods.dev/skills/craftos-dev/craftbot/tesla-api"><img src="https://agentmods.dev/badge/skills/craftos-dev/craftbot/tesla-api/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for tesla

Your own site · 80×15
<a href="https://agentmods.dev/skills/craftos-dev/craftbot/tesla-api"><img src="https://agentmods.dev/badge/skills/craftos-dev/craftbot/tesla-api.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 969 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00026 $0.00969
Opus 5.5 $0.00010 $0.00388
Sonnet 5.5 $0.00005 $0.00194
Haiku 4.5 $0.00003 $0.00097

Measured 2mo ago against content hash 603bb1bd64a9, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

tesla scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/tesla.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/tesla-api/SKILL.md · 134 lines

How it starts

The opening of the file, as written. The whole thing — 134 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Tesla

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

Setup

INSTALLATION AND USE INSTRUCTIONS

First-time authentication:

TESLA_EMAIL="[email protected]" 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:

# 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

# 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

Read the full file on GitHub · 134 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 134 lines · 26 tokens per session scan A 603bb1bd64a9

Subscribe to this mod's changes

tesla is a skill published in the GitHub repository CraftOS-dev/CraftBot (431 stars, last pushed 2d ago), licensed MIT. It adds 26 tokens to every session and 969 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

tesla compared with skills from other repositories

tesla next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
teslaCraftOS-dev/CraftBotSkill4312d agoMITA26Claude Code
pcbwayaklofas/kicad-happySkill1.8k6d agoMITA119Claude Code
akg-agentsXiaoLuoLYG/GODSkill1.3k6d agoApache-2.0A75Claude Code, Codex
esp32-developmentmagnus919/agent-skillsSkill202todayMITA133Claude Code, Codex
uniflyhyperb1iss/uniflySkill28214d agoApache-2.0A63Claude Code
bios-setup-variableslaurigates/claude-pluginsSkill60todayMITA43Claude Code
phase1vibeic/vibe-icSkill32todayApache-2.0A156Claude Code