essh

essh is a skill for Claude Code, Codex from lirrensi/agent-sommelier. It costs 39 tokens per session (834 once invoked), scanned C, original, MIT.

A command-line SSH profile manager for connecting to saved remote computers by a friendly name.

In plain words
What is it for?
Use it to run commands on saved hosts, inspect services and logs, and apply rules that allow, require approval for, or reject commands.
Why use it?
It avoids repeatedly typing usernames, host addresses, ports, and private-key options in SSH commands.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions OpenCode.

Good fit Use it to run commands on saved hosts, inspect services and logs, and apply rules that allow, require approval for, or reject commands.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lirrensi/agent-sommelier/essh
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add lirrensi/agent-sommelier --skill essh
Clone the repo
git clone --depth 1 https://github.com/lirrensi/agent-sommelier

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for essh

README.md
[![agentmods](https://agentmods.dev/badge/skills/lirrensi/agent-sommelier/essh/github.svg)](https://agentmods.dev/skills/lirrensi/agent-sommelier/essh)
Your own site
<a href="https://agentmods.dev/skills/lirrensi/agent-sommelier/essh"><img src="https://agentmods.dev/badge/skills/lirrensi/agent-sommelier/essh/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for essh

Your own site · 80×15
<a href="https://agentmods.dev/skills/lirrensi/agent-sommelier/essh"><img src="https://agentmods.dev/badge/skills/lirrensi/agent-sommelier/essh.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 834 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00039 $0.00834
Opus 5 $0.00019 $0.00417
Sonnet 5 $0.00008 $0.00167
Haiku 4.5 $0.00004 $0.00083

Measured 9d ago against content hash 28c1bfe7ad4e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade C, and why

essh scanned grade C with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

Command: rm -rf /etc
skills/essh/SKILL.md · 108 lines

How it starts

The opening of the file, as written. The whole thing — 108 lines — stays where its author put it; the contents beside it link to each section on GitHub.

ESSH Skill

Abstracts SSH so you type less crap around your commands.

The human sets up profiles (essh add ...). You just use them.

Installation Check

essh --help

If not installed:

uv tool install "git+https://github.com/lirrensi/agent-sommelier"

Usage

List available profiles

essh list --json

Run a command on a saved host

essh <name> <command>

That's it. No -i key.pem, no user@host:22. Just the name.

Examples

essh list --json
# → [{"name": "coral-fox", "user": "deploy", "host": "192.168.1.50", "port": 22, "key_path": ""}]

essh coral-fox "uname -a"
essh coral-fox "systemctl status nginx"
essh prod-web "tail -n 100 /var/log/app.log"

## Command Filters
The human may set up command filter rules to control what you can run on
each host. Filters use wildcard matching with three actions:

- **allow** — The command runs without any prompting.
- **ask** — The command is blocked until the human authorizes it (same
  authorization flow as the connection itself).
- **deny** — The command is rejected immediately with an error message.
  There is no way to bypass this.

### Checking if filters are defined
```bash
# Global filters (apply to all hosts)
essh filter list global
# Per-host filters (apply to a specific host)
essh filter list <name>

How filters affect you

  1. When you run essh <name> "<command>", essh checks all filter rules (global first, then per-host) from top to bottom. The last matching rule wins.

  2. If a deny rule matches: the command is rejected. You will see something like:

    ❌ BLOCKED: This command is blocked by a filter rule.
      Command: rm -rf /etc
    
  3. If an ask rule matches: in non-TTY mode, essh creates an authorization request showing the exact command. The human sees:

    Pending request for 'prod-web':
      Command: rm -rf /var/log
    

    They must run essh authorize <name> for the command to proceed.

  4. If an allow rule matches, or no rule matches: the command runs normally through the existing authorization gate.

Pattern syntax

The same wildcard rules as opencode (anomalyco) permission system:

Pattern Matches Doesn't match
rm * rm, rm -rf / rmdir
shutdown * shutdown, shutdown -h now shutdown with no args? yes, actually
git * git, git status (anything starting with git)
rm -rf * rm -rf /, rm -rf . rm -r

Key rule: * in patterns like rm * makes the trailing space and arguments optional — so rm * matches both bare rm and rm -rf /.

If you get blocked and think it's a mistake, tell the human:

The command "..." was blocked by a filter rule.
You may need to add an ``--action allow`` rule or adjust the pattern.

Read the full file on GitHub · 108 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 108 lines · 39 tokens per session scan C 28c1bfe7ad4e

Subscribe to this mod's changes

essh is a skill published in the GitHub repository lirrensi/agent-sommelier (5 stars, last pushed 7d ago), licensed MIT. It adds 39 tokens to every session and 834 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

gke-compute-classes

Configures, optimizes, and troubleshoots GKE ComputeClasses. Use when configuring Spot VMs with on-demand fallback, targeting specific accelerators (GPUs/TPUs) or machine families, restricting ComputeClass access, or debugging pending pods related to node pool auto-creation. Do not use for cluster-level Node Auto…

google/skills · 83 tokens

gke-workload-security

Audits, configures, and hardens workload-level security controls for Google Kubernetes Engine (GKE) applications and namespaces. Covers running cluster security audits (auditcluster.sh), configuring Workload Identity Federation (impersonation, KSA/GSA binding, and pod setup), enforcing Network Policies (default-deny…

google/skills · 181 tokens

gke-reliability

Improves GKE workload reliability, using PDBs, health probes, and topology spread constraints. Use when configuring GKE workload reliability, setting up PDBs, or configuring GKE health probes (liveness, readiness, startup). Don't use for disaster recovery setup or full cluster backups (use gke-backup-dr instead).

google/skills · 73 tokens

nemo-automodel-launcher-config

Configure NeMo AutoModel job launches for interactive runs, Slurm clusters, and SkyPilot cloud execution.

NVIDIA/skills · 30 tokens

azure-mgmt-botservice-dotnet

Azure Resource Manager SDK for Bot Service in .NET. Management plane operations for creating and managing Azure Bot resources, channels (Teams, DirectLine, Slack), and connection settings. Triggers: "Bot Service", "BotResource", "Azure Bot", "DirectLine channel", "Teams channel", "bot management .NET", "create bot".

microsoft/skills · 78 tokens

cloud-architect

Designs cloud architectures, creates migration plans, generates cost optimization recommendations, and produces disaster recovery strategies across AWS, Azure, and GCP. Use when designing cloud architectures, planning migrations, or optimizing multi-cloud deployments. Invoke for Well-Architected Framework, cost…

Jeffallan/claude-skills · 71 tokens