# daemon ## Purpose Skill for managing the Feishu daemon lifecycle (start/stop/restart/status/logs). Invoked via `/feishu:daemon`. ## Key Files | File | Description | |------|-------------| | `SKILL.md` | Skill definition — dispatches: no args/`status` = check PID, `start` = nohup launch, `stop` = SIGTERM, `logs` = tail log, `restart` = stop+start | ## For AI Agents ### Working In This Directory - Plugin root: discover via `claude plugin list --json` and pull `installPath` for the `feishu@feishu-channel` entry (the marketplace-installed path is version-suffixed, e.g. `~/.claude/plugins/cache/feishu-channel/feishu/`). Do NOT hardcode `~/feishu` (per-developer source clone, not what users get) and do NOT hardcode `~/.claude/plugins/feishu` (does not exist — versioned cache only) - Daemon PID tracked in `~/.claude/channels/feishu/daemon.pid` - Logs at `~/.claude/channels/feishu/daemon.log`