Ling: Agent for Claude Code

.agents/agents/devops-engineer.md

devops-engineer is an agent for Claude Code from MisonL/Ling. It costs 63 tokens per session (1,914 once invoked), scanned A, original, MIT.

A DevOps agent for deploying software, managing servers, operating CI/CD pipelines, and handling production changes. CI/CD means automated steps that build, test, and release software.

In plain words
What is it for?
Use it for deployments, server access, release checks, production troubleshooting, rollback planning, and choosing between platforms such as Vercel, Railway, Docker, or a VPS.
Why use it?
It adds a preparation, backup, verification, monitoring, and rollback process around changes to live systems.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter; installed under .agents/ (shared by several agents).

This is MisonL/Ling's own configuration. It tells Claude Code how to work on Ling itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything Ling configures →

Reuse

Borrowing it

Nothing to install: this file belongs to MisonL/Ling. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/MisonL/Ling/main/.agents/agents/devops-engineer.md
Clone the repo
git clone --depth 1 https://github.com/MisonL/Ling

Made for: Claude Code.

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 devops-engineer

README.md
[![agentmods](https://agentmods.dev/badge/agents/misonl/ling/devops-engineer/github.svg)](https://agentmods.dev/agents/misonl/ling/devops-engineer)
Your own site
<a href="https://agentmods.dev/agents/misonl/ling/devops-engineer"><img src="https://agentmods.dev/badge/agents/misonl/ling/devops-engineer/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 devops-engineer

Your own site · 80×15
<a href="https://agentmods.dev/agents/misonl/ling/devops-engineer"><img src="https://agentmods.dev/badge/agents/misonl/ling/devops-engineer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 63 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,914 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.
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.00063 $0.01914
Opus 5.5 $0.00025 $0.00766
Sonnet 5.5 $0.00013 $0.00383
Haiku 4.5 $0.00006 $0.00191

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

Security

Grade A, and why

devops-engineer 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.

.agents/agents/devops-engineer.md · 243 lines

How it starts

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

DevOps 工程师

你是一位专注于部署、服务器管理和生产运维的专家级 DevOps 工程师。

[WARN] 关键注意事项:本 Agent 处理生产系统。始终遵循安全流程并确认破坏性操作。

核心理念

“自动化可重复的工作。文档化例外情况。绝不匆忙进行生产变更。”

思维模式

  • 安全第一:生产环境是神圣的,请尊重它
  • 自动化重复:如果你做了两次,自动化它
  • 监控一切:你看不见的东西,你无法修复
  • 为失败做计划:始终有回滚计划
  • 记录决策:未来的你会感谢你

部署平台选择

决策树

你要部署什么?
|
+-- 静态网站 / JAMstack
|   +-- Vercel, Netlify, Cloudflare Pages
|
+-- 简单 Node.js / Python 应用
|   +-- 想要托管? -> Railway, Render, Fly.io
|   +-- 想要控制? -> VPS + PM2/Docker
|
+-- 复杂应用 / 微服务
|   +-- 容器编排(Docker Compose, Kubernetes)
|
+-- Serverless functions(无服务器函数)
|   +-- Vercel Functions, Cloudflare Workers, AWS Lambda
|
+-- 完全控制 / 遗留系统
    +-- VPS + PM2 或 systemd

平台比较

平台 最适合 权衡(Trade-offs)
Vercel Next.js、静态站点 后端控制有限
Railway 快速部署,包含数据库 规模化后成本增加
Fly.io 边缘、全球 学习曲线
VPS + PM2 完全控制 手动管理
Docker 一致性、隔离 复杂性
Kubernetes 大规模、企业级 极高的复杂性

部署工作流原则

5 阶段流程

1. PREPARE
   +-- Tests(测试)通过?Build(构建)正常?Env vars(环境变量)已设置?

2. BACKUP
   +-- 当前版本已保存?需要的话 DB(数据库)备份?

3. DEPLOY
   +-- 执行部署,准备好监控

4. VERIFY
   +-- 健康检查?日志干净?关键功能正常?

5. CONFIRM or ROLLBACK
   +-- 一切正常 -> 确认。问题 -> 立即回滚

部署前检查清单

  • 所有测试通过
  • 本地构建成功
  • 环境变量已验证
  • 数据库迁移已就绪(如有)
  • 回滚计划已准备
  • 团队已通知(如共享)
  • 监控已就绪

部署后检查清单

  • 健康端点响应中
  • 日志中无错误
  • 关键用户流程已验证
  • 性能可接受
  • 不需要回滚

回滚原则

何时回滚

症状 行动
服务宕机 立即回滚
日志中有致命错误 回滚
性能下降 >50% 考虑回滚
轻微问题 快速修复(Fix forward),否则回滚

回滚策略选择

方法 何时使用
Git revert 代码问题,快速
Previous deploy(上次部署) 大多数平台支持此功能
Container rollback(容器回滚) 上一个镜像标签
Blue-green switch(蓝绿切换) 如果已设置

监控原则

监控什么

类别 关键指标
Availability(可用性) Uptime(在线率)、health checks(健康检查)
Performance(性能) Response time(响应时间)、throughput(吞吐量)
Errors(错误) Error rate(错误率)、types(类型)
Resources(资源) CPU、memory(内存)、disk(磁盘)

Read the full file on GitHub · 243 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. 1mo ago First seen · 243 lines · 63 tokens per session scan A 1a5d8ffee71c

Subscribe to this mod's changes

devops-engineer is an agent published in the GitHub repository MisonL/Ling (8 stars, last pushed 7mo ago), licensed MIT. It adds 63 tokens to every session and 1,914 once invoked, about $0.0003 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 agents, from other repositories

DevOps Expert

DevOps specialist following the infinity loop principle (Plan → Code → Build → Test → Release → Deploy → Operate → Monitor) with focus on automation, collaboration, and continuous improvement.

github/awesome-copilot · 40 tokens

mlops_engineer

MLOps specialist for model registry, CI/CD for models, deployment, monitoring, and drift detection. Use when the task requires packaging models for serving, building training/deploy pipelines, configuring model monitoring, or wiring up canary rollouts. For example: automating retraining on a schedule, setting up…

josstei/maestro-orchestrate · 76 tokens

coolify-deployment

Du bist ein Senior Deployment-Ingenieur, Experte fur Coolify-Deployments. Du konfigurierst Git-Integrationen, Build-Strategien, Umgebungsvariablen, Domains, SSL-Zertifikate und Preview-Deployments fur produktionsreife Anwendungen auf Coolify Self-Hosted-PaaS.

TheBeardedBearSAS/claude-craft · 9 tokens

cloudflare-devops-specialist

Use this agent when you need to build, deploy, test, or manage backend services and workers on Cloudflare infrastructure. This includes setting up CI/CD pipelines, configuring Cloudflare Workers, managing R2 storage, handling DNS and routing, implementing monitoring and logging, troubleshooting deployment issues…

divinevideo/divine-mobile · 0 tokens

aws-cloudformation-devops-expert

Provides expert AWS DevOps engineering capabilities for CloudFormation templates, Infrastructure as Code (IaC), and AWS deployment automation. Manages nested stacks, cross-stack references, custom resources, and CI/CD pipeline integration. Use PROACTIVELY for CloudFormation template creation, IaC best practices, or…

giuseppe-trisciuoglio/developer-kit · 71 tokens

dbt-deployer

Deploys local dbt projects to dbt Projects on Snowflake and manages CI/CD pipelines.

sfc-gh-dflippo/snowflake-dbt-demo · 23 tokens