Skip to content
Back to skills

Daemon Stop

ASecurity

Stop the asciinema chunker daemon. TRIGGERS - stop daemon, pause chunker, disable backup.

  • 75 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added May 27, 2026
toolsshellbash

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned May 27, 2026

npx -y skills add terrylica/cc-skills --skill daemon-stop --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Daemon Stop?

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

Security grade badge for Daemon Stop
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/terrylica-daemon-stop/badge)](https://www.skillsdirectory.com/skills/terrylica-daemon-stop)

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: daemon-stop
description: Stop the asciinema chunker daemon. TRIGGERS - stop daemon, pause chunker, disable backup.
allowed-tools: Bash
argument-hint: ""
model: haiku
disable-model-invocation: false
---

# /asciinema-tools:daemon-stop

Stop the asciinema chunker daemon via launchd.

> **Self-Evolving Skill**: This skill improves through use. If instructions are wrong, parameters drifted, or a workaround was needed — fix this file immediately, don't defer. Only update for real, reproducible issues.

## Execution

### Check if Running

```bash
/usr/bin/env bash << 'CHECK_EOF'
PLIST_PATH="$HOME/Library/LaunchAgents/com.cc-skills.asciinema-chunker.plist"

if ! [[ -f "$PLIST_PATH" ]]; then
  echo "Daemon not installed."
  exit 0
fi

if ! launchctl list 2>/dev/null | grep -q "asciinema-chunker"; then
  echo "Daemon not running."
  exit 0
fi

echo "RUNNING"
CHECK_EOF
```

### Stop Daemon

```bash
/usr/bin/env bash << 'STOP_EOF'
PLIST_PATH="$HOME/Library/LaunchAgents/com.cc-skills.asciinema-chunker.plist"

if launchctl unload "$PLIST_PATH"; then
  echo "Daemon stopped"

  # Verify
  sleep 1
  if launchctl list 2>/dev/null | grep -q "asciinema-chunker"; then
    echo "WARNING: Daemon may still be running"
  else
    echo "Confirmed: Daemon is no longer running"
  fi
else
  echo "ERROR: Failed to stop daemon"
  exit 1
fi
STOP_EOF
```

## Output

On success:

```
Daemon stopped
Confirmed: Daemon is no longer running
```

## Notes

- Stopping the daemon does NOT delete credentials from Keychain
- To restart: `/asciinema-tools:daemon-start`
- The daemon will NOT auto-start on next login until started again

## Troubleshooting

| Issue                   | Cause                    | Solution                                         |
| ----------------------- | ------------------------ | ------------------------------------------------ |
| Failed to stop daemon   | Launchd error            | Try `launchctl unload -F <plist-path>`           |
| Daemon still running    | Multiple instances       | Kill manually: `pkill -f asciinema-chunker`      |
| Can't find plist        | Setup not run            | Run `/asciinema-tools:daemon-setup` first        |
| Recordings not stopping | asciinema rec is running | Exit recording shell first (Ctrl-D or type exit) |


## Post-Execution Reflection

After this skill completes, check before closing:

1. **Did the command succeed?** — If not, fix the instruction or error table that caused the failure.
2. **Did parameters or output change?** — If the underlying tool's interface drifted, update Usage examples and Parameters table to match.
3. **Was a workaround needed?** — If you had to improvise (different flags, extra steps), update this SKILL.md so the next invocation doesn't need the same workaround.

Only update if the issue is real and reproducible — not speculative.

Files in this skill

  • SKILL.md2.8 KB
  • references/evolution-log.md697 B

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.

Comments

Loading comments…

Newsletter

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