alogin Skills — VS Code & Cursor Extension
A VS Code interface for alogin — run remote server commands, build custom skills, and let Cursor Agent operate on your infrastructure via alogin MCP.
alogin Skills connects VS Code and Cursor to your alogin server registry. It ships with a handful of example skills (health check, log triage, security scan, etc.) and a builder for creating your own. The real power is exposing alogin's full MCP tool set to Cursor Agent so you can operate on real servers directly from the chat window.
🌐 한국어 README
What problem does this solve?
Every developer who touches production infrastructure knows these moments:
- Checking server health right after a deploy — so you open a terminal, SSH in, and scan logs manually
- Getting a spike alert and hunting through logs on multiple servers one by one
- A disk warning hits and you spend 10 minutes finding which directory is the culprit
- Security audit time — manually checking sudoers, open ports, auth logs on each host
alogin Skills turns those repetitive tasks into reusable one-click skills that run directly from VS Code. Connect it to a Cursor Agent and you can just say "check logs on web-01 for the last 100 lines" — no terminal context switching needed.
Features
Built-in Skills
Six example skills are included to get you started. They run standard shell commands over SSH — no magic, just a starting point you can edit or replace:
| Skill |
What it does |
| 🚀 Post-Deploy Health Check |
HTTP response, process status, and recent error logs in one shot |
| 📋 Log & Error Triage |
Collects recent error logs; AI surfaces root cause and patterns |
| 🔍 Infra Drift Detector |
Failed systemd units, disk pressure, open ports, Docker container state |
| 🛡️ Security Quick Scan |
Auth logs, sudoers, open ports, and SUID file audit — read-only |
| 🧹 Disk Cleanup Check |
Disk usage breakdown and top cleanup candidates |
| ⚙️ Process & Resource Watch |
Top CPU/memory processes and zombie process detection |
Select a server in the sidebar, click a skill, and results appear in a VS Code panel.
Custom Skill Builder
Every team has its own checklist. Build skills that match your workflow:
- exec_command — run a sequence of shell commands in order
- run_script — upload and execute a bash script on the remote host
- Set intent, timeout, icon, and whether the skill requires human approval before running
- Duplicate, edit, or delete skills at any time
- Run on a single server or across an entire cluster in parallel
Example: wrap "pre-deploy DB migration check → nginx reload → health check" into one skill and trigger it every deploy — no more copy-pasting commands from a runbook.
Cursor Agent Integration
Inside Cursor, prefix your request with @alogin and the agent handles the rest:
@alogin run a health check on server web-01
@alogin check logs on db-prod for the last 100 lines
@alogin inspect server 3
@alogin run security scan on all web servers
The agent connects to your real servers through alogin, analyzes the output, and explains what it found — all inside the chat window.
Human-in-the-Loop (HITL) Approval
When an AI agent tries to run a potentially dangerous command (rm, systemctl stop, DROP TABLE, etc.), execution pauses and a VS Code panel opens with a countdown timer (default: 120 s).
You Approve or Deny directly from the panel. The extension calls alogin agent approve/deny <token> automatically. This prevents the agent from accidentally doing something destructive on a production server.
Server Panel
Quick access to your registered servers from the Activity Bar:
- SSH Connect — opens an integrated terminal session
- Cluster Connect — opens all cluster nodes in tiled panes
- TUI — fuzzy-search server picker in the terminal
- Web UI — starts
alogin web and opens the browser dashboard
- Switch Profile — QuickPick to swap network profiles (home / office / VPN)
Getting Started
Step 1 — Install alogin
macOS (Homebrew)
brew tap emusal/tap
brew install alogin
Linux
curl -sSL https://github.com/emusal/alogin2/releases/latest/download/install.sh | bash
Verify:
alogin --version
Step 2 — Register a server
alogin server add web-01 --host 1.2.3.4 --user ubuntu
Use SSH key auth, or let alogin store a password securely in the system vault.
Step 3 — Wire up your AI client (optional)
Register alogin as an MCP server in Cursor, Claude Desktop, or VS Code:
alogin agent setup # auto-detects installed clients, prompts you to choose
alogin agent setup all # register in all detected clients at once
After this, Cursor can call all alogin tools natively via @alogin.
Claude Desktop: restart the app after running setup.
Manage skills separately:
alogin agent skills install # checkbox selector
alogin agent skills install all # install everything
alogin agent skills list # show installed skills
Configuration
Settings → Extensions → alogin Skills
| Setting |
Default |
Description |
alogin.mcpServerPath |
alogin |
Path to the alogin binary |
alogin.defaultModel |
claude-sonnet-4-6 |
AI model for Cursor agent mode |
alogin.hitlTimeoutSec |
120 |
Seconds before HITL auto-deny |
alogin.webPort |
8484 |
Port for alogin web server |
alogin.execTimeoutSec |
60 |
Default exec_command timeout (overridden per skill) |
Command Palette
Ctrl+Shift+P / ⌘⇧P → type alogin:
| Command |
Description |
alogin: Run Skill... |
QuickPick to run any skill |
alogin: Approve HITL Request |
Approve a pending approval token |
alogin: Deny HITL Request |
Deny a pending approval token |
alogin: Register alogin MCP Server |
Manually register MCP in Cursor / VS Code settings |
New to alogin?
alogin is an infrastructure access tool that combines SSH server management, AI agent integration, cluster execution, and audit logging in one binary.
- Fuzzy-search hundreds of servers and connect in 3 keystrokes
- Automatic bastion/gateway hop chains — no
ProxyJump config needed
- AI agents operate on server IDs only — credentials and IPs never leave your machine
- Every agent-executed command is appended to an audit log automatically
Learn more: github.com/emusal/alogin2
License
Apache-2.0 — see LICENSE