AGENTS.md@cmdA
AGENTS.md@cmd from wentf9/xops-cli is an AGENTS.md file: the standing instructions coding agents read in that repo.
mdr add wentf9/xops-cli/cmd/AGENTS.md@git:20261014.1948b49Pins 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
cmd/AGENTS.md- Versions recorded
- 1
- Latest version
- git:20261014.1948b49, committed Oct 14, 2026
- Size
- 1,104 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
# cmd/ — CLI 入口和命令组合 - `cmd/cli/main.go` 负责进程入口与语言初始化;`cmd/root.go` 创建 Cobra root、构造 `EncryptedRuntime`、注入 credential runtime、注册命令。 - `cmd/ssh.go`、`cmd/exec.go`、`cmd/scp.go`、`cmd/sftp.go`、`cmd/play.go`、`cmd/mcp.go` 主要负责 CLI 入口、参数语义和编排;底层功能按既有分层调用 `core/`、`pkg/`、`internal/`。 - 新 flag 必须明确:缺省行为、显式传值、互斥/组合限制、帮助文案和中英文 docs;绝不能因新 flag 默默更改已有行为。 - 命令行资源归属应清楚:config runtime/credential registry、SSH connector、stdio/PTY、子进程;出错也必须回收。 - 不能直接把配置写进 YAML 而绕开 `pkg/config.Repository`,也不能把明文密码写入配置字段。 - 不要为了复用把 Cobra 参数或 UI 类型放入 core;抽取适当的核心契约并由 CLI 适配。 - 需检查 `cmd/*_test.go`、`cmd/host/*_test.go` 与跨 OS 终端 fixture。验证 `go test ./cmd/...`,改变 SSH/凭据/MCP 需额外跑相应底层包测试。
Read the whole file at its exact version.
How to install
mdr add wentf9/xops-cli/cmd/AGENTS.md@sha256:3e9982aa82421d2aThe 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.
[](https://markdownregistry.com/a/art_jvqdecacsnxzan37)
1 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 1 version of this file, committed on Oct 14, 2026.
Audit of the latest version
- pass: Size between 200 bytes and 200 KB (1104 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
wentf9/xops-cli · 21 stars · license MIT · pushed 2026-11-02 · branch master
API
GET https://markdownregistry.com/api/v1/artifacts/art_jvqdecacsnxzan37 GET https://markdownregistry.com/api/v1/resolve?ref=wentf9/xops-cli/cmd/AGENTS.md GET https://markdownregistry.com/api/v1/blob/3e9982aa82421d2a27d5f411f233dca05207fef7e2b3e21e5b61daca0efffbb5
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.