一键导入
emulinkerk-server-status
Inspects the remote EmuLinker-K server log file via SSH to determine the active users, active games, and their current states.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Inspects the remote EmuLinker-K server log file via SSH to determine the active users, active games, and their current states.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Best practices and rules for Git version control, branch management, pull requests, and commit/PR descriptions.
Guides the agent through step-by-step checklists to safely compile, tag, release, and promote versions (dev, beta, prod) of EmuLinker-K.
Builds, deploys, and restarts the EmuLinker-K server on the 'nue-prod' EC2 instance safely by checking the server status first.
| name | emulinkerk-server-status |
| description | Inspects the remote EmuLinker-K server log file via SSH to determine the active users, active games, and their current states. |
This skill allows the agent to inspect the state of a remote EmuLinker-K server by tailing and analyzing its log file over SSH. It extracts the baseline user and game counts from the last hourly status update and tracks subsequent logs to find the current active user count and active games.
Provide the SSH connection string (e.g., ec2-user@nue-prod) and the absolute path to the log file (e.g., /home/ec2-user/EmuLinker-K/emulinker.log) to check the server's current state.
Run the following tail command, substituting <ssh-target> and <log-path> with the provided inputs:
ssh <ssh-target> "tail -n 200 <log-path>"
Scan backwards in the log lines to find the last line containing [Hourly status update]. It will look like:
2026-06-17 11:28:15,796 INFO o.e.k.m.KailleraServer [TaskScheduler] [Hourly status update] Game IDs by status = (no games), number of users = 0
1000 or 5000 lines) until the hourly update line is found.Game IDs by status = (no games), the baseline game set is empty {}.Game IDs by status = {PLAYING=[10], WAITING=[12]}), parse the game IDs into an active games set (e.g., {10: "PLAYING", 12: "WAITING"}).number of users = <N>. This is the baseline user count.Scan all log lines that occurred after the baseline hourly status update from oldest to newest:
created: Game[id=<ID> name=<NAME>]: <ROM>, add the game to the active games set.closed game: Game[id=<ID> or game desynched: game closed!, remove the game <ID> from the active games set.started: Game[id=<ID>, update that game's status to PLAYING.User[id=<ID> name=<NAME>]: login request:, add the user ID to the list of logged-in users.login denied: or quit server: or inactivity timeout! or banned! or disconnected from server for a user, remove the user from the list of logged-in users.baseline_user_count + post_baseline_logins - post_baseline_disconnects.Summarize the current state: