← 返回 Skills 市场
33
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install linux-systemd-doctor
功能描述
Diagnose and fix failed Linux systemd services. Check service status, read journalctl logs, analyze unit files, fix dependencies, port conflicts, and permiss...
使用说明 (SKILL.md)
Linux systemd Doctor
Troubleshoot and fix broken systemd services.
Quick Diagnosis
# Check service status
systemctl status SERVICE --no-pager -l
# View full journal
journalctl -u SERVICE -n 100 --no-pager
# Follow live logs
journalctl -u SERVICE -f
Common Fixes
Service won't start
- Check syntax
systemctl cat SERVICE - View full error
journalctl -u SERVICE -n 50 --no-pager -x - Test the ExecStart command directly
- Check ExecStartPre failures
- Verify file permissions on all referenced paths
Service keeps restarting (Restart=always loop)
# Stop the restart loop
systemctl stop SERVICE
# Check the actual error
journalctl -u SERVICE -n 200 --no-pager
# Temporary fix: set Restart=no to debug
systemctl edit SERVICE
# Add:
# [Service]
# Restart=no
Service File Reference
| Directive | Purpose |
|---|---|
| ExecStart | Main command |
| ExecStartPre | Pre-start checks |
| ExecReload | Reload command |
| Restart=on-failure | Auto-restart strategy |
| RestartSec=5 | Wait time between restarts |
| StartLimitIntervalSec=60 | Rate limiting |
| User= | Unprivileged user |
| WorkingDirectory= | CWD for service |
| Environment= | Env variables |
| LimitNOFILE= | File descriptor limit |
Port Conflict Check
# Check if service port is occupied
systemctl cat SERVICE | grep -i port
ss -tlnp | grep ":\x3CPORT> "
安全使用建议
Review this skill before enabling it for an agent with shell or sudo access. It is suitable for systemd troubleshooting, but require the agent to ask before stopping services or editing unit overrides, and make sure it provides a clear rollback plan.
功能分析
Type: OpenClaw Skill
Name: linux-systemd-doctor
Version: 1.0.0
The skill bundle provides standard administrative commands (systemctl, journalctl, ss) for troubleshooting Linux systemd services. The instructions in SKILL.md are well-aligned with the stated purpose of diagnosing service failures and do not contain any indicators of malicious intent, data exfiltration, or prompt injection attacks.
能力评估
Purpose & Capability
The commands match the stated purpose of diagnosing and fixing failed systemd services, including status checks, journal review, port checks, and service-file inspection.
Instruction Scope
The guide includes state-changing service operations such as stopping a service and editing its restart behavior, but it does not explicitly require user confirmation, backups, or rollback steps before making those changes.
Install Mechanism
This is an instruction-only skill with no install spec, no code files, and no static scan findings.
Credentials
The skill is Linux/systemd-specific and the instructions are aligned with that environment; there is no evidence of unrelated environment access.
Persistence & Privilege
Using systemctl edit can create persistent systemd override configuration, and service control/editing may require administrative privileges. The skill does not describe containment or how to revert the override.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install linux-systemd-doctor - 安装完成后,直接呼叫该 Skill 的名称或使用
/linux-systemd-doctor触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: diagnose and fix systemd services
元数据
常见问题
Linux systemd Doctor 是什么?
Diagnose and fix failed Linux systemd services. Check service status, read journalctl logs, analyze unit files, fix dependencies, port conflicts, and permiss... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 33 次。
如何安装 Linux systemd Doctor?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install linux-systemd-doctor」即可一键安装,无需额外配置。
Linux systemd Doctor 是免费的吗?
是的,Linux systemd Doctor 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Linux systemd Doctor 支持哪些平台?
Linux systemd Doctor 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Linux systemd Doctor?
由 new(@laolaoqi)开发并维护,当前版本 v1.0.0。
推荐 Skills