← Back to Skills Marketplace
lyair1

Tesla Skill

by Yair levi · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
383
Downloads
0
Stars
1
Active Installs
3
Versions
Install in OpenClaw
/install tesla-connect
Description
Connect and control Tesla vehicles via the tesla-cli. Handles guided setup (key generation, AgentGen hosting, partner registration, OAuth) and all vehicle co...
Usage Guidance
This skill appears to be what it says (a wrapper around a tesla-cli workflow) but has two things to watch: (1) It asks for an AgentGen API key because it uses AgentGen to host the public key and handle headless OAuth — you must trust AgentGen with hosting and callbacks. (2) The install instruction uses curl | sh to run a remote script from GitHub; don't run it blindly. Before installing, inspect the install.sh in the referenced repository, verify the repo and recent commits, confirm the AgentGen service and its API key scope, and consider running the tool in an isolated environment (VM/container). Also confirm the registry metadata vs SKILL.md discrepancy about AGENTGEN_API_KEY. If you are uncomfortable trusting AgentGen or running a remote install script, do not install this skill or only proceed after manual review of the installer and repo.
Capability Analysis
Type: OpenClaw Skill Name: tesla-connect Version: 1.0.0 The skill utilizes a high-risk installation method via `curl | sh` from a third-party GitHub repository (`Agent-Gen-com/tesla-cli`) and requires an external service (`agent-gen.com`) to facilitate Tesla Fleet API registration. While the `SKILL.md` includes explicit defensive instructions to prevent the AI agent from exfiltrating private keys or OAuth tokens, the reliance on unvetted external scripts and third-party infrastructure for vehicle access credentials represents a significant supply chain risk.
Capability Assessment
Purpose & Capability
The skill's name/description (connect and control Teslas via teslacli) aligns with its instructions: it requires the teslacli binary, guides key generation, AgentGen hosting, Tesla developer creds, and OAuth. However, registry metadata says "Required env vars: none" while the SKILL.md and metadata inside it declare AGENTGEN_API_KEY as the primary credential; that mismatch should be clarified.
Instruction Scope
SKILL.md stays within the Tesla-control scope: it instructs running teslacli setup, generating a P-256 keypair stored in ~/.config/teslacli/, registering with Tesla, and using AgentGen to host the public key for headless OAuth. It explicitly warns not to transmit the private key. The only scope concern is that AgentGen hosting is used for OAuth redirects/public key serving — that delegates part of the auth flow to a third party, which is expected for this design but requires trust in AgentGen.
Install Mechanism
Although the SKILL.md provides an install command, the registry reported no install spec — a discrepancy. The install command is a curl -fsSL from raw.githubusercontent.com piped to sh; executing a remote install script (curl | sh) is a high-risk operation even when hosted on GitHub because it runs arbitrary code on your machine. The GitHub URL appears to be the project repo (Agent-Gen-com/tesla-cli), which makes the source more discoverable, but you should still inspect the script before running it.
Credentials
Requesting AGENTGEN_API_KEY as the primary credential is proportionate to the described behavior (provisioning a public subdomain/hosting the public key for headless OAuth). No other unrelated credentials are requested. Still, this grants a third party ability to host endpoints and potentially relay OAuth callbacks—you should verify AgentGen's trustworthiness and scope of that API key. Also note the registry-level metadata omission of required env vars is inconsistent with SKILL.md.
Persistence & Privilege
The skill does not request always:true and does not claim system-wide privileges. It will create local config in ~/.config/teslacli/ (tokens and key files), which is expected for this use. The skill does not request modification of other skills or global agent settings.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install tesla-connect
  3. After installation, invoke the skill by name or use /tesla-connect
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
- Removed the requirement for a Tesla Developer App and related setup details from the prerequisites. - Updated documentation to reflect that only an AgentGen API key is required for setup. - Clarified and reformatted setup, command, error handling, and guardrail sections for greater readability.
v0.2.0
Dramatically simplified setup: replaced 4-phase manual OAuth2 flow with single teslacli setup wizard (headless Chrome). Updated all commands to new teslacli CLI.
v0.1.0
Initial release with streamlined Tesla onboarding and full vehicle control. - Automates Tesla API onboarding: key generation, virtual key hosting (via AgentGen), OAuth app setup. - Guides users step-by-step through setup, ensuring private key security. - Integrates with `tescmd` CLI to issue commands: wake, lock/unlock, climate, charging, horn, lights, and more. - Includes thorough error handling and robust security practices. - Requires AGENTGEN_API_KEY for one-time setup; manages Tesla credentials locally after.
Metadata
Slug tesla-connect
Version 1.0.0
License
All-time Installs 1
Active Installs 1
Total Versions 3
Frequently Asked Questions

What is Tesla Skill?

Connect and control Tesla vehicles via the tesla-cli. Handles guided setup (key generation, AgentGen hosting, partner registration, OAuth) and all vehicle co... It is an AI Agent Skill for Claude Code / OpenClaw, with 383 downloads so far.

How do I install Tesla Skill?

Run "/install tesla-connect" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Tesla Skill free?

Yes, Tesla Skill is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Tesla Skill support?

Tesla Skill is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Tesla Skill?

It is built and maintained by Yair levi (@lyair1); the current version is v1.0.0.

💬 Comments