AGENTS.mdA

AGENTS.md from wentf9/xops-cli is an AGENTS.md file: the standing instructions coding agents read in that repo.

Install it, pinned
mdr add wentf9/xops-cli/AGENTS.md@git:20261014.1948b49

Pins git:20261014.1948b49 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 14 of 14 checks passed
Kind
AGENTS.md file
Repository
wentf9/xops-cli
Path
AGENTS.md
Versions recorded
5
Latest version
git:20261014.1948b49, committed Oct 14, 2026
First version recorded
Mar 17, 2026
Size
5,771 bytes
Repository stars
21
License
MIT

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# AI 助手开发协作指南 (AGENTS.md)

## 0. 优先级与工作模式

- 接受任何开发任务前,先说明:用户目标、相关模块、已定位的源文件、预计更改范围、验证方法、仍需确认的事实。
- **调查 / 文档生成**:默认只读,不修改源码/配置,不运行可能创建凭据、执行远程命令或修改主机的操作。
- **开发**:先提交简短影响分析;跨越两个以上子系统(`core/ssh`, `core/mcp`, `pkg/config`, `pkg/credential`, `internal/mcphost`, `pkg/playbook`, `cmd`)或触及持久化/授权/协议/兼容性时,先给方案并明确验收门槛。
- 禁止凭名称猜测模块职责、编造函数、编造测试结果;重要事实附 `路径:符号`,必要时附准确行号。无法确认时写「待验证」。
- 先阅读 `docs/development/governance/architecture-map.md` 的导航与与任务有关的已有设计,再精确阅读被修改代码;不强制每次通读全部文档。

## 1. 不可破坏的包边界

- `cmd/`:Cobra 命令注册、参数解析、表现层与 CLI 组合根;不在此创建第二套 SSH/SFTP、配置持久化或 MCP 策略引擎。
- `pkg/config/`:配置 `Repository` 是持久变更边界,`Provider` 提供版本一致的读取视图;已有事务/冲突/持久性语义不可绕过。
- `pkg/credential/` 与 `internal/credentialfile/`:凭据服务、引用和离线凭据持久化;禁止将明文写回遗留字段、日志或错误。
- `pkg/adapter/`、`internal/sshenv/`、`internal/mcphost/`:将应用配置、认证、运行环境和策略装配到 `core/`;不得在 core 中重新引入 CLI 依赖。
- `core/ssh/`、`core/sftp/`:唯一共享 SSH/SFTP 执行与传输能力;新能力优先在现有入口中扩展。
- `core/mcp/{ports,sshexec,state,guardrail,runtime,transfer,tunnel}`:协议契约、执行后端、状态准入、护栏、运行时与任务生命周期各有边界;不可因为“调用更简单”绕开 permit、binding、policy 或 snapshot。
- `pkg/playbook/`:编排、步骤结果、重试政策;不能自行再实现一套 SSH 远程执行器。
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add wentf9/xops-cli/AGENTS.md@sha256:b431e777ce7bd131

The line at the top of this page pins the label git:20261014.1948b49, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_q7v6petsddtzsk62.svg)](https://markdownregistry.com/a/art_q7v6petsddtzsk62)

1 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 5 versions of this file, between Mar 17, 2026 and Oct 14, 2026, about one every 53 days.

versioncommittedcommitsizeaudit
git:20261014.1948b49 latest2026-10-14 1948b49 5,771 BA view · diff
git:20260528.d5001ef2026-05-28 d5001ef 3,100 BA view · diff
git:20260528.8c749512026-05-28 8c74951 3,294 BA view · diff
git:20260403.ba401082026-04-03 ba40108 3,302 BA view · diff
git:20260317.4aebbdf2026-03-17 4aebbdf 4,272 BA view

Audit of the latest version

A  14 of 14 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Size between 200 bytes and 200 KB (5771 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

wentf9/xops-cli · 21 stars · license MIT · pushed 2026-11-02 · branch master

API

GET https://markdownregistry.com/api/v1/artifacts/art_q7v6petsddtzsk62
GET https://markdownregistry.com/api/v1/resolve?ref=wentf9/xops-cli/AGENTS.md
GET https://markdownregistry.com/api/v1/blob/b431e777ce7bd1316939ebbbeebe0f6c74382599d76c33223c9271c70a0f63cc

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: how to write a good AGENTS.md · AGENTS.md vs CLAUDE.md · which agent file does what.

More from wentf9/xops-cli

AGENTS.md@cmd AGENTS.md file
wentf9/xops-cli · cmd/AGENTS.md
git:20261014.1948b49 · audit A · 21 stars
AGENTS.md@core AGENTS.md file
wentf9/xops-cli · core/AGENTS.md
git:20261014.1948b49 · audit A · 21 stars
AGENTS.md@core/mcp AGENTS.md file
wentf9/xops-cli · core/mcp/AGENTS.md
git:20261014.1948b49 · audit A · 21 stars
AGENTS.md@core/ssh AGENTS.md file
wentf9/xops-cli · core/ssh/AGENTS.md
git:20261014.1948b49 · audit A · 21 stars
AGENTS.md@internal/mcphost AGENTS.md file
wentf9/xops-cli · internal/mcphost/AGENTS.md
git:20261014.1948b49 · audit A · 21 stars
AGENTS.md@pkg/config AGENTS.md file
wentf9/xops-cli · pkg/config/AGENTS.md
git:20261014.1948b49 · audit A · 21 stars
AGENTS.md@pkg/credential AGENTS.md file
wentf9/xops-cli · pkg/credential/AGENTS.md
git:20261014.1948b49 · audit A · 21 stars
AGENTS.md@pkg/playbook AGENTS.md file
wentf9/xops-cli · pkg/playbook/AGENTS.md
git:20261014.1948b49 · audit A · 21 stars
xops-agent SKILL.md skill
wentf9/xops-cli · skills/xops-agent/SKILL.md · Use the xops CLI to manage SSH hosts, run remote or batch commands, inspect and edit remote files, transfer data…
git:20261101.5255f15 · audit A · 21 stars

Every file in wentf9/xops-cli

Other files named AGENTS.md

AGENTS.md AGENTS.md file
morluto/rea · AGENTS.md
git:20261101.d684125 · audit A · 417,919 stars
AGENTS.md AGENTS.md file
obra/superpowers · AGENTS.md
git:20261020.b739a8a · audit A · 309,852 stars
AGENTS.md AGENTS.md file
affaan-m/ecc · AGENTS.md
git:20261030.f29e332 · audit A · 293,827 stars
AGENTS.md AGENTS.md file
firecrawl/firecrawl · AGENTS.md
git:20261008.5a75dca · audit A · 198,353 stars
AGENTS.md AGENTS.md file
dietrichgebert/ponytail · AGENTS.md
git:20261008.2a1fe84 · audit A · 182,080 stars
AGENTS.md AGENTS.md file
graphify-labs/graphify · AGENTS.md
git:20260926.98d73fe · audit A · 139,879 stars
AGENTS.md AGENTS.md file
garrytan/gstack · AGENTS.md
git:20261027.a50cf58 · audit A · 138,879 stars
AGENTS.md AGENTS.md file
juliusbrussee/caveman · AGENTS.md
git:20260902.d9faebc · audit A · 116,476 stars

Browse by kind, by grade A, or by owner.