Token导航 LogoToken导航TokenDH.com
研究检索执行命令clawhub未标认证来源可访问clear审计提醒

haos-ssh-maintenancehaos ssh 维护

Agent Skill

haos-ssh-maintenance 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

2,521

周安装

103

GitHub Stars

公开资料未说明

下载量

816
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:haos-ssh-maintenance(haos ssh 维护)
来源仓库:https://github.com/nextaltair/haos-ssh-maintenance
安装命令:
openclaw skills install haos-ssh-maintenance
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install haos-ssh-maintenance

简介

通过 SSH 执行 Home Assistant 系统维护。

  • 支持 YAML 编辑、组件检查与 shell 故障排查。
  • 提供交互式 ha CLI 操作接口。
  • 需具备 SSH 连接权限与配置文件访问权。
  • 操作前建议备份关键数据以防误改。haos-ssh-maintenance 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

name
haos-ssh-maintenance
description
Use when Home Assistant OS needs SSH-based maintenance that cannot be completed cleanly through the Home Assistant API alone. Prefer API-first investigation for states, history, logbook, and routine automation checks; use this skill when direct filesystem access, YAML edits, custom_components inspection, HAOS shell troubleshooting, or interactive ha CLI work is required. Distinguish one-shot SSH commands from interactive SSH sessions: ha commands such as ha core logs may work only inside an interactive PTY-backed SSH session.

HAOS SSH Maintenance

Use SSH only when API-based inspection is not enough.

Default posture

Prefer the Home Assistant API first for:

  • entity state inspection
  • history and logbook
  • automation listing, enable/disable, and trigger
  • service-level testing

Switch to SSH when:

  • files under /config need reading or editing
  • YAML definitions must be inspected directly
  • custom_components must be inspected
  • shell-level troubleshooting is required
  • ha CLI work is needed

Use the SSH target stored in TOOLS.md.

Common HAOS paths

  • /config
  • /config/configuration.yaml
  • /config/automations.yaml
  • /config/scripts.yaml
  • /config/scenes.yaml
  • /config/custom_components/
  • /config/home-assistant_v2.db

Logs

Do not assume Home Assistant writes logs to a file by default.

Check logs in this order:

  1. Home Assistant UI logs when the issue is visible there
  2. interactive ha CLI log access such as ha core logs
  3. Supervisor or container-side logs when available
  4. file-based logs only if the environment explicitly enables them

Observed behavior for this environment:

  • ha core logs may fail in one-shot SSH mode
  • ha core logs works in an interactive PTY-backed SSH session

Workflow

  1. Decide whether the task is one-shot SSH or interactive SSH.
  2. Start read-only.
  3. Identify the smallest affected file or command path.
  4. Explain the intended change before risky edits.
  5. Edit minimally.
  6. Verify surrounding context after the change.
  7. Prefer reload over full restart when possible.
  8. Report exactly what changed.

Home Assistant YAML pitfalls

When editing Home Assistant automations or packages by hand:

  • In automation YAML, use service: to call a service such as shell_command.foo or light.turn_on.
  • Do not write action: shell_command.foo in YAML automations. That produces an unknown action error in this environment.
  • action is the UI/schema concept for a step in the actions list, but in hand-written YAML the concrete service call key should be service:.
  • After editing automation/package YAML, reload both core config and automations when possible, then validate by triggering the automation once.

SSH modes

One-shot SSH

Use one-shot SSH commands for:

  • reading files under /config
  • grepping YAML or custom component code
  • listing directories
  • small targeted edits
  • quick environment inspection

One-shot SSH is appropriate for commands like:

  • cat
  • grep
  • sed
  • find
  • ls

Do not assume ha CLI commands will work in one-shot mode.

Interactive SSH

Use an interactive PTY-backed SSH session for:

  • ha core logs
  • other ha CLI commands that fail in one-shot mode
  • shell flows that require a login session or interactive context

When running from OpenClaw, prefer a PTY-backed exec session and then send commands into the live SSH shell.

Investigation order

Automation problems

  1. API logbook and history
  2. /config/automations.yaml
  3. /config/scripts.yaml
  4. relevant Home Assistant or Supervisor logs

Naming or entity-origin confusion

  1. API-visible attributes and registry-derived metadata
  2. YAML definitions under /config
  3. template, MQTT, REST, command_line, utility_meter, and custom component definitions

Integration or startup failures

  1. relevant Home Assistant or Supervisor logs
  2. referenced YAML blocks
  3. custom_components if relevant

Change boundaries

Use SSH for:

  • YAML edits
  • package edits
  • custom_components inspection
  • interactive ha CLI log inspection
  • Supervisor or container-side log inspection
  • shell-level checks
  • targeted .storage inspection or edits when UI/registry-backed state must be changed directly

Do not use SSH first for:

  • normal state checks
  • routine entity discovery
  • simple automation enable/disable/trigger actions

.storage direct-edit policy

Home Assistant internal storage under /config/.storage/ can be edited when necessary, including files such as:

  • /config/.storage/core.entity_registry
  • /config/.storage/core.device_registry
  • /config/.storage/core.config_entries

Rules:

  • Treat .storage edits as a last-resort or targeted-operation path, not the default first move.
  • Back up the exact file before every edit.
  • Prefer the smallest possible change to a specific entity/device/config entry.
  • Expect UI names to live in core.entity_registry; YAML friendly_name overlays can override what the UI shows.
  • Be aware of writeback/refresh timing: changes may not appear immediately and may require reload or restart.
  • Avoid broad rewrites of .storage JSON unless explicitly necessary.
  • Report both the file path edited and the rollback path created.

Safety

  • Read before editing.
  • Change the smallest possible region.
  • Avoid broad rewrites when a targeted edit is enough.
  • Ask before changing behavior that affects locks, alarms, access control, or physical entry.

Reporting

When using this skill, report:

  • what path was inspected
  • what was found
  • what changed, if anything
  • whether reload or restart is needed

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

76.61%
按下载量换算625

安全审计

VirusTotal

可疑

ClawScan

通过

Static analysis

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 openclaw skills install haos-ssh-maintenance 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills