DB teslamate-deploy
This skill should be used when the user wants to install or deploy TeslaMate (a self-hosted Tesla vehicle data logger + Grafana dashboard) on a local machine or a remote Linux server. Triggers include requests like "install TeslaMate", "deploy TeslaMate", "装 teslamate", "部署 teslamate", "在云服务器上跑个 teslamate", or "set up a Tesla data logger". The skill handles target selection, pre-flight checks, running the bundled deploy scripts, post-install health checks, and producing a user-facing usage document.
This skill should be used when the user wants to install or deploy TeslaMate (a self-hosted Tesla vehicle data logger + Grafana dashboard) on a local machine…
As a process B 66/100 · Nearly there — weak spots: result and completion, inputs and preconditions
What is at stake
Medium-severity findings: the skill is probably honest, but read what alarmed the scanner.
Below is the worst case for this category. The finding here is medium: the guard saw a sign, not a proof.
The skill contains commands that delete files, rewrite disks or execute code fetched from the network. The agent may run them without asking if it believes the instructions require it.
Replace destructive commands with safe equivalents that ask for confirmation, scope them to one folder, and stop piping curl into a shell: pin a version and a checksum.
How to improve
- Your own cases (evals/evals.json, 4–6 real requests with expected answers): the full check would then run those instead of a model-drafted suite.
- A spec.yaml with trigger phrases and assertions — a behaviour contract for CI; `skilltest init` writes a template.
Guard findings · 14
✓ No critical or high findings
Medium and low: 14
-
medium Dangerous commands
cmd-privilegereferences/troubleshooting.md:54Privilege escalation / world-writable permissionssudo rm /var/lib/dpkg/lock-frontend /var/lib/dpkg/lock /var/cache/apt/archives/lock 2>/dev/null
-
medium Dangerous commands
cmd-privilegereferences/troubleshooting.md:68Privilege escalation / world-writable permissionsecho "nameserver 1.1.1.1" | sudo tee /etc/resolv.conf
-
medium Dangerous commands
cmd-privilegereferences/troubleshooting.md:107Privilege escalation / world-writable permissionssudo tee /etc/docker/daemon.json > /dev/null << 'EOF'
-
medium Dangerous commands
cmd-privilegereferences/troubleshooting.md:145Privilege escalation / world-writable permissionssudo chmod 644 /tmp/pg17.tar # let non-sudo scp read it
-
medium Dangerous commands
cmd-privilegescripts/deploy-setup.sh:166Privilege escalation / world-writable permissionsecho "precedence ::ffff:0:0/96 100" | sudo tee -a /etc/gai.conf >/dev/null
-
medium Dangerous commands
cmd-privilegescripts/deploy-setup.sh:213Privilege escalation / world-writable permissionssudo tee /etc/docker/daemon.json > /dev/null << DOCKER_CONFIG
-
medium Dangerous commands
cmd-privilegescripts/deploy-setup.sh:222Privilege escalation / world-writable permissionssudo tee /etc/docker/daemon.json > /dev/null << 'DOCKER_CONFIG'
-
medium Dangerous commands
cmd-privilegescripts/install-teslamate.sh:75Privilege escalation / world-writable permissionssudo tee /etc/docker/daemon.json > /dev/null << DOCKER_CONFIG
-
medium Dangerous commands
cmd-privilegescripts/install-teslamate.sh:83Privilege escalation / world-writable permissionssudo tee /etc/docker/daemon.json > /dev/null << 'DOCKER_CONFIG'
-
medium Dangerous commands
cmd-privilegescripts/install-teslamate.sh:92Privilege escalation / world-writable permissionsecho "precedence ::ffff:0:0/96 100" | sudo tee -a /etc/gai.conf >/dev/null
-
low Dangerous commands
cmd-privilegereferences/troubleshooting.md:77Privilege escalation / world-writable permissions (quoted — discussed, not commanded)- Or configure passwordless sudo: `echo "$USER ALL=(ALL) NOPASSWD:ALL" | sudo tee /etc/sudoers.d/$USER`
quoted -
low Exfiltration
read-dotenvreferences/troubleshooting.md:324Reads a .env filecat ~/teslamate/.env # 远程是 /home/ubuntu/teslamate/.env
-
low Dangerous commands
cmd-background-processscripts/deploy-setup.sh:231Starts a background / autostarted processsudo systemctl enable docker
-
low Dangerous commands
cmd-background-processscripts/install-teslamate.sh:119Starts a background / autostarted processsudo systemctl enable docker
Files scanned: 7. Evidence is masked. Grey chips explain why severity was lowered.
Against the Agent Skills spec
- note
frontmatter-keyunknown frontmatter key "agent_created" - note
edit-residuethe text marks something as outdated (lines 173): check that old rules are not kept next to new ones — the full check reads the text for contradictions
Process rating: all ten parameters 66/100
- 0Result and completion. Does not say what the result is
- 0Inputs and preconditions. Does not say what the process needs to start
- 60Tools and files. Uses tools (bash, web, git, node) that frontmatter does not declare
- 85Steps. 42 steps, 1 vague phrases
- 100When it triggers. States when to use and when not to
- 100Failures and branches. 5 branches, has a failure section
- 100Consistency. Name and required fields are in place
- 100Execution cost. Instruction body is 3213 tokens
- 100Running it twice. Mutating operations check current state
- 100Progress reporting. Reports progress
Everything here is measured from the skill text rather than judged by a model, so the numbers are checkable. A parameter weighs more when it is a more common reason for the process to stall.
Quality signals
- +3Output format is not stated: the model decides each time
- -2localhost URLs: will not work for another user
- +1No license
- +2Single-language instructions
- +5Description quotes 6 example trigger phrases
- +4Description says when NOT to use the skill
- +3Description length 504: enough signal without eating the budget
- +4Structure: 18 headings
- +3Step-by-step instructions: 42 items
- +4Has examples (8 code blocks)
- +4Reference files are cited in the instructions (1 of 1)
- +3All 2 scripts are documented
Quality base 70; lint remarks subtract, signals add up to 100. Result: 97.