[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6HV6NDNTR9QKMGR4FFQ6AW8":3,"skill-same:01M6HV6NDNTR9QKMGR4FFQ6AW8":71},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":41,"linkOnly":42,"markdownContent":43,"markdownBody":44,"frontMatter":45,"refName":48,"commitSha":49,"skillDirectory":50,"forksCount":51,"repositoryHtmlUrl":52,"repositoryHomepageUrl":53,"ownerHtmlUrl":54,"ownerBlogUrl":6,"ownerDescription":55,"updatedAt":56,"install":57,"resources":70},"01M6HV6NDNTR9QKMGR4FFQ6AW8","ha-snapshot-restore",null,"Capture the state of a set of Home Assistant entities (lights, covers, climate, switches) to a named artifact and restore it later via scene.apply. Use to make automation testing reversible — snapshot before a risky change, restore if it misbehaves. Restore of sensitive entities is gated by ha_safety_mode.","gtapps\u002Fhermitd","gtapps","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F16778396?v=4","01M6HTX8TNTPQN3NXRVA63VHTH","01M6HTX8Z23S531ZPPA5DKJVD0",85,"MIT","https:\u002F\u002Fgithub.com\u002Fgtapps\u002Fhermitd\u002Fblob\u002Fmain\u002Fplugins\u002Fhermitd-homeassistant\u002Fskills\u002Fha-snapshot-restore\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40],"ha snapshot restore","snapshot","ha","restore","later","home","entities","apply","mode","climate","via","artifact","gated","make automation","testing","use","read","Bash","Safety","SET","state","change","automation","2026-11-10 10:12:30",false,"---\nname: ha-snapshot-restore\ndescription: Capture the state of a set of Home Assistant entities (lights, covers, climate, switches) to a named artifact and restore it later via scene.apply. Use to make automation testing reversible — snapshot before a risky change, restore if it misbehaves. Restore of sensitive entities is gated by ha_safety_mode.\nallowed-tools:\n  - Bash\n  - Read\n---\n\n# HA Snapshot \u002F Restore\n\n## Purpose\n\nMake changes reversible: capture an entity set's current state before testing a new automation or applying a risky change, then restore those exact states if it misbehaves. Capture is read-only; restore actuates devices in one `scene.apply` call.\n\n## Capture (read-only)\n\n```\n${CLAUDE_PLUGIN_ROOT}\u002Fbin\u002Fha-agent-lab ha snapshot-states --name \u003Clabel> [--domains light,cover,climate,switch] [--entities \u003Cid> ...]\n```\n\n- `--name` labels the snapshot (default `snapshot`); it becomes part of the artifact filename.\n- `--domains` selects which domains to capture (comma-separated; default `light,cover,climate,switch`).\n- `--entities` captures an explicit list instead of whole domains.\n- Writes `.hermit\u002Fraw\u002Fsnapshot-ha-states-\u003Clabel>-latest.json` (plus a timestamped copy). Only restore-relevant attributes are stored.\n\n## Restore (actuation — gated)\n\n```\n${CLAUDE_PLUGIN_ROOT}\u002Fbin\u002Fha-agent-lab ha restore-states \u003Cartifact>\n```\n\nRestore is the plugin's one direct device-actuation path, so it runs through the same `ha_safety_mode` policy as every other actuation:\n\n- **strict (explicit):** if the snapshot contains any sensitive entity (lock, alarm, security-keyworded cover\u002Fswitch), restore is **blocked**: the CLI prints `{\"status\":\"blocked\",\"reason\":\"strict_mode\",...}` listing the `sensitive` entities; surface it as a proposal. Non-sensitive entities (lights, climate) restore normally.\n- **ask:** show the affected entities before restoration; Claude Code requests native approval for sensitive targets before the command executes.\n- A successful restore writes an audit report under `.hermit\u002Fraw\u002Faudit-ha-restore-*`.\n\n## Output contract\n\nCapture prints `{ name, captured, entities, report_path }`.\n\nRestore prints `{ applied, entities, sensitive, report_path }`, or a status with exit 0: `{\"status\":\"blocked\",\"reason\":\"strict_mode\"}` or `{\"status\":\"empty\",\"reason\":\"no_entities\"}`.\n\n## Failure modes\n\n- HA unreachable or erroring: the CLI prints `{\"error\":\"ha_unreachable:\u003Cdetail>\"}` or `{\"error\":\"ha_http_\u003Cstatus>:\u003Cdetail>\"}` and exits 1. An unreadable snapshot file prints `{\"error\":\"snapshot_unreadable:\u003Cdetail>\"}`.\n- A snapshot with no matching entities: capture reports `captured: 0`; restore reports `status: \"empty\"`.\n- Restore replays state + captured attributes via `scene.apply`; for cover position and climate setpoints the result depends on what HA's scene integration can reproduce — verify the outcome rather than assuming an exact match.\n","# HA Snapshot \u002F Restore\n\n## Purpose\n\nMake changes reversible: capture an entity set's current state before testing a new automation or applying a risky change, then restore those exact states if it misbehaves. Capture is read-only; restore actuates devices in one `scene.apply` call.\n\n## Capture (read-only)\n\n```\n${CLAUDE_PLUGIN_ROOT}\u002Fbin\u002Fha-agent-lab ha snapshot-states --name \u003Clabel> [--domains light,cover,climate,switch] [--entities \u003Cid> ...]\n```\n\n- `--name` labels the snapshot (default `snapshot`); it becomes part of the artifact filename.\n- `--domains` selects which domains to capture (comma-separated; default `light,cover,climate,switch`).\n- `--entities` captures an explicit list instead of whole domains.\n- Writes `.hermit\u002Fraw\u002Fsnapshot-ha-states-\u003Clabel>-latest.json` (plus a timestamped copy). Only restore-relevant attributes are stored.\n\n## Restore (actuation — gated)\n\n```\n${CLAUDE_PLUGIN_ROOT}\u002Fbin\u002Fha-agent-lab ha restore-states \u003Cartifact>\n```\n\nRestore is the plugin's one direct device-actuation path, so it runs through the same `ha_safety_mode` policy as every other actuation:\n\n- **strict (explicit):** if the snapshot contains any sensitive entity (lock, alarm, security-keyworded cover\u002Fswitch), restore is **blocked**: the CLI prints `{\"status\":\"blocked\",\"reason\":\"strict_mode\",...}` listing the `sensitive` entities; surface it as a proposal. Non-sensitive entities (lights, climate) restore normally.\n- **ask:** show the affected entities before restoration; Claude Code requests native approval for sensitive targets before the command executes.\n- A successful restore writes an audit report under `.hermit\u002Fraw\u002Faudit-ha-restore-*`.\n\n## Output contract\n\nCapture prints `{ name, captured, entities, report_path }`.\n\nRestore prints `{ applied, entities, sensitive, report_path }`, or a status with exit 0: `{\"status\":\"blocked\",\"reason\":\"strict_mode\"}` or `{\"status\":\"empty\",\"reason\":\"no_entities\"}`.\n\n## Failure modes\n\n- HA unreachable or erroring: the CLI prints `{\"error\":\"ha_unreachable:\u003Cdetail>\"}` or `{\"error\":\"ha_http_\u003Cstatus>:\u003Cdetail>\"}` and exits 1. An unreadable snapshot file prints `{\"error\":\"snapshot_unreadable:\u003Cdetail>\"}`.\n- A snapshot with no matching entities: capture reports `captured: 0`; restore reports `status: \"empty\"`.\n- Restore replays state + captured attributes via `scene.apply`; for cover position and climate setpoints the result depends on what HA's scene integration can reproduce — verify the outcome rather than assuming an exact match.\n",{"name":5,"description":7,"allowed-tools":46},[35,47],"Read","main","79e254360ba999b70a827541bbcfd2d4cc525992","plugins\u002Fhermitd-homeassistant\u002Fskills\u002Fha-snapshot-restore",16,"https:\u002F\u002Fgithub.com\u002Fgtapps\u002Fhermitd","https:\u002F\u002Fhermitd.dev","https:\u002F\u002Fgithub.com\u002Fgtapps","Software engineer from Portugal.\r\nBuilding and deploying agents for real companies.","2026-11-15 03:26:28",{"source":8,"skillName":5,"commands":58,"prompt":68,"zipAvailable":69},[59,62,65],{"tool":60,"command":61},"npx","npx skills add gtapps\u002Fhermitd --skill ha-snapshot-restore",{"tool":63,"command":64},"bunx","bunx skills add gtapps\u002Fhermitd --skill ha-snapshot-restore",{"tool":66,"command":67},"pnpm","pnpm dlx skills add gtapps\u002Fhermitd --skill ha-snapshot-restore","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fgtapps\u002Fhermitd\u002Fblob\u002Fmain\u002Fplugins\u002Fhermitd-homeassistant\u002Fskills\u002Fha-snapshot-restore\u002FSKILL.md",true,[],[72,80,95,110,135,151],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":79},"01M764SQEZ58RFPJC4T31WZ8P0","task-decide","Record the operator's typed task decision.","https:\u002F\u002Fgithub.com\u002Fgtapps\u002Fhermitd\u002Fblob\u002Fmain\u002Fplugins\u002Fhermitd\u002Fskills\u002Ftask-decide\u002FSKILL.md",[],[],"2026-11-12 13:55:43",{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":41},"01M718AB18DTYHVGXA6VF1VVR2","dream","Nightly memory maintenance from transcript ground truth. Verifies, enriches and tidies auto-memory and topic pages with snapshot validation and undo. Also handles 'undo the dream'.","https:\u002F\u002Fgithub.com\u002Fgtapps\u002Fhermitd\u002Fblob\u002Fmain\u002Fplugins\u002Fhermitd\u002Fskills\u002Fdream\u002FSKILL.md",[],[82,87,88,89,90,91,19,92,93,94],"transcript","with","maintenance","memory","validation","pages","auto","memory maintenance",{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":41},"01M6HVD4WX8RB5EKH49HM66M8X","when-done-switch-to","Arm a deferred model or effort switch. Use for \"when done switch to\", \"after this drop to sonnet\", or \"switch model when idle\".","https:\u002F\u002Fgithub.com\u002Fgtapps\u002Fhermitd\u002Fblob\u002Fmain\u002Fplugins\u002Fhermitd\u002Fskills\u002Fwhen-done-switch-to\u002FSKILL.md",[],[102,103,104,105,106,107,33,108,109],"when","done","switch","when done switch to","model","for","drop","sonnet",{"skillNo":111,"name":112,"nameZh":6,"description":113,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":114,"categories":115,"keywords":116,"publishedAt":41},"01M6HVD0ZA2Q1RD7CA0X8VWF3T","weekly-review","Generate the weekly review report for the current ISO week. Writes to .hermit\u002Fcompiled\u002Freview-weekly-YYYY-Www.md (dev-facing detail) and sends a plain-language channel summary (Delivered \u002F Decisions \u002F Waiting on you \u002F Spend). Runs every Sunday at 23:00 via routine.","https:\u002F\u002Fgithub.com\u002Fgtapps\u002Fhermitd\u002Fblob\u002Fmain\u002Fplugins\u002Fhermitd\u002Fskills\u002Fweekly-review\u002FSKILL.md",[],[117,118,119,120,121,122,123,124,125,107,126,127,128,129,130,131,132,28,133,134],"weekly review","review","weekly","plain","routine","channel","hermit","summary","report","iso","review report","dev","plain-language","detail","you","decisions","generate","at",{"skillNo":136,"name":137,"nameZh":6,"description":138,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":139,"categories":140,"keywords":141,"publishedAt":41},"01M6HVCW8PHZXSPYAZQBZXB9DX","watch","Background events via the config watch monitor or ad-hoc Monitor tool. Quiet watches cost zero tokens.","https:\u002F\u002Fgithub.com\u002Fgtapps\u002Fhermitd\u002Fblob\u002Fmain\u002Fplugins\u002Fhermitd\u002Fskills\u002Fwatch\u002FSKILL.md",[],[137,142,143,144,145,146,147,148,149,150,28],"events","ZeRO","tokens","tool","monitor","cost","ad","config","background",{"skillNo":152,"name":153,"nameZh":6,"description":154,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":155,"categories":156,"keywords":157,"publishedAt":41},"01M6HVCRMG53K3Y63WAH59YVFJ","watch-activate","Activate the config watch monitor.","https:\u002F\u002Fgithub.com\u002Fgtapps\u002Fhermitd\u002Fblob\u002Fmain\u002Fplugins\u002Fhermitd\u002Fskills\u002Fwatch-activate\u002FSKILL.md",[],[158,159,137,146,149],"activate","watch activate"]