xops-agent

xops-agent is a skill for Claude Code, Codex from wentf9/xops-cli. It costs 54 tokens per session (1,206 once invoked), scanned A, original, MIT.

A command-line toolkit for operating groups of servers and managing their files, settings, and stored host information. It can run commands on several machines at once and check whether network connections work.

In plain words
What is it for?
Use it to maintain a server inventory, run batch commands, test ports and connectivity, transfer files, synchronize configuration, and manage server assets.
Why use it?
It removes repetitive manual work when the same server-management task must be performed across many machines.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to maintain a server inventory, run batch commands, test ports and connectivity, transfer files, synchronize configuration, and manage server assets.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wentf9/xops-cli/xops-agent
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 wentf9/xops-cli --skill xops-agent
Clone the repo
git clone --depth 1 https://github.com/wentf9/xops-cli

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 xops-agent

README.md
[![agentmods](https://agentmods.dev/badge/skills/wentf9/xops-cli/xops-agent/github.svg)](https://agentmods.dev/skills/wentf9/xops-cli/xops-agent)
Your own site
<a href="https://agentmods.dev/skills/wentf9/xops-cli/xops-agent"><img src="https://agentmods.dev/badge/skills/wentf9/xops-cli/xops-agent/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 xops-agent

Your own site · 80×15
<a href="https://agentmods.dev/skills/wentf9/xops-cli/xops-agent"><img src="https://agentmods.dev/badge/skills/wentf9/xops-cli/xops-agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,206 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. ✓ AI security review Sonnet 5 · 6 Sept 2026 📄 Read the review
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.00054 $0.01206
Opus 5.5 $0.00022 $0.00482
Sonnet 5.5 $0.00011 $0.00241
Haiku 4.5 $0.00005 $0.00121

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

Security

Grade A, and why

xops-agent scanned grade A with 0 findings 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 1mo 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/xops-agent/SKILL.md · 47 lines

How it starts

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

XOps CLI operations

Perform host operations by running xops commands in the Agent's command environment. This skill works independently of MCP: it requires the CLI and its SSH configuration, not an MCP connection or MCP tool calls.

Start with the execution environment

  1. Run xops --version and the relevant xops <command> --help. Installed versions may differ from this reference. If the executable is missing, use the installation guide. Do not reinitialize an existing setup as a diagnostic step.
  2. Identify where the command runs. Local paths, SSH keys, configuration, listeners, and downloads belong to that machine or container; they may not belong to the user's desktop. Default configuration is ~/.xops/xops_config.yaml; an existing XOPS_CONFIG_DIR can select another configuration directory.
  3. Resolve the requested hosts with xops host list or xops host list --tag TAG. Match node IDs, aliases, users, ports, and jump hosts before a batch operation. For exec and scp, --host, --ifile/-I, and --tag are mutually exclusive; choose one selector and use --exclude to narrow it. Preserve the user's intended target set.
  4. Prepare trusted SSH host keys and credentials available to that process. Batch commands and Playbooks do not prompt for credential-store unlocks. Diagnose access with xops credential doctor; do not replace vaults or disable host-key verification to make a command run.

Choose the command

Read only the reference relevant to the current task.

Task CLI workflow Reference
Discover hosts, manage aliases/tags, import CSV, edit identities or credentials host, identity, credential, init Inventory and access
Run a remote command, use sudo, inspect services/logs, execute across a group exec, exec --sudo, exec --tag Execution and Playbooks
Run a local script remotely or orchestrate a deployment exec --shell, play Execution and Playbooks
Read/write/append text, list/create/copy/move/delete remote paths exec with target-native commands, or batch sftp Files and transfers
Upload/download files and directories, relay between hosts, distribute to a tag scp, batch sftp Files and transfers
Create, inspect, and stop SSH forwarding ssh -L/-R/-D -N plus owned process/session tracking Tunnels and networking
Interactive SSH and TUI ssh, exec -x, tui Execution and Playbooks

Read the full file on GitHub · 47 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago Changed · -1 lines abfe029a711e
  2. 1mo ago Changed c4b4b3244c81
  3. 1mo ago Changed · -63 lines · -2 tokens per session scan F → A 5c1bc867439e
  4. 3mo ago First seen · 111 lines · 56 tokens per session scan F 53aee0525db5

Subscribe to this mod's changes

xops-agent is a skill published in the GitHub repository wentf9/xops-cli (21 stars, last pushed 2d ago), licensed MIT. It adds 54 tokens to every session and 1,206 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

xops-agent compared with skills from other repositories

xops-agent next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
xops-agentwentf9/xops-cliSkill212d agoMITA54Claude Code, Codex
gh-skillcli/cliSkill48ktodayMITA41Claude Code, Codex
printing-press-importmvanhorn/cli-printing-pressSkill5.1ktodayMITA104Claude Code
octo-driveMininglamp-OSS/octo-cliSkill92413d agoApache-2.0A55Claude Code, Codex
code-reviewjrswab/axeSkill915todayApache-2.0A0Claude Code, Codex
octo-mailMininglamp-OSS/octo-cliSkill92413d agoApache-2.0A32Claude Code, Codex
octo-docsMininglamp-OSS/octo-cliSkill92413d agoApache-2.0A101Claude Code, Codex