agentleFS
vzakusylovzakusylo/victron/.claude/skills/victron-status/SKILL.md

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.

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
  1. Distinctive:

    Ask the user for the MCP token before any call, every time this skill runs, unless the user already gave it in this conversation.

    line 13
  2. Very specific:

    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 …

    line 15
  3. Very specific:

    Default endpoint https://venus.local:1881/mcp.

    line 21
  4. Distinctive:

    Use the language the user wrote in.

    line 62

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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_TOKEN environment 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_TOKEN

Bash:

MCP_TOKEN='<token>' node .claude/skills/victron-status/mcp-call.mjs get_system_overview get_capacity_tariff get_bms_watchdog get_battery_driver_status

Pick the tools for the question (list prints all of them):

QuestionTools
general status / "how is it doing"get_system_overview, get_capacity_tariff, get_bms_watchdog, get_battery_driver_status
grid tier / kapasitetsledd / kWh todayget_capacity_tariff, get_energy_today
battery, BMS, driver, alarmsget_battery_driver_status, get_bms_watchdog
Cerbo CPU / memory / disk / servicesget_device_status
solarget_solar_forecast, get_energy_today
settings / constantsget_settings
backupslist_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 (monthFitsTier false = 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 ageSeconds if data is older than a few minutes

Use the language the user wrote in.

Errors

MessageMeaning / what to tell the user
401 Unauthorizedwrong 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
503MCP server disabled - enable it on the Agent (MCP) page
ENOTFOUND / timeoutthis 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 fileexport the certificate again (Agent (MCP) page notes) or use --insecure once

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.