CtrlK
BlogDocsLog inGet started
Tessl Logo

jbaruch/nanoclaw-host

Skills and rules for the NanoClaw host agent (Claude Code on Mac). Tile promotion, container management, staging checks, and reconciliation.

99

Quality

99%

Does it follow best practices?

Impact

Pending

No eval scenarios have been run

SecuritybySnyk

Advisory

Suggest reviewing before use

Overview
Quality
Evals
Security
Files

SKILL.mdskills/nuke/

name:
nuke
description:
Kill a running agent container on the NAS by Telegram group JID. The orchestrator respawns a fresh container on the next message. Does NOT delete registration or group folder. Use when a container is stuck, stale, or needs a fresh start.

Nuke Container

Kills the running container for a group. Fresh container spawns on the next message.

Usage

./scripts/nuke-container.sh <chat-jid>

The script:

  1. Looks up the group folder from the database by JID
  2. Converts the folder name to the container naming convention (underscores → hyphens)
  3. Finds and kills the matching container on the NAS

What nuke does NOT do

  • Does NOT delete the group registration from the database
  • Does NOT delete the group folder or its contents
  • Does NOT unregister the group

If no container is running, the script exits cleanly.

Finding the JID

If the user provides a group name instead of a JID, look it up:

ssh -n "$NAS_HOST" "sqlite3 $NAS_PROJECT_DIR/store/messages.db \"SELECT jid, name FROM registered_groups;\""

skills

tile.json