Xpersona
I

install-watchdog

CLAWHUB · Unverified

Installs egregore watchdog daemon via launchd or systemd for autonomous relaunching Skill: install-watchdog Owner: athola Summary: Installs egregore watchdog daemon via launchd or systemd for autonomous relaunching Tags: latest:1.9.19 Version history: v1.9.19 | 2026-08-26T13:10:50.651Z | user Release v1.9.19 v1.9.17 | 2026-07-30T05:32:56.998Z | user Release v1.9.17 v1.9.16 | 2026-07-14T19:49:42.567Z | user Release v1.9.16 v1.9.15 | 2026-07-04T21:23:01.824Z | user Release v1.9.15 v1.9.14 | 2026-06-30

62
Rank
84
Safety
1.5k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.5K downloads reported by the source. Last updated 10/10/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s17emme0e2m3cpf7k2jvp3a84984b8z9:nm-egregore-install-watchdog
  1. Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-athola-nm-egregore-install-watchdog/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

53,961 characters of source documentation, loaded on request.

Extracted files

3 files captured from the source.

SKILL.md

---
name: install-watchdog
description: |
  Installs egregore watchdog daemon via launchd or systemd for autonomous relaunching
version: 1.9.8
triggers:
  - setting up egregore on a new machine
metadata: {"openclaw": {"homepage": "https://github.com/athola/claude-night-market/tree/master/plugins/egregore", "emoji": "\ud83e\udd9e"}}
source: claude-night-market
source_plugin: egregore
---

> **Night Market Skill** — ported from [claude-night-market/egregore](https://github.com/athola/claude-night-market/tree/master/plugins/egregore). For the full experience with agents, hooks, and commands, install the Claude Code plugin.


# Install Watchdog

## Overview

Installs a persistent daemon that monitors the egregore
process and relaunches it when needed.
The daemon uses the OS-native scheduler (launchd on macOS,
systemd on Linux) to run a watchdog script every 5 minutes.

The watchdog script checks:

- Whether an egregore session is already running.
- Whether the budget is in cooldown.
- Whether there are active work items in the manifest.

If all conditions are met, it launches a new egregore
session.

## When To Use

- After initializing an egregore project (`egregore init`)
  when you want autonomous relaunching.
- When setting up egregore on a new machine.

## When NOT To Use

- On CI/CD runners (use the orchestrator directly).
- When you want manual control over session launches.

## Installation Steps

### 1. Detect the operating system

```bash
OS=$(uname -s)
```

### 2. Run the appropriate installer

**macOS (launchd):**

```bash
bash plugins/egregore/scripts/install_launchd.sh
```

This script creates a plist at
`~/Library/LaunchAgents/com.egregore.watchdog.plist`
that runs the watchdog script every 300 seconds (5 minutes).

**Linux (systemd):**

```bash
bash plugins/egregore/scripts/install_systemd.sh
```

This script creates a systemd timer and service unit at
`~/.config/systemd/user/` that fires every 5 minutes.

### 3. Verify installation

**macOS:**

```bash
launchctl list | grep egregore
```

Expected output: a line containing
`com.egregore.watchdog` with a PID or `-` status.

**Linux:**

```bash
systemctl --user status egregore-watchdog.timer
```

Expected output: `active (waiting)` status.

### 4. Confirm to the user

Report the installation result, the schedule interval, and
the log file location:

- macOS: `~/.egregore/watchdog.log`
- Linux: `journalctl --user -u egregore-watchdog`

## Uninstall Command

To remove the watchdog, run:

```
Skill(egregore:uninstall-watchdog)
```

Or invoke the uninstall skill directly via the command
`/egregore:uninstall-watchdog`.

## Troubleshooting

- **Permission denied on plist**: ensure the script runs
  as the current user, not root.
- **systemd user session not available**: run
  `loginctl enable-linger $USER` to enable user services
  without an active login session.
- **Watchdog not firing**: check the log output and verify
  the scheduler is loaded (`launchctl list` or
  `systemctl --user list

_meta.json

{
  "ownerId": "kn7d107jg9jv602h9ytsegydq184a42s",
  "slug": "nm-egregore-install-watchdog",
  "version": "1.9.19",
  "publishedAt": 1787749850651
}

skill-card.md

## Description:

Installs egregore watchdog daemon via launchd or systemd for autonomous relaunching.

This skill is ready for commercial/non-commercial use.

## Publisher:

[athola](https://clawhub.ai/user/athola)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and engineers use this skill after initializing an egregore project or setting up a new machine when they want an OS scheduler to relaunch egregore sessions automatically.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The skill installs a persistent watchdog that can relaunch agent sessions in the background.

Mitigation: Use it only when autonomous relaunching is intended, and confirm the service target, schedule, logs, and uninstall path before running installer commands.

Risk: The artifact references installer scripts that are not bundled in the artifact evidence.

Mitigation: Inspect the actual install_launchd.sh or install_systemd.sh from the intended source before execution.

Risk: Linux troubleshooting may require loginctl enable-linger, which can allow user services to run after logout.

Mitigation: Enable linger only after confirming it is required and acceptable for the host's security posture.

## Reference(s):

- [Egregore homepage](https://github.com/athola/claude-night-market/tree/master/plugins/egregore)
- [ClawHub skill page](https://clawhub.ai/athola/skills/nm-egregore-install-watchdog)
- [Publisher profile](https://clawhub.ai/user/athola)

## Skill Output:

**Output Type(s):** [text, markdown, shell commands, configuration, guidance]

**Output Format:** [Markdown with inline bash code blocks]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Produces installation, verification, troubleshooting, and uninstall guidance for launchd or systemd watchdog setup.]

## Skill Version(s):

1.9.19 (source: server release metadata; artifact frontmatter lists 1.9.8)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to install-watchdog and adjacent AI workflows.