xops-agent

xops-agent is a skill for Claude Code, Codex from wentf9/xops-cli. It costs 54 tokens per session (1,272 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,272 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.01272
Opus 5.5 $0.00022 $0.00509
Sonnet 5.5 $0.00011 $0.00254
Haiku 4.5 $0.00005 $0.00127

Measured 10d ago against content hash 5c1bc867439e, 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 10d 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 · 48 lines

How it starts

The opening of the file, as written. The whole thing — 48 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
Manage firewalls, check DNS/ICMP/TCP, use netcat or a local TCP/UDP relay firewall, dns, ping, nc, forward Tunnels and networking
Interactive SSH/TUI, local privilege elevation, text encoding ssh, exec -x, tui, sudo, encode Execution and Playbooks

Read the full file on GitHub · 48 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. 10d ago Changed · -63 lines · -2 tokens per session scan F → A 5c1bc867439e
  2. 1mo 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 3d ago), licensed MIT. It adds 54 tokens to every session and 1,272 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

Other skills, from other repositories

go-127

What changed in Go 1.27 (released August 2026) and how it changes the way Go is written in pi-go. Use this skill when writing or reviewing Go that could use a 1.27 feature, when bumping the go directive in go.mod, when a build or test behaves differently after a toolchain upgrade, or when code-guidelines-go points…

dimetron/pi-go · 177 tokens

code-guidelines-go

Go 1.24–1.27 coding guidelines for the dimetron/pi-go AI agent runtime. Use this skill whenever writing, reviewing, or refactoring ANY Go code in pi-go. This covers idiomatic style, error handling, concurrency, project layout, testing (table-driven, fuzz, benchmarks, synctest), new stdlib usage, golangci-lint v2…

dimetron/pi-go · 124 tokens

bubbletea-testing

Use this skill whenever writing tests for Bubble Tea (charmbracelet/bubbletea) TUI applications in Go. Triggers include any mention of testing Bubble Tea models, teatest, golden file testing for TUIs, testing tea.Cmd or tea.Msg, snapshot testing terminal output, or writing tests for any Go CLI/TUI that uses the Elm…

dimetron/pi-go · 139 tokens

vhs-e2e-gif

Record a test run, a TUI session, or any terminal command as a GIF with VHS and attach it to a GitHub PR as a release-hosted asset, never a repo commit. Use when asked to record an e2e run, demo a fix on a PR, attach a GIF or screen recording to a pull request, show a test passing visually, or produce a terminal…

dimetron/pi-go · 106 tokens

check-linters-before-commit

Before any commit, run linters, vet, tests, and build verification; do not commit until checks pass.

dimetron/pi-go · 30 tokens

write-tests

Writes a unit test for one Python function. Use when the user asks for tests of existing code; not for integration tests.

Goldziher/ai-rulez · 28 tokens