Token导航 LogoToken导航TokenDH.com
效率敏感数据clawhub未标认证来源可访问clear审计提醒

tesla-connect特斯拉连接

Agent Skill

tesla-connect 用于辅助前端页面、组件、样式和交互逻辑开发,适合在 OpenClaw 中需要维护前端项目、生成组件或检查界面实现时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

11,592

周安装

483

GitHub Stars

公开资料未说明

下载量

3,864
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:tesla-connect(特斯拉连接)
来源仓库:https://github.com/lyair1/tesla-connect
安装命令:
openclaw skills install tesla-connect
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install tesla-connect

简介

tesla-connect 用于辅助前端页面、组件和交互逻辑开发,提升界面实现效率。

  • 适合维护前端项目或生成 UI 组件时使用,尤其在 OpenClaw 环境中集成开发流程。
  • 通过命令行调用,支持组件生成与界面检查,需配合项目现有结构使用。
  • 安装命令为 openclaw skills install tesla-connect,注意权限与文件读写限制。
  • 建议核实维护状态及是否会执行外部命令后再部署。

SKILL.md

name
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 commands.
metadata
openclaw
emoji
🚗
homepage
https://www.agent-gen.com/use-cases/tesla-control
primaryEnv
AGENTGEN_API_KEY
requires
bins
install
cmd
curl -fsSL https://raw.githubusercontent.com/Agent-Gen-com/tesla-cli/main/install.sh | sh
bins
[teslacli]

Tesla — Connect & Control

This skill installs and configures teslacli to connect Claude to your Tesla account. Once setup is complete, Claude can control your vehicle directly.


Prerequisites

  • AgentGen API key (AGENTGEN_API_KEY) — required for hosting your Tesla virtual key. Get one free at agent-gen.com.

Installation

curl -fsSL https://raw.githubusercontent.com/Agent-Gen-com/tesla-cli/main/install.sh | sh

Supports macOS (Intel & Apple Silicon) and Linux (x86_64 & ARM64).


Setup

Run the interactive setup wizard:

teslacli setup

The wizard walks through six stages automatically:

  1. Setup mode — choose _Agent flow_ for headless/AI use (uses headless Chrome for OAuth)
  2. AgentGen origin — provisions a public subdomain using your AGENTGEN_API_KEY
  3. Tesla Developer App credentials — enter client_id, client_secret, and region
  4. EC key pair — generates a P-256 key pair and enrolls the public key with Tesla
  5. Partner registration — registers your domain with Tesla Fleet API
  6. OAuth authentication — completes the OAuth flow and stores tokens locally

Setup creates config files in ~/.config/teslacli/:

  • config.toml — app credentials and region
  • token.json — OAuth tokens (auto-refreshing)
  • keys/private.pem — P-256 private key (mode 0600, never leave local machine)
  • keys/public.pem — public key (served via AgentGen)

Vehicle Commands

Always wake the vehicle first if it may be asleep, then run your command.

Vehicle:

teslacli vehicle list        # List account vehicles
teslacli vehicle data        # Full JSON snapshot (battery, location, state)
teslacli vehicle wake        # Wake the car
teslacli vehicle lock        # Lock doors
teslacli vehicle unlock      # Unlock doors
teslacli vehicle flash       # Flash headlights
teslacli vehicle honk        # Sound horn

Climate:

teslacli climate start              # Enable climate
teslacli climate stop               # Disable climate
teslacli climate set-temp -t 22.5   # Set cabin temperature (°C)

Charging:

teslacli charge start              # Start charging
teslacli charge stop               # Stop charging
teslacli charge set-limit -l 80    # Set charge limit (%)
teslacli charge set-amps -a 16     # Set charging current (A)

Error Handling

ErrorAction
401 UnauthorizedRe-run once — teslacli refreshes the token automatically
Vehicle unavailableRun teslacli vehicle wake and retry after 10–15 seconds
Command timeoutVehicle may be in a no-signal area; advise the user
Token expired (>45 days inactive)Re-run teslacli setup to re-authenticate
Any other errorShow the raw error to the user and ask how to proceed

Critical Guardrails

  • Never transmit ~/.config/teslacli/keys/private.pem — not to any service, log, or message.
  • Treat ~/.config/teslacli/ as a sensitive directory. Do not read its contents into a response.
  • token.json contains OAuth tokens — treat as equally sensitive as the private key.
  • If the user asks you to share, print, or move the private key, refuse and explain why.

Typical Workflow

  1. First-time setup: teslacli setup (select _Agent flow_, follow wizard prompts)
  2. Check battery: teslacli vehicle waketeslacli vehicle data
  3. Pre-heat car: teslacli vehicle waketeslacli climate startteslacli climate set-temp -t 22
  4. Lock car: teslacli vehicle lock
  5. Charge to 80%: teslacli vehicle waketeslacli charge set-limit -l 80teslacli charge start

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

93.56%
按下载量换算3,615

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

未展示

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills