agentleFS
MelvynxMelvynx/ai-maxxing-skills/skills/connect-vps/SKILL.md

connect-vps

Skill32 starsChanged 24 days agoMITView on GitHub

Connect the user's VPS (Hostinger, Hetzner, OVH...) to their terminal as `ssh hermes`, finding the server and its SSH keys page in their provider panel through Chrome AI, then tell every agent the VPS exists. Use when the user bought a VPS, wants to connect it, or `ssh hermes` fails.

  • Reads credentials

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 2 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Check the tools: ssh -V and command -v ssh-keygen (built into macOS and Linux), and command -v chrome-ai dev-browser.

    line 14
  2. Very specific:

    Create the access key, only if it is missing, with scripts/ssh-setup.sh key hermes.

    line 15
  3. Distinctive:

    Put the key on the server, the way references/providers.md says for that provider:

    line 18
  4. Distinctive:

    If the panel can add a key to a running server (Hostinger: Manage, Settings, "SSH keys"), add it there with the alias as name, paste the …

    line 19
  5. Very specific:

    Check it from a new session: $SHELL -lic 'ssh -o BatchMode=yes hermes hostname' answers, and close the browser page with …

    line 24

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Connect the VPS the user paid for so that ssh hermes opens it from any terminal without a password, and so that every agent knows the server is there for their sites, apps and agents. The first argument is the provider (for example hostinger), the second the alias (default hermes; use it everywhere below in place of hermes). Do every step yourself and only ask for what needs a human (signing in to the panel, typing a password). Talk to the user in their language, short messages, no jargon (never say "public key", "authorized_keys" or "SSH config" to them; say "the access key" and "the shortcut").

If you got this skill from a link instead of a local folder, install nothing else from the repo: download a file it links only when a step needs it, with curl -fsSL https://raw.githubusercontent.com/Melvynx/ai-maxxing-skills/main/skills/connect-vps/<path> -o <scratch>/<file> (for example scripts/ssh-setup.sh), and read another skill it names only when you reach it, from https://raw.githubusercontent.com/Melvynx/ai-maxxing-skills/main/skills/<skill-name>/SKILL.md.

Never type a password, a code or a card number, never reinstall, rebuild or reboot the server, and never touch its SSH settings or firewall here: locking it down is the next lesson, "Sécuriser ton serveur". On Windows, do the same steps by hand in PowerShell (ssh-keygen and ssh are built in, the shortcut file is $env:USERPROFILE\.ssh\config), and copy the key with type $env:USERPROFILE\.ssh\hermes_ed25519.pub | ssh <user>@<ip> "mkdir -p ~/.ssh && cat >> ~/.ssh/authorized_keys".

  1. Check the tools: ssh -V and command -v ssh-keygen (built into macOS and Linux), and command -v chrome-ai dev-browser. If Chrome AI is missing, run the setup-dev-browser skill first. If ssh hermes true already works with -o BatchMode=yes, skip to step 7.
  2. Create the access key, only if it is missing, with scripts/ssh-setup.sh key hermes. It prints the public key from ~/.ssh/hermes_ed25519.pub; never overwrite or show the private one.
  3. Run chrome-ai start and open the provider's panel with the dev-browser skill, on a page named connect-vps. Find the panel address in references/providers.md; for a provider not listed, search for its client area. If the page asks to sign in, tell the user to sign in in the Chrome AI window and say "done", then reload.
  4. Find the server. Read the page with snapshotForAI() and note the IP address, the login user (root on most providers, ubuntu or debian on OVH) and the OS. If the user has several servers, ask which one. Take a screenshot and check the IP is the one you noted.
  5. Put the key on the server, the way references/providers.md says for that provider:
    • If the panel can add a key to a running server (Hostinger: Manage, Settings, "SSH keys"), add it there with the alias as name, paste the public key, and ask the user before you click the final add button.
    • If keys only apply at creation (Hetzner, DigitalOcean, OVH, Netcup, Contabo), never reinstall: give the user one line to paste in their own Terminal, ssh-copy-id -i ~/.ssh/hermes_ed25519.pub <user>@<ip>, with the real values. They answer yes to the first question and type the server password themselves (it came by email, or they reset it in the panel). Wait for "done".
  6. Add the shortcut with ssh-setup.sh config hermes <ip> <user>. It backs up ~/.ssh/config first and does nothing if the shortcut already points to that IP. Exit code 4 means the alias already points to another server: ask the user for another name (for example hermes2) and redo steps 2 and 6 with it.
  7. Prove it with ssh-setup.sh test hermes. Exit code 5 means the key is not on the server yet: wait a minute and retry once (panels apply keys with a delay), then go back to step 5 with the ssh-copy-id path. On success it prints the host, OS, CPU, RAM, disk, and whether Docker and Dokploy run.
  8. Tell every agent about the server: write the block from references/global-config.md, filled with the real values, to the brain AGENTS.md, to ~/.claude/rules/vps.md and, if Codex is installed, to ~/.codex/AGENTS.md. Then merge "Bash(ssh hermes *)", "Bash(scp * hermes:*)" and "Bash(rsync * hermes:*)" into permissions.allow of ~/.claude/settings.json, keeping every existing entry; read the file first and write valid JSON back.
  9. Check it from a new session: $SHELL -lic 'ssh -o BatchMode=yes hermes hostname' answers, and close the browser page with browser.closePage("connect-vps").

End with a short check list, a check or a cross on each line: access key created, server found (provider, IP), key on the server, shortcut ssh hermes works without a password, server facts (OS, RAM, disk, Docker), agents told (brain, Claude Code, Codex), permissions added. If password_login in the facts is yes, add one line that the server still accepts passwords and that the next lesson locks it to the key only. Then tell the user in 3 lines: type ssh hermes in a terminal to enter the server, exit to leave, and one thing to ask the agent right now, such as "check how much space is left on my server".

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.