ワンクリックで
restart-rustclaw
Rebuild RustClaw and rolling-restart the three launchd-managed agent instances (main, agent2, marketing)
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Rebuild RustClaw and rolling-restart the three launchd-managed agent instances (main, agent2, marketing)
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Apply approved review findings to a document — reads the review file and makes targeted edits
Systematically review design documents for bugs, inconsistencies, and missing cases
Systematically review requirements documents for completeness, testability, and consistency
Systematically review task breakdowns for completeness, dependency correctness, and implementability
Incremental write pattern for long documents (design, requirements, specs, postmortems, RFCs, ADRs, any structured markdown)
Track, manage, and fix issues across all projects (full lifecycle, strict format)
| name | restart-rustclaw |
| description | Rebuild RustClaw and rolling-restart the three launchd-managed agent instances (main, agent2, marketing) |
| triggers | {"patterns":["(?i)rolling.?restart","(?i)apply.*(new )?binary"],"keywords":["重启 rustclaw","重启agent","rolling restart","重新编译","重编译","滚动重启","restart all agents","pick up new binary"]} |
| priority | 85 |
| always_load | false |
Three RustClaw instances share one binary at
/Users/potato/rustclaw/target/release/rustclaw. Aftercargo build --release, each instance must be restarted separately — an already-running process keeps its old in-memory binary. This skill rebuilds + rolling-restarts all three.
All managed by launchd (~/Library/LaunchAgents/):
| Name | launchd label | Purpose |
|---|---|---|
| main | com.rustclaw.agent | RustClaw (this agent, @rustblawbot) |
| agent2 | com.rustclaw.agent2 | RustClaw 2 |
| marketing | com.rustclaw.agent-marketing | Marketing / Grow agent |
Path: /Users/potato/rustclaw/scripts/rolling-restart.sh
# rebuild + restart all three (most common)
/Users/potato/rustclaw/scripts/rolling-restart.sh
# skip cargo build — just restart all (use when binary already fresh)
/Users/potato/rustclaw/scripts/rolling-restart.sh --no-build
# restart only one instance
/Users/potato/rustclaw/scripts/rolling-restart.sh --only main
/Users/potato/rustclaw/scripts/rolling-restart.sh --only agent2
/Users/potato/rustclaw/scripts/rolling-restart.sh --only marketing
# change gap between restarts (default 3 seconds)
/Users/potato/rustclaw/scripts/rolling-restart.sh --gap 5
cargo build --release in /Users/potato/rustclaw (unless --no-build)launchctl kickstart -k gui/$UID/<label> (falls back to stop+start)--gap seconds between restarts so they don't collide on shared resources (engram DB, session DB, log files)If you are the main agent, restarting yourself terminates this session.
--only agent2 or --only marketing firstrestart_self tool instead — it exits cleanly and launchd respawns usIf another agent compiled a new binary while I'm still running the old one:
# check all three are running
launchctl list | grep rustclaw
# tail logs to confirm startup
tail -f /tmp/rustclaw-agent.log # main (check plist for exact paths)
tail -f /tmp/rustclaw-agent2.log
tail -f /tmp/rustclaw-agent-marketing.log
/Users/potato/clawd/projects/openclaw-latest/scripts/restart-mac.sh — different project, different architecture, don't confuse themrestart_self tool: clean self-restart for the calling agent only