MCS Vehicle Control Skill
Translates natural language vehicle control requests into mcs CLI commands.
Command Mappings
Climate Control
| Natural Language |
Command |
| "warm up the car", "heat the car", "turn on heating" |
mcs climate on |
| "cool down the car", "turn on AC", "start the AC" |
mcs climate on |
| "set temperature to X", "make it X degrees" |
mcs climate set --temp X |
| "turn off climate", "stop heating", "turn off AC" |
mcs climate off |
| "defrost the windshield", "turn on defrosters" |
mcs climate set --front-defroster |
Door Locks
| Natural Language |
Command |
| "lock the car", "lock the doors", "lock it" |
mcs lock |
| "unlock the car", "unlock the doors", "open the locks" |
mcs unlock |
Engine Control
| Natural Language |
Command |
| "start the car", "start the engine", "turn on the car" |
mcs start |
| "stop the engine", "turn off the car", "kill the engine" |
mcs stop |
Charging (EV/PHEV)
| Natural Language |
Command |
| "start charging", "charge the car", "plug it in" |
mcs charge start |
| "stop charging", "stop the charge" |
mcs charge stop |
Status Queries
| Natural Language |
Command |
| "what's the status", "show status", "how's the car" |
mcs status |
| "check the battery", "battery level", "how much charge" |
mcs status (show battery section) |
| "check fuel", "fuel level", "how much gas" |
mcs status (show fuel section) |
| "where is my car", "find my car", "car location" |
mcs status (show location) |
| "check tire pressure", "how are the tires" |
mcs status (show tires section) |
| "are the doors locked", "door status" |
mcs status (show doors section) |
Execution Guidelines
- Run the command using the Bash tool
- Show the output to the user in a friendly format
- For control commands, the CLI will confirm the action completed
- For status queries, highlight the relevant information
Confirmation Flags
Control commands support --confirm to wait for vehicle confirmation:
--confirm - Wait for vehicle to report state change (default: enabled)
--confirm=false - Don't wait for confirmation
--confirm-wait 3m - Custom timeout (default: 2 minutes)
Use --confirm for important actions where the user wants to be sure it worked.
Examples
Example 1: Warming up the car
User: "It's freezing, can you warm up the car?"
mcs climate on
Example 2: Checking battery before a trip
User: "How much battery do I have left?"
mcs status
Then show the battery level and range from the output.
Example 3: Securing the car
User: "Lock the car and make sure it's locked"
mcs lock --confirm
Example 4: Setting specific temperature
User: "Set the car to 24 degrees"
mcs climate set --temp 24
Error Handling
- If the command fails, show the error message to the user
- Common issues:
- "not configured" - User needs to set up ~/.config/mcs/config.toml
- "token expired" - Will auto-refresh, retry the command
- "vehicle not responding" - Vehicle may be in low-signal area
JSON Output
For programmatic access, add --json flag to status:
mcs status --json
1---2name: mcs-control3description: Control vehicle with natural language. Use when user wants to warm up/cool down the car, lock/unlock doors, start/stop engine, check battery/fuel/location/status, or control charging. Translates phrases like "warm up the car" into mcs CLI commands.4---5
6# MCS Vehicle Control Skill
7
8Translates natural language vehicle control requests into `mcs` CLI commands.
9
10## Command Mappings
11
12### Climate Control
13| Natural Language | Command |
14|------------------|---------|
15| "warm up the car", "heat the car", "turn on heating" | `mcs climate on` |
16| "cool down the car", "turn on AC", "start the AC" | `mcs climate on` |
17| "set temperature to X", "make it X degrees" | `mcs climate set --temp X` |
18| "turn off climate", "stop heating", "turn off AC" | `mcs climate off` |
19| "defrost the windshield", "turn on defrosters" | `mcs climate set --front-defroster` |
20
21### Door Locks
22| Natural Language | Command |
23|------------------|---------|
24| "lock the car", "lock the doors", "lock it" | `mcs lock` |
25| "unlock the car", "unlock the doors", "open the locks" | `mcs unlock` |
26
27### Engine Control
28| Natural Language | Command |
29|------------------|---------|
30| "start the car", "start the engine", "turn on the car" | `mcs start` |
31| "stop the engine", "turn off the car", "kill the engine" | `mcs stop` |
32
33### Charging (EV/PHEV)
34| Natural Language | Command |
35|------------------|---------|
36| "start charging", "charge the car", "plug it in" | `mcs charge start` |
37| "stop charging", "stop the charge" | `mcs charge stop` |
38
39### Status Queries
40| Natural Language | Command |
41|------------------|---------|
42| "what's the status", "show status", "how's the car" | `mcs status` |
43| "check the battery", "battery level", "how much charge" | `mcs status` (show battery section) |
44| "check fuel", "fuel level", "how much gas" | `mcs status` (show fuel section) |
45| "where is my car", "find my car", "car location" | `mcs status` (show location) |
46| "check tire pressure", "how are the tires" | `mcs status` (show tires section) |
47| "are the doors locked", "door status" | `mcs status` (show doors section) |
48
49## Execution Guidelines
50
511. **Run the command** using the Bash tool
522. **Show the output** to the user in a friendly format
533. **For control commands**, the CLI will confirm the action completed
544. **For status queries**, highlight the relevant information
55
56## Confirmation Flags
57
58Control commands support `--confirm` to wait for vehicle confirmation:
59- `--confirm` - Wait for vehicle to report state change (default: enabled)
60- `--confirm=false` - Don't wait for confirmation
61- `--confirm-wait 3m` - Custom timeout (default: 2 minutes)
62
63Use `--confirm` for important actions where the user wants to be sure it worked.
64
65## Examples
66
67### Example 1: Warming up the car
68User: "It's freezing, can you warm up the car?"
69```bash
70mcs climate on
71```
72
73### Example 2: Checking battery before a trip
74User: "How much battery do I have left?"
75```bash
76mcs status
77```
78Then show the battery level and range from the output.
79
80### Example 3: Securing the car
81User: "Lock the car and make sure it's locked"
82```bash
83mcs lock --confirm
84```
85
86### Example 4: Setting specific temperature
87User: "Set the car to 24 degrees"
88```bash
89mcs climate set --temp 24
90```
91
92## Error Handling
93
94- If the command fails, show the error message to the user
95- Common issues:
96 - "not configured" - User needs to set up ~/.config/mcs/config.toml
97 - "token expired" - Will auto-refresh, retry the command
98 - "vehicle not responding" - Vehicle may be in low-signal area
99
100## JSON Output
101
102For programmatic access, add `--json` flag to status:
103```bash
104mcs status --json
105```