Restart the running Clagentic: Console daemon and confirm the new process loaded the installed build. Use when asked to restart clagentic-console or to pick up a newly installed build.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Restart Clagentic Console?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/clagentic-restart-clagentic-console)
---
name: restart-clagentic-console
description: Restart the running Clagentic: Console daemon and confirm the new process loaded the installed build. Use when asked to restart clagentic-console or to pick up a newly installed build.
---
# Restart Clagentic: Console
Restarts the Clagentic: Console daemon with `clagentic-console --restart` and proves the new process runs the installed build. Run it only when the operator asks for a restart or has named a safe point. This skill never schedules or triggers a restart on its own.
A restart ends every turn in flight. The `--json` report lists the sessions in flight before the restart (`sessions`), so read it and tell the operator which sessions were interrupted.
## 1. Note the current process
```bash
clagentic-console --process-build-status
```
Record `pid`. The restart must change it. If this prints `"no running daemon"`, there is nothing to restart: say so and stop.
## 2. Restart
```bash
clagentic-console --restart --json
```
The command waits for the new process and exits with:
| Exit | Meaning | Action |
|------|---------|--------|
| 0 | Restarted: a new process answered and loaded the installed build | Go to step 3 |
| 1 | Failed: no daemon, the restart was not acknowledged, or the old pid was unknown | Report `outcome` from the JSON. Do not retry blindly |
| 2 | Timeout: no new process answered in time | Report `lastSeen` from the JSON. Check the status once more before any retry |
| 3 | Build mismatch: a new process is up but did not load the installed build | Report `loadedBuildSha` and `installedBuildSha`. This is a failed restart, not a success |
## 3. Verify
```bash
clagentic-console --process-build-status
```
The restart succeeded only if all of these hold:
- `loadedBuildSha` equals `installedBuildSha`
- `pid` differs from the pid recorded in step 1
- `state` is `adopted`, not `stale` or `inconclusive` (`reason` says why)
If any of them fails, report the full status output and stop. Do not report success on the exit code alone.
## Report
Say: the sessions that were in flight, the old and new pid, and the loaded build. State plainly if anything in step 3 failed.