2.9 KiB
2.9 KiB
name, description
| name | description |
|---|---|
| server-manager | Use ServerManager's shared local server inventory and ssh.py utility to manage configured SSH, Telnet, SQL, Redis, S3/MinIO, Grafana, Prometheus, and WinRM endpoints by alias without exposing credentials. Use when the user asks to operate on servers managed by ServerManager or when editing ServerManager's Claude/Codex/Gemini integration. |
Server Manager
Use this skill for two cases:
- The user wants work done on a server or service already configured in ServerManager.
- The user wants to modify ServerManager's CLI/integration layer so Claude/Codex/Gemini can use it safely.
First Step
Before any server operation:
$HOME/.server-connections/gemini-ssh --list
Read the Type column before choosing commands. Do not guess the server type.
If the wrapper is missing, run the doctor script for your platform:
$HOME/.gemini/skills/server-manager/scripts/server-manager-gemini-doctor.sh
On Windows, use:
%USERPROFILE%\.gemini\skills\server-manager\scripts\server-manager-gemini-doctor.cmd
Hard Rules
- Never read
~/.server-connections/servers.json,settings.json, orencryption.pydirectly. - Never use
--list-full. - Never use raw
ssh,scp,rsync,redis-cli,mysql,psql,mc,aws s3, or similar tools unless the user explicitly asks to bypass ServerManager. - Maximum one connection attempt per action. If it times out or fails, report it and stop.
ALIAS "command"is only forsshandtelnet.rdpandvncare GUI-only. Do not invent CLI access.- For S3/MinIO, list buckets and paths before upload, delete, or URL generation.
- Ask for confirmation before destructive actions if the user's intent is not explicit.
Preferred Entry Points
Use the shared wrapper:
$HOME/.server-connections/gemini-ssh ...
Safe discovery commands:
$HOME/.server-connections/gemini-ssh --list
$HOME/.server-connections/gemini-ssh --info ALIAS
$HOME/.server-connections/gemini-ssh --status
Read references/command-matrix.md when you need the per-type command matrix.
Server Operation Workflow
- Run
--list. - Match the alias using notes/type, not credentials.
- Pick commands strictly from the server type.
- Execute exactly one action.
- Report the result without exposing IPs, logins, passwords, ports, or secrets.
Working On ServerManager Itself
Read references/project.md before changing integration code.
Source-of-truth files:
tools/ssh.py: local CLI used by AI toolstools/skill-ssh.md: current Claude/sshinstructionscore/claude_setup.py: installer for shared CLI files and AI skillsbuild.py: auto-deploysssh.py,encryption.py, Claude/Codex/Gemini skills after buildsREADME.md,CLAUDE.md, andGEMINI.md: project-level rules and architecture
If you change command semantics in tools/ssh.py, update the user-facing instructions alongside it.