一键导入
automations
Tesla automation rules — create triggers that fire notifications or commands when vehicle state changes. Battery alerts, charge complete, sentry events.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Tesla automation rules — create triggers that fire notifications or commands when vehicle state changes. Battery alerts, charge complete, sentry events.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Tesla charging management — battery status, charge sessions, cost tracking, weekly summaries, schedule, forecast. Use when someone asks about charging, battery, range, kWh, cost per charge, charge history, or Supercharger usage.
Tesla order tracking — delivery status, ETA, gates, ship tracking, inspection checklist. Use when someone asks about their Tesla order, delivery date, order status, when their car arrives, delivery appointment, or tracking.
Fleet Telemetry management — self-hosted real-time vehicle streaming. Install, configure, and monitor the fleet-telemetry Docker stack.
Background knowledge about Tesla vehicles and the tesla-cli tool. Auto-loads when the user mentions Tesla, EV, charging, battery, Supercharger, Autopilot, climate, sentry mode, or their car.
Quick Tesla vehicle status — battery level, charging state, location, climate, readiness. Use when someone asks "how's my Tesla?", "battery level?", "where's my car?", "is my car ready?", or similar status queries.
Tesla analytics via TeslaMate — trip history, charging costs, battery degradation, vampire drain, efficiency, heatmaps. Requires TeslaMate.
| name | automations |
| description | Tesla automation rules — create triggers that fire notifications or commands when vehicle state changes. Battery alerts, charge complete, sentry events. |
| argument-hint | [action: list|add|remove|run|test|status] |
| allowed-tools | Bash(tesla *) |
| level | 2 |
Rule-based automation engine that monitors vehicle state and fires notifications or shell commands when conditions are met.
tesla automations list # show all configured rules (name, trigger, action, enabled)
tesla automations list --json # machine-readable output
tesla automations add # interactive wizard (name, trigger, condition, action)
Rules have three parts: a trigger (what to watch), a condition (threshold/value), and an action (notify or run command).
The following rules are available out of the box:
| Rule name | Trigger | Default condition | Action |
|---|---|---|---|
battery_below | battery SoC | < 20% | push notification |
charging_complete | charge state | becomes Complete | push notification |
sentry_event | sentry mode | new event detected | push notification |
tesla automations add --preset battery_below # add the 20% low-battery alert
tesla automations add --preset charging_complete
tesla automations add --preset sentry_event
tesla automations remove <name> # delete a rule by name
tesla automations enable <name> # re-enable a disabled rule
tesla automations disable <name> # disable without deleting
tesla automations run # start the rules daemon (foreground)
tesla automations run --source auto # auto-select best data source (TeslaMate → Fleet → Owner)
tesla automations run --interval 60 # poll every 60 seconds (default: 30)
The daemon polls vehicle state on the configured interval and evaluates all enabled rules.
tesla automations install # install as launchd (macOS) or systemd (Linux) service
tesla automations uninstall # remove the service
tesla automations test <name> # fire the rule action once, regardless of conditions
Use this to verify notification delivery before enabling the rule in the daemon.
tesla automations status # daemon running? last evaluation? last fired rule?
/tesla:setup — never auto-configure$ARGUMENTS:
tesla automations listtesla automations addtesla automations remove <name>tesla automations runtesla automations installtesla automations test <name>tesla automations status