06-部署和运维

06-部署和运维 is a skill for Claude Code, Codex from xcodethink/open-claude-code-skills. It costs 215 tokens per session (1,185 once invoked), scanned A, original, MIT.

Chinese-language deployment and operations instructions for releasing software on platforms such as Cloud Run, Vercel, Cloudflare, Docker, and WeChat mini programs.

In plain words
What is it for?
Preparing and performing deployments, managing configuration, checking a release before and after launch, responding to failures, and recording what was released.
Why use it?
It provides checklists and procedures for environment variables, validation, monitoring, security checks, rollbacks, and release records.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/xcodethink/open-claude-code-skills/06
Any agent
npx skills add xcodethink/open-claude-code-skills --skill 06
Clone the repo
git clone --depth 1 https://github.com/xcodethink/open-claude-code-skills

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 06-部署和运维

README.md
[![agentmods](https://agentmods.dev/badge/skills/xcodethink/open-claude-code-skills/06.svg)](https://agentmods.dev/skills/xcodethink/open-claude-code-skills/06)
Your own site
<a href="https://agentmods.dev/skills/xcodethink/open-claude-code-skills/06"><img src="https://agentmods.dev/badge/skills/xcodethink/open-claude-code-skills/06.svg" alt="Measured on agentmods" height="20"></a>
Per session 215 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,185 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00215 $0.01185
Opus 5 $0.00108 $0.00593
Sonnet 5 $0.00043 $0.00237
Haiku 4.5 $0.00021 $0.00119

Measured 4d ago against content hash 4e8cb118b35c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

06-部署和运维 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 4d 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/06-部署和运维/SKILL.md · 55 lines

What it actually says

部署和运维

部署流程

选择对应平台的文档:

  • 部署流程/cloud-run部署.mdGoogle Cloud Run 部署规范(主力平台)、DEPLOY.md 模板、回滚方法、OAuth 配置
  • 部署流程/vercel部署.md — Vercel 完整部署规范(环境变量、Serverless、域名、回滚)
  • 部署流程/cloudflare-workers部署.md — Cloudflare Workers/Pages/D1/KV 完整规范
  • 部署流程/docker部署.md — Docker 容器化部署
  • 部署流程/小程序发布.md — 微信小程序发布流程

通用规范

  • 部署流程/环境变量管理.md — 环境变量命名、.env 文件体系、各平台配置方式、泄露应急
  • 部署流程/部署前检查清单.md — 部署前必过清单(代码、环境变量、数据库、回滚准备、Cloud Run 专项、OAuth 检查、AI 功能检查、监控检查)

运维检查

  • 运维检查/部署后验证清单.md — 部署后验证(页面、API、数据、SEO)
  • 运维检查/更新部署流程.md — 常规更新/紧急修复/数据库迁移协调/回滚操作
  • 运维检查/安全检查清单.md — 安全审计(认证、HTTP 头、CORS、API 安全、密钥管理)
  • 运维检查/定时任务规范.md — Claude Code Scheduled Tasks 配置 + 传统 cron/systemd timer(频率选择、权限控制、Worktree 隔离、推荐任务模板、监控告警)

监控告警 / 可观测性 / 事件管理 / 埋点集成的详细规范,统一在 12-系统监控和告警/详细规范/ 下:

  • 12-系统监控和告警/SKILL.md — 基础层(Lark 告警 / 健康检查 / 结构化日志 / 审计日志)+ Tier 2 商业级 incident-management
  • 12-系统监控和告警/详细规范/监控告警.md — 全链路 4 层监控架构、8 项必监控环节、告警通道模板
  • 12-系统监控和告警/详细规范/可观测性规范.md — Metrics / Logs / Traces 三支柱、SLO/SLI 定义
  • 12-系统监控和告警/详细规范/事件管理规范.md — 严重度 P0-P3、响应 SLA、复盘流程
  • 12-系统监控和告警/详细规范/系统埋点与告警集成标准.md — 埋点分类、告警代码模板
  • 运维检查/发布记录规范.md每次部署必须留记录:CHANGELOG.md + docs/releases/ 两层文件结构、记录模板、scripts/record-release.sh 生成脚本、接入 checklist

踩坑记录

部署中遇到的问题持续记录在这里,避免同一个坑踩两次。

  • 运维检查/部署踩坑记录.md — 踩坑记录规范(何时记录、格式、维护规则)
  • 踩坑记录/vercel.md — Vercel 平台踩坑
  • 踩坑记录/cloudflare.md — Cloudflare 平台踩坑
  • 踩坑记录/prisma.md — Prisma / 数据库踩坑
  • 踩坑记录/general.md — 通用部署踩坑(DNS、SSL、环境变量、第三方服务)

与其他规范的关系

主题 本技能覆盖 其他技能覆盖
回滚决策流程 各平台回滚操作步骤 01-通用要求/回滚和应急规范.md(决策流程、事故复盘)
部署配置记录 如何部署到各平台 01-通用要求/项目专属文档规范.md(docs/deployment/ 文件夹)
版本管理 部署时的版本检查 01-通用要求/版本和变更管理.md(CHANGELOG、Git Tag)
Files

What ships with it

27 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. 4d ago First seen · 55 lines · 215 tokens per session scan A 4e8cb118b35c

Subscribe to this mod's changes

06-部署和运维 is a skill published in the GitHub repository xcodethink/open-claude-code-skills (2 stars, last pushed 29d ago), licensed MIT. It adds 215 tokens to every session and 1,185 once invoked, about $0.0011 per session on Opus 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.