rea-ci-tests-audit
MOmorluto/rea485k近 7 天新增 7,690 个 star
Operate remote SSH servers through the bundled CLI and YAML server configurations. Use for remote commands, service restarts, log inspection, file transfer, text edits, deployments, background jobs, and aliases on bash/cmd/powershell servers, even when the user does not explicitly mention SSH. Local-only builds and GitHub releases without a remote server operation are outside this skill's scope. Trigger keywords: deploy, release, ship, server health, SSH, run on server, upload script, download file, server alias, 部署, 上线, 发布, 重启, 查看日志, 服务器健康检查.
Use the directory containing this skill file as the tool root to locate cli.py. Use a Python interpreter with the project's dependencies installed. Do not assume the user's project contains cli.py, and do not change the user's project working directory just to run this tool. The python cli.py examples below are shorthand: invoke the confirmed interpreter and CLI by absolute path. Local file paths resolve against the current working directory.
Reuse an interpreter already confirmed for this installation; otherwise check the checkout's virtual environment or the configured interpreter before installing anything. For example, after replacing the paths with the actual installation:
/absolute/path/to/python /absolute/path/ssh-ops/cli.py my-server run "uptime"
Use list-servers to confirm server names. Do not guess names or substitute listing indexes for names. When the server the user names is not in the list, ask before acting: offer the closest names as candidates, or collect host, user, and authentication so a new entry can be created. Before reusing an operation, use list-aliases to inspect its command, sudo setting, and timeout. Do not repeat discovery already completed for the same task. Read the installation guide only when dependencies or configuration are missing.
run for ad hoc checks. For complex quoting, $, or multiline commands, use run - with a quoted heredoc to avoid local shell expansion.Server operations in the table are prefixed with python cli.py <server>. Full options and defaults are maintained only in the CLI reference.
| Purpose | Command |
|---|---|
| Discover servers | python cli.py list-servers |
| Inspect and run aliases | list-aliases, alias <name> |
| Execute commands | run '<command>'; use run - to read complex commands from stdin |
| Upload and run scripts | upload <local>, run-script <name>, upload-all, list-scripts |
| Transfer files | upload-file <local> <remote>, download-file <remote> <local> |
| Download directories and scripts | download <remote> <local>, download-script <name> <local> |
| Read and write text | read-file <remote>, write-file <remote> < input.txt |
| Long-running work | job-start '<command>' → job-status <id>; use job-kill <id> when termination is needed |
| List jobs | job-list |
Create, update, copy, and delete server configurations with create-server, update-server, copy-server, and delete-server (syntax in the CLI reference). Read configuration through list-servers and list-aliases instead of opening the YAML files, and do not edit the files under the servers directory by hand. create-server takes the YAML you wrote as an input file and installs it; remote operations never touch local configuration.
--overwrite: transfers overwrite by default, and selected transfer commands accept --no-overwrite.-s for sudo; never embed passwords in commands. Aliases use YAML privilege and timeout settings, not CLI -s/-t overrides.run, run-script, or alias for live output; MCP does not stream execution progress.Follow the deployment chapter: confirm the server, region, mode, directory, ports, and health endpoint, then generate project-specific local and server scripts. The deploy/scripts/ templates require customization; they are not ready-to-run universal release tools. Route all remote interaction through this CLI. The deployment chapter is the authority for package-source and health-check rules.
Successful startup is not task completion. Inspect operation exit codes and actual output. For background jobs, check the final state and job exit code; for releases and restarts, also check application health. A successful local CLI exit alone is insufficient.
A normal command timeout does not guarantee that its remote process stopped. After a timeout or disconnect, inspect remote jobs, processes, and service state before deciding whether to retry. Avoid duplicate deployments or migrations.
Report the target server, operations actually performed, and verification results. State what remains incomplete or unverified. If work is still running, include the job ID rather than claiming completion.
For the MCP interface, see SKILL.mcp.md.
MOmorluto/rea485k近 7 天新增 7,690 个 star
MOmorluto/rea485k近 7 天新增 7,690 个 star
MAmattpocock/skills336k近 7 天新增 4,217 个 star
MAmattpocock/skills336k近 7 天新增 4,217 个 star
MAmattpocock/skills336k近 7 天新增 4,217 个 star