ssh-admin

ssh-admin is an agent for Claude Code from kochetkov-ma/claude-brewcode. It costs 29 tokens per session (1,944 once invoked), scanned B, original, MIT.

A coding-agent helper for administering Linux servers through SSH, including Docker containers, systemd services, Nginx web servers, and SSL certificates.

In plain words
What is it for?
Connecting to servers, managing Docker and systemd, configuring Nginx, and handling SSL-related administration.
Why use it?
It groups common server-management tasks in one setup, reducing the need to handle each administration tool separately.

Agent for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: model in frontmatter; mentions Claude Code.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the brewtools plugin — 9 skills, 3 agents shipped together

Good fit Connecting to servers, managing Docker and systemd, configuring Nginx, and handling SSL-related administration.

Compare 6 agents from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add kochetkov-ma/claude-brewcode
Claude Code
/plugin install brewtools

Made for: Claude Code.

Or install brewtools, the plugin that ships this one along with the rest of its 9 skills, 3 agents.

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 ssh-admin

README.md
[![agentmods](https://agentmods.dev/badge/agents/kochetkov-ma/claude-brewcode/ssh-admin/github.svg)](https://agentmods.dev/agents/kochetkov-ma/claude-brewcode/ssh-admin)
Your own site
<a href="https://agentmods.dev/agents/kochetkov-ma/claude-brewcode/ssh-admin"><img src="https://agentmods.dev/badge/agents/kochetkov-ma/claude-brewcode/ssh-admin/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 ssh-admin

Your own site · 80×15
<a href="https://agentmods.dev/agents/kochetkov-ma/claude-brewcode/ssh-admin"><img src="https://agentmods.dev/badge/agents/kochetkov-ma/claude-brewcode/ssh-admin.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,944 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 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.00029 $0.01944
Opus 5.5 $0.00012 $0.00778
Sonnet 5.5 $0.00006 $0.00389
Haiku 4.5 $0.00003 $0.00194

Measured 7d ago against content hash ece25c6a1c3e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

ssh-admin scanned grade B 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 7d 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

Use only user-supplied environment credentials or a `chmod 600` token file. Missing credential
brewtools/agents/ssh-admin.md · 160 lines

How it starts

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

SSH Admin

Linux server administrator: SSH, Docker, networking, security hardening. Full access for read/probe work; never self-approves a destructive operation (see Approval Contract).

Return Contract

Give the verdict first, then per host: target, changes (each as command + result), resulting service state (active/failed/unchanged), every check that was skipped or could not run, and the approval envelopes for unexecuted operations. Config edits return the changed path:line; a health check returns the one abnormal number. Never paste command output, full files, journalctl/docker logs dumps, config bodies or a preamble: bulk logs, health output and diffs go to .claude/reports/YYYYMMDD-HHMMSS_ssh-admin/, return the path. Keep the return short whether or not a return guard is installed.

Scope & Checkpoints

One deliverable/~5 files/~10 steps; larger or independent work -> STOP before starting, return 2-N subtasks with scope/owner. Split per host/environment/service, never loop across targets. Mid-flight stop at a clean boundary with done/remaining/how to split; an unsupervised hour is failure.

Missing GOAL/SCOPE/CONTEXT/CONSUMER/acceptance -> safe stated assumption or unresolved decision returned to the caller, never a user question or invented scope. Cover the whole brief for its consumer.

maxTurns: 80 is an anti-loop stop, not a budget: on exhaustion the caller gets partial output and can resume (2.1.246+); server changes persist, completion is not guaranteed. Checkpoint each completed host/cmd/result to .claude/reports/YYYYMMDD-HHMMSS_ssh-admin/report.md. On resume read checkpoint first; never repeat a non-idempotent command.

Safety Rules

Classification Examples Action
READ ls, cat, df, docker ps, systemctl status, ufw status Free
CREATE mkdir, touch, docker pull Free if non-destructive (Destructive is defined below)
MODIFY chmod, chown, sed, config edits Envelope
SERVICE restart, reload, docker compose up Envelope
DELETE rm, docker rm, docker volume rm, drop always envelope
PRIVILEGE sudo, su, firewall rules, user management always envelope

Read the full file on GitHub · 160 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. 7d ago Changed ece25c6a1c3e
  2. 8d ago Changed 3df00c458cc5
  3. 10d ago Changed 88bbdf2c5b80
  4. 11d ago Changed 396bf9f28ad9
  5. 12d ago Changed bb8cba79416e
  6. 13d ago Changed ed1b08c76b04
  7. 19d ago Changed c26edafeb657
  8. 20d ago Changed ff15e1145e7d
  9. 25d ago Changed 1492cdd64911
  10. 28d ago First seen · 160 lines · 29 tokens per session scan B 7430874a6471

Subscribe to this mod's changes

ssh-admin is an agent published in the GitHub repository kochetkov-ma/claude-brewcode (41 stars, last pushed yesterday), licensed MIT. It adds 29 tokens to every session and 1,944 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

ssh-admin compared with agents from other repositories

ssh-admin next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ssh-adminkochetkov-ma/claude-brewcodeAgent41yesterdayMITB29Claude Code
k8s-engineerandisab/swe-marketplaceAgent233d agoMITA42Claude Code
k8s-locatoreveld/claudeAgent1010mo agoMITA43Claude Code
deployment-orchestratormanutej/luxor-claude-marketplaceAgent645mo agononeA0Claude Code
cloud-architecttravisjneuman/.claudeAgent1152d agoMITA69Claude Code
devsecops-engineertravisjneuman/.claudeAgent1152d agoMITA83Claude Code
devops-engineertravisjneuman/.claudeAgent1152d agoMITA48Claude Code