delayed-restart-app

delayed-restart-app is a skill for Claude Code, Codex from XiaoLuoLYG/GOD. It costs 73 tokens per session (501 once invoked), scanned A, original, Apache-2.0.

A skill for restarting the service that runs the current agent after a delay.

In plain words
What is it for?
Use it when the agent service must be restarted, its configuration has changed, or the service needs to be reloaded after an error.
Why use it?
It lets configuration changes or service fixes take effect when a restart is required, while allowing the current response to finish first.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when the agent service must be restarted, its configuration has changed, or the service needs to be reloaded after an error.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xiaoluolyg/god/delayed-restart-app
About the project

GOD is a control room for observing and directing societies of language-model agents running in simulated worlds. It lets researchers inspect replays, question individual agents, alter future events, reset simulations, and export experiments for reuse. The catalogue entries are skills and agents for operating and investigating these simulations.

XiaoLuoLYG/GOD · 1,105 stars · on GitHub · xiaoluolyg.github.io

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add XiaoLuoLYG/GOD --skill delayed-restart-app
Clone the repo
git clone --depth 1 https://github.com/XiaoLuoLYG/GOD

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for delayed-restart-app

README.md
[![agentmods](https://agentmods.dev/badge/skills/xiaoluolyg/god/delayed-restart-app/github.svg)](https://agentmods.dev/skills/xiaoluolyg/god/delayed-restart-app)
Your own site
<a href="https://agentmods.dev/skills/xiaoluolyg/god/delayed-restart-app"><img src="https://agentmods.dev/badge/skills/xiaoluolyg/god/delayed-restart-app/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for delayed-restart-app

Your own site · 80×15
<a href="https://agentmods.dev/skills/xiaoluolyg/god/delayed-restart-app"><img src="https://agentmods.dev/badge/skills/xiaoluolyg/god/delayed-restart-app.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 73 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 501 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00073 $0.00501
Opus 5 $0.00036 $0.00251
Sonnet 5 $0.00015 $0.00100
Haiku 4.5 $0.00007 $0.00050

Measured 7d ago against content hash 4acc1332f29c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

delayed-restart-app scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (launch_delayed_restart.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

jiuwenclaw/jiuwenclaw/resources/agent/jiuwenclaw_workspace/skills/delayed-restart-app/SKILL.md · 39 lines

What it actually says

重启本 Agent 所在的服务

本 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 等)

When to Use

  • 用户明确要求「重启 app」「重启服务」「重启 Agent」
  • 配置已通过 config.set 等修改,用户询问或要求重启以生效
  • 用户反馈服务异常,建议重启

注意事项

  • 重启后当前会话会断开,新连接将使用新进程
  • 默认 5 秒延迟,便于先返回响应再重启
Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 39 lines · 73 tokens per session scan A 4acc1332f29c

Subscribe to this mod's changes

delayed-restart-app is a skill published in the GitHub repository XiaoLuoLYG/GOD (1,105 stars, last pushed 14d ago), licensed Apache-2.0. It adds 73 tokens to every session and 501 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.