安排延迟重启本 Agent 所在的服务(jiuwenclaw app)。执行后当前 Agent 进程会被终止并重新启动,当前会话会断开。用于用户要求重启、配置更新需生效、或服务异常需重载时。使用 bash 调用脚本。
64
76%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Fix and improve this skill with Tessl
tessl review fix ./jiuwenclaw/jiuwenclaw/resources/agent/jiuwenclaw_workspace/skills/delayed-restart-app/SKILL.md本 skill 会重启 Agent 自身所在的服务进程(jiuwenclaw app)。执行后 Agent 进程将被终止并重新拉起,当前会话会断开,新连接将连到新进程。
当用户要求「重启服务」「重启 app」「重启 Agent」「配置已更新需重启」或类似需求时,使用 bash 执行本 skill 下的脚本。
本 skill 目录下包含 launch_delayed_restart.py,以 detached 方式启动 jiuwenclaw.scripts.delayed_restart_app。
使用 bash 工具执行(必须使用 launcher,否则重启时会连同脚本一起被终止):
python %USERPROFILE%\.jiuwenclaw\agent\skills\delayed-restart-app\launch_delayed_restart.py --pid <当前 app 的 PID> --delay 5(Unix/macOS 使用:python ~/.jiuwenclaw/agent/skills/delayed-restart-app/launch_delayed_restart.py --pid <PID> --delay 5)
--pid:必填,当前 jiuwenclaw app 进程的 PID(执行前需先获取,如从 config 或通过 tasklist/pgrep 等命令)--delay 5:延迟 5 秒后重启(可改为 3、10 等)da0d716
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.