tesla

📁 andrejones92/canifi-life-os 📅 Jan 24, 2026
33
总安装量
33
周安装量
#6167
全站排名
安装命令
npx skills add https://github.com/andrejones92/canifi-life-os --skill tesla

Agent 安装分布

claude-code 30
opencode 27
gemini-cli 26
codex 24
antigravity 23
cursor 23

Skill 文档

Tesla Skill

Manage your Tesla vehicle, charging, and energy products.

Quick Install

curl -sSL https://canifi.com/skills/tesla/install.sh | bash

Or manually:

cp -r skills/tesla ~/.canifi/skills/

Setup

Configure via canifi-env:

# First, ensure canifi-env is installed:
# curl -sSL https://canifi.com/install.sh | bash

canifi-env set TESLA_EMAIL "your_email"
canifi-env set TESLA_PASSWORD "your_password"

Privacy & Authentication

Your credentials, your choice. Canifi LifeOS respects your privacy.

Option 1: Manual Browser Login (Recommended)

If you prefer not to share credentials with Claude Code:

  1. Complete the Browser Automation Setup using CDP mode
  2. Login to the service manually in the Playwright-controlled Chrome window
  3. Claude will use your authenticated session without ever seeing your password

Option 2: Environment Variables

If you’re comfortable sharing credentials, you can store them locally:

canifi-env set SERVICE_EMAIL "your-email"
canifi-env set SERVICE_PASSWORD "your-password"

Note: Credentials stored in canifi-env are only accessible locally on your machine and are never transmitted.

Capabilities

  1. Vehicle Control: Lock, unlock, climate, and more
  2. Charging Status: Monitor charging and find Superchargers
  3. Location Track: View vehicle location
  4. Energy Products: Manage Powerwall and Solar
  5. Service Schedule: Book service appointments

Usage Examples

Check Charge

User: "What's my Tesla's battery level?"
Assistant: Returns charge status and range

Climate Control

User: "Preheat my Tesla"
Assistant: Turns on climate control

Find Supercharger

User: "Find nearest Supercharger"
Assistant: Returns nearby charging locations

Lock Vehicle

User: "Lock my Tesla"
Assistant: Locks vehicle doors

Authentication Flow

  1. Tesla account authentication
  2. OAuth2 token-based access
  3. Third-party API wrappers available
  4. MFA may be required

Error Handling

Error Cause Solution
Login Failed Invalid credentials Check account
Vehicle Asleep Car in deep sleep Wake vehicle
Command Failed Connectivity issue Retry
Token Expired Session timeout Re-authenticate

Notes

  • Unofficial API (reverse-engineered)
  • Vehicle control features
  • Energy product management
  • Mobile app required for setup
  • Rate limits apply
  • Some features require premium connectivity