Skip to content
Back to skills

Restart Clagentic Console

ASecurity

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.

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added December 1, 2026
toolsgobash

Security analysis

A100/100

Scanned December 1, 2026

npx -y skills add clagentic/clagentic-console --skill restart-clagentic-console --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Restart Clagentic Console?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Restart Clagentic Console
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/clagentic-restart-clagentic-console/badge)](https://www.skillsdirectory.com/skills/clagentic-restart-clagentic-console)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.