victron-status
Skill4 starsChanged 13 days agoMITView on GitHub
Read the live status of the Victron Cerbo GX system (battery, grid import, capacity-tariff tier, BMS/driver health, MultiPlus state, device health) through the Node-RED MCP server. Use when the user asks how the battery / system / Victron / GX is doing, whether they stay within the grid tier, about BMS or driver problems, alarms, or for a status report. Always asks the user for the MCP token first.
In this repository10 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- claude-review-tokenSkill
- deploy-gxSkill
- gx-camera-keySkill
- gx-reachSkill
- loop-tokenSkill
- ship-prSkill
- test-gx-localSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 13
Ask the user for the MCP token before any call, every time this skill runs, unless the user already gave it in this conversation.
- Very specific: line 15
Do not look for the token in files or configs (not in ~/.claude.json, not on the device), do not write it to any file, and do not repeat it …
- Very specific: line 21
Default endpoint https://venus.local:1881/mcp.
- Distinctive: line 62
Use the language the user wrote in.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Victron system status (via the Node-RED MCP server)
The Cerbo GX runs an MCP server inside Node-RED (32 MCP server.js). This skill calls it with
mcp-call.mjs (next to this file) and summarises the result. All tools are read-only.
1. Ask for the token first
- Ask the user for the MCP token before any call, every time this skill runs, unless the user already gave it in this conversation. It is shown on the dashboard page Agent (MCP) (button "Copy token").
- Do not look for the token in files or configs (not in
~/.claude.json, not on the device), do not write it to any file, and do not repeat it back in your answer. - Pass it only through the
MCP_TOKENenvironment variable of the command.
2. Call the server
Default endpoint https://venus.local:1881/mcp; the GX self-signed certificate is trusted through
~/.claude/victron-gx.pem (the certificate is issued to venus.local, so use that name, not the IP).
PowerShell:
$env:MCP_TOKEN = '<token>'; node .claude/skills/victron-status/mcp-call.mjs get_system_overview get_capacity_tariff get_bms_watchdog get_battery_driver_status; Remove-Item Env:MCP_TOKENBash:
MCP_TOKEN='<token>' node .claude/skills/victron-status/mcp-call.mjs get_system_overview get_capacity_tariff get_bms_watchdog get_battery_driver_statusPick the tools for the question (list prints all of them):
| Question | Tools |
| general status / "how is it doing" | get_system_overview, get_capacity_tariff, get_bms_watchdog, get_battery_driver_status |
| grid tier / kapasitetsledd / kWh today | get_capacity_tariff, get_energy_today |
| battery, BMS, driver, alarms | get_battery_driver_status, get_bms_watchdog |
| Cerbo CPU / memory / disk / services | get_device_status |
| solar | get_solar_forecast, get_energy_today |
| settings / constants | get_settings |
| backups | list_backups |
get_battery_driver_status and get_device_status trigger a fresh check on the GX; the script waits
and re-reads them automatically when needed.
3. Answer
Lead with the verdict (all fine / what is wrong), then the numbers that matter:
- window, battery voltage, grid / AC load / PV power, grid setpoint, charge current, input current limit
- tariff: season and tier, kWh today, kWh left today, today's billable peak, month top-3 average and tier
(
monthFitsTierfalse = heading above the season tier) - driver/BMS: every check that is not
ok(warn/bad), cell spread, active alarms, MultiPlus state (8 = Passthru is a problem), active BMS empty = DVCC "Controlling BMS" lost - mention
ageSecondsif data is older than a few minutes
Use the language the user wrote in.
Errors
| Message | Meaning / what to tell the user |
401 Unauthorized | wrong or regenerated token - ask for the current one |
403 Forbidden - No session… | a VRM relay URL was used; agents must use the LAN / VPN address |
503 | MCP server disabled - enable it on the Agent (MCP) page |
ENOTFOUND / timeout | this computer is not on the GX network - use the home LAN or Tailscale (--url https://<tailscale-ip>:1881/mcp --insecure, the certificate name will not match an IP) |
No CA file | export the certificate again (Agent (MCP) page notes) or use --insecure once |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

