mcpField
D
daemon-stop

daemon-stop

github.com/terrylicaCloud & DevOps195 installsUpdated today
Repository

About daemon-stop

A skill for stopping the asciinema chunker daemon through launchd. It verifies that the daemon is no longer running and notes how stopping affects credentials and login startup.

Key features

  1. 01Unload daemon through launchd
  2. 02Verify the daemon has stopped
  3. 03Troubleshooting guidance for stop failures

Use cases

  1. 01Stop the asciinema chunker background process
  2. 02Investigate unload failures or lingering processes

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/terrylica/cc-skills --skill daemon-stop

After installing, type/daemon-stopin Claude Code to confirm it loaded.

Bundled filesreferences/evolution-log.md

Details

From the project README

/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
/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
/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

IssueCauseSolution
Failed to stop daemonLaunchd errorTry launchctl unload -F <plist-path>
Daemon still runningMultiple instancesKill manually: pkill -f asciinema-chunker
Can't find plistSetup not runRun /asciinema-tools:daemon-setup first
Recordings not stoppingasciinema rec is runningExit 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.

Comments

Markdown supported