Show a proposed change to a live system outside Git as a diff for approval before applying it, then snapshot, apply, read back and keep a rollback record. Use before every write to an external server, service or device, such as Home Assistant automations, scripts, helpers, entity or device settings (ha-bridge or the API), device web APIs like WLED or ESPHome, servers over SSH, containers, databases or cloud APIs, and when asked what was changed there. Not for calling actions that only operate devices, such as turning a light on.
Ships in timmo. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Changes made through an API, a shell on another host or a web console leave no Git history. Keep one in a scratch repository so the user can approve exactly what will change before it happens, then review what the system stored and roll it back, the same way as a code change.
Use it for every write to the configuration or settings of an external system, however small, including a single setting on one device. Skip it for read-only work, for calling actions that only operate devices (turning a light on, running a script, pressing a button), and for changes that land in a Git checkout: those go through the normal review, such as change-review-handoff.
A request to make a change ("set X", "make an automation that...") authorises the change, not skipping its review. Skip the proposal round only when the user says so for this change.
Make one per task, outside any real repository, before the first change. In OpenCode use /tmp/opencode/remote-changes/<date>-<slug>.
git init -q <dir>
git -C <dir> commit -q --allow-empty -m "Start"
Run every Git command against the scratch repository as git -C <dir> ... with the full path, as written in this skill. These commits never leave the scratch repository, so a permission config can allow exactly these forms for that directory without allowing real commits.
Lay files out by system, then by what they are, with names the user would recognise: home-assistant/automations/washing_machine_is_done.yaml, wled/office.json, nas/etc/nginx/sites-enabled/default, router/firewall-rules.txt.
Before proposing a change to each target, read it from the live system and commit just that file:
git -C <dir> add <path>
git -C <dir> commit -q -m "Before: <target>" -- <path>
ssh host cat <path>, systemctl cat <unit>, crontab -l, a SELECT with an ORDER BY. Write Home Assistant automations and scripts as YAML, the form the user edits them in. Reconstructing the config afterwards from earlier output is error-prone.key: value lines in one text file per kind, for example home-assistant/entity-registry.txt with sensor.x_cpu_percent: disabled by integration, or wled/tx-power.txt with office (192.168.1.92): 8.5 dBm. Capture only the items you are about to touch.<redacted> so both sides still match.Write the intended "after" into the working tree, without touching the live system:
git -C <dir> add -N <path> so they show in the diff. Deleted targets: remove the file.validate_entity_config for automations and scripts.git -C <dir> diff): every hunk should be a change you mean, with no unredacted secrets.git -C <dir> diff --output=<dir>-<n>.diff, numbered per round and never overwritten.plannotator tool's review action with target set to the scratch directory and gate: true (or plannotator review run there). Report it in the Inbox when available and in chat with a link, the patch file, the targets with a short summary of the main hunks, and a Stopped: line, then end the turn.Apply nothing until the user approves. Feedback means revising the working tree, rewriting that round's patch file and reopening the review.
Apply the approved change with the system's own tool. Then read every target back from the live system with the same command as the snapshot and overwrite the file. Don't keep the file you proposed: the read-back shows what the system actually stored, including its own formatting and validation, and is the proof the change applied.
If the read-back differs from the approved proposal, show git -C <dir> diff against what was approved and say so; that is a finding, not noise. Some systems apply asynchronously (a config reload, a device reboot): read again once it has settled before calling it different.
Report the result, in the Inbox when available and in chat: the targets changed, that the read-back matched (or how it differed), and how to roll back. Then commit the "after" side so the next round shows only the new change:
git -C <dir> add -A
git -C <dir> commit -q -m "After: <what changed>"
When the system is managed from a repository (dotfiles, infrastructure code), offer to carry the change there so the next deploy doesn't undo it.
The full history stays in the scratch repository. When the user asks for the whole task's changes in one diff, combine them: for each target, diff its first "Before" commit against the current state, git -C <dir> diff <before-commit> -- <path>, or concatenate the round patch files.
git -C <dir> show <before-commit>:<path> prints a target's "before". Apply it through the system's own tool, then read the target back again and confirm it matches. A target that was created has no "before"; delete it instead.
When asked what changed on a system in an earlier task, start from that task's scratch repository and patch files.
What SKILL.md sets; muted values are Claude Code's defaults
/timmo:remote-change-difffrom timmo
npx claudepluginhub timmo001/skills --plugin timmo55 skills in this plugin
/agentic-workflowsDesign, create, update, debug, audit, or upgrade GitHub Agentic Workflows with the `gh aw` extension. Use when work involves workflow Markdown, compiled `.lock.yml` files, agent engines, MCP tools, safe outputs, work queues, scheduled memory consolidation, local SDLC issue bootstrap, or `gh aw` commands./asking-questionsDecide when to ask the user a question and how to present it. Use before any clarifying question, choice, or confirmation, whether through the Plannotator Inbox or in chat, and to decide whether to hold questions until findings are presented or divert to grilling; do not use to run light or full grilling rounds./broRe-pitch the immediately preceding response with enough context to follow, using plain, concise, unambiguous language. Use ONLY when the user explicitly invokes /bro or says the previous response did not land.Other plugins' skills for the same job