ssh-mcp-pro AGENTS.md

ssh-mcp-pro AGENTS.md is an instructions file for Codex, OpenCode from oaslananka/ssh-mcp-pro. It costs 1,363 tokens per session, scanned B, original, MIT.

Project instructions for using ssh-mcp-pro, a tool that lets an agent inspect and operate remote computers through SSH.

In plain words
What is it for?
Use them when connecting to hosts, running commands, changing files, managing processes or services, installing packages, or opening tunnels. Explain mode previews potentially changing actions before execution.
Why use it?
They provide safe defaults and a consistent process for checking host identity, reviewing policy, and handling privileged or destructive actions.

Instructions file for CodexOpenCode

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.

agentmods
npx agentmods add instructions/oaslananka/ssh-mcp-pro/agents-md
Clone the repo
git clone --depth 1 https://github.com/oaslananka/ssh-mcp-pro

Made for: Codex, OpenCode.

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-mcp-pro AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/oaslananka/ssh-mcp-pro/agents-md.svg)](https://agentmods.dev/instructions/oaslananka/ssh-mcp-pro/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/oaslananka/ssh-mcp-pro/agents-md"><img src="https://agentmods.dev/badge/instructions/oaslananka/ssh-mcp-pro/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,363 This file is loaded in full into every session.
When invoked 1,363 The same file — it is already loaded in full.
Security scan B 1 finding. Scan, not verified.
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 $0.01363 $0.01363
Opus 5 $0.00681 $0.00681
Sonnet 5 $0.00273 $0.00273
Haiku 4.5 $0.00136 $0.00136

Measured 4d ago against content hash c7d49866d51b, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade B, and why

ssh-mcp-pro AGENTS.md 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 4d 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.

directs the agent to use explain mode or policy resources and to call out sudo needs, destructive operations, path policy, rollback, commands, and files that
AGENTS.md · 128 lines

How it starts

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

AGENTS.md - ssh-mcp-pro

Guidance for AI agents using ssh-mcp-pro v2.

Quick Start

{
  "name": "ssh-mcp-pro",
  "command": "ssh-mcp-pro",
  "type": "stdio"
}

Secure Defaults

  • Host-key verification is strict by default.
  • Root SSH login is denied unless policy allows it.
  • Raw proc_sudo is denied unless policy allows it.
  • Destructive commands and filesystem operations are policy-controlled.
  • Use policyMode: "explain" before mutations when you need a plan or user confirmation.
  1. ssh_list_configured_hosts to discover aliases when useful.
  2. ssh_open_session with hostKeyPolicy: "strict" or expectedHostKeySha256.
  3. os_detect to learn platform capabilities.
  4. Read ssh-mcp-pro://policy/effective before privileged or destructive work.
  5. Use task tools: fs_*, proc_exec, ensure_*, file_*, tunnel_*.
  6. ssh_close_session when work is complete.

Explain Mode

Use explain mode when a request may mutate a remote host, change files, start or stop services, install packages, open tunnels, or require user approval before execution. Explain mode is a planning and policy-preview path; it is not a permission bypass and it does not execute the requested mutation.

Use policyMode: "explain" when you need a non-mutating preview from normal SSH tools. For example, ssh_open_session with policyMode: "explain" returns a connection plan with wouldConnect instead of opening a live SSH connection. Write, transfer, process, ensure, and tunnel tools that honor the session policy mode return explain-only plans instead of performing the change.

Use policyMode: "enforce" only after the plan has been reviewed, the target host and path are correct, strict host-key verification is active, and the effective policy allows the concrete operation. Enforce mode is the default mode for actual work.

Connector clients can use ssh_policy_explain before opening sessions or running task tools. It evaluates an optional hostAlias, action class, command, and path against policy, returns executed: false, includes the policy decision, and marks non-inspection requests as requiring explicit user confirmation.

Read the full file on GitHub · 128 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. 4d ago First seen · 128 lines · 1,363 tokens per session scan B c7d49866d51b

Subscribe to this mod's changes

ssh-mcp-pro AGENTS.md is an instructions file published in the GitHub repository oaslananka/ssh-mcp-pro (2 stars, last pushed 1mo ago), licensed MIT. It adds 1,363 tokens to every session, about $0.0068 per session on Opus 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-31.