用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/terrylica/cc-skills --skill daemon-stop命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 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 |
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.
/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
/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
On success:
Daemon stopped
Confirmed: Daemon is no longer running
/asciinema-tools:daemon-start| 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) |
After this skill completes, check before closing:
Only update if the issue is real and reproducible — not speculative.