deploy-operator
对登记主机上的服务做部署与运维:发布新版本(拉代码→跑部署脚本→健康检查→失败排障)、诊断异常(磁盘/日志/CPU)、自愈动作(日志截断/服务重启)。当用户要求"部署/发布/上线某服务"、"看下那台机器的日志/磁盘/CPU"、"重启服务"时使用。
Skill by Jeandoom
Chalk Labs
Need help deploying deploy-operator?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/jeandoom-deploy-operator
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: devops
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/deploy-operator
What's inside
- Skill name
deploy-operator- Description
- 对登记主机上的服务做部署与运维:发布新版本(拉代码→跑部署脚本→健康检查→失败排障)、诊断异常(磁盘/日志/CPU)、自愈动作(日志截断/服务重启)。当用户要求"部署/发布/上线某服务"、"看下那台机器的日志/磁盘/CPU"、"重启服务"时使用。
- License
- MIT
- Instructions
- 48 lines in SKILL.md · view on GitHub
Before installing
- Instructions call the network
Files (1)
- SKILL.md
SKILL.md (first lines)
# 部署运维操作规程(deploy-operator) 你(agent)通过 `donger-host` 工具集操作**已登记的主机凭证**(凭证页 kind=host;工具入参 hostCode=凭证 code)。核心原则: - **部署逻辑在仓库里,不在平台里**——先读仓库的部署方式(deploy.sh / Makefile / docker-compose.yml / README),再经 `host_exec` 执行,不凭空构造部署命令。 - **写操作一律走审批**:`host_exec` / `host_logs_clean` 每次都会弹审批卡,命令内容会完整展示给审批人——**构造命令时保持一行、可读、完整展示意图**(如 `cd /srv/app && git pull origin master && sudo systemctl restart stock`)。 - 只读诊断(`host_status` / `host_disk_usage` / `host_process_top` / `host_logs_tail`)免审批,可自由使用。 ## 标准部署流程(SOP) 1. **定位资产**:`hosts_list` 找到目标主机凭证(hostCode);仓库信息从用户给的仓库 URL / 绑定的 git 仓库获取。 2. **了解部署方式**(按优先级): - 仓库根的 `deploy.sh` / `Makefile`(看 `deploy` target)→ 首选执行入口; - `docker-compose.yml` → `docker compose up -d --build`; - 都没有 → 从服务进程形态推断(systemd unit / pm2 / 裸进程),先 `host_exec` 跑 `systemctl status <svc>` 确认再操作。 3. **确认当前状态**(部署前基线):`host_status` + 服务的健康端点(curl)。 4. **执行部署**:`host_exec` 一行命令完成"拉代码→构建/重启"(或分步执行,重大变更分步更稳)。 5. **健康检查**:`host_exec` curl 健康端点(或 `host_status` 看进程);服务日志 `host_logs_tail` 确认无异常。 6. **失败排障**(这是你区别于传统 CD 的价值):看服务日志 tail → 定位报错 → 能修则修(回滚 `git checkout <上一个 tag>` 重启 / 改回配置)→ 不能修则**带着诊断结论报告**(错误摘要+根因分析+建议),不要盲目重试。 7. **汇报**:部署了什么(ref/sha)、执行了哪些命令、健康检查结果、遗留风险。 ## 运维场景 - **磁盘告警**:`host_disk_usage` → 找大文件(`host_exec`: `du -sh /var/log/* | sort -rh | head`)→ 日志类先 `host_logs_clean` 截断(审批)→ 报告根因(是否缺轮转配置,给出 logrotate/journald 限额建议)。 - **CPU 打满**:`host_process_top` → 定位进程 → tail 其日志判断(正常高峰/死循环/重查询)→ 建议(限流/重启/扩容),重启前确认。 - **服务异常**:`host_logs_tail` 看最近日志 → `host_exec` 查服务状态 → 重启(审批)→ 验证恢复。 ## 红线 - 不执行破坏数据的命令(rm 数据目录 / drop database / 格式化);磁盘清理只截断日志文件。 - 不修改防火墙/SSH 配置/用户权限。 - 重启数据库类服务(ClickHouse/MySQL)前必须向用户说明影响并确认。 - 数据库服务器上的清理动作:只动日志与临时文件。 - 命令需要 root 时要求主机已配受限 sudoers(NOPASSWD 具体命令);不支持交互式命令(无 tty)。 ## 定制指南(agent 协助创建变体) 本技能是通用 SOP。为特定服务定制时,把以下信息固化进技能变体(在对话中让工坊/创作型智能体以本技能为模板创建,或让用户在技能页编辑): - `部署入口`:该服务仓库的部署命令(如 `cd /var/www/stock-analysis && git pull origin master && sudo systemctl restart stock`) - `健康检查`:端点与期望输出(如 `curl -sf http://127.0.0.1:8200/docs`) - `日志位置`:服务日志与相关组件日志路径(如 `/var/www/stock-analysis/logs/app.log`、`/var/log/clickhouse-server/`) - `依赖组件`:数据库/缓存等及其启动方式、已知坑(如"ClickHouse 日志级别必须 warning,曾因 trace 级打满磁盘") - `回滚方式`:上一个 tag/分支与恢复命令 定制后把变体技能挂到对应智能体上,部署对话会自然引用其 SOP。
From Jeandoom/donger, MIT.
More from Jeandoom/donger
- 0.581score
web-ui-iterate
Jeandoom
donger Web UI 渐进式迭代升级:每轮执行「清扫发现未重制件 → Penpot 补设计图 → 代码实现 → 质量门禁 + e2e 验证 → 提交部署」闭环,一轮一个 commit,直到旧样式指标清零。适用于定时巡检式 UI 升级与"继续重设计"类任务。
SkillBFreshness: B★ 7Claude Code +9 - 0.578score
skill-upgrade
Jeandoom
优化升级已有技能:基于执行证据、用户反馈或工具面变化修订现有 SKILL.md。用户反馈某技能效果差/步骤失效/引用了不存在的工具,需要修订时使用。
SkillBFreshness: B★ 7Claude Code +9 - 0.573score
task-dispatch
Jeandoom
任务分发:按系统提示中实时生成的执行智能体登记表,把用户任务路由给最合适的执行智能体,并按输出契约返回路由 JSON。仅做路由判断,不执行任务。
SkillBFreshness: B★ 7Claude Code +9 - 0.573score
skill-create
Jeandoom
创建新的平台技能(SKILL.md):把一个可复用的任务流程沉淀为标准技能。用户描述想要固化的能力/流程/规范、需要产出可安装的技能文档时使用。
SkillBFreshness: B★ 7Claude Code +9 - 0.573score
task-optimize
Jeandoom
任务优化反馈:基于指定任务的全量审计事件与用户评论,对照智能体的 skills 与知识库,产出修订提案(diff 形式)。写盘必须经审批卡人工确认。
SkillBFreshness: B★ 7Claude Code +9
Signals
- Stars
- 7
- Forks
- 4
- Open issues
- 0
- Last commit (this folder)
- Oct 1, 2026 (29 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/Jeandoom/donger
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from Jeandoom
- 0.581score
web-ui-iterate
Jeandoom
donger Web UI 渐进式迭代升级:每轮执行「清扫发现未重制件 → Penpot 补设计图 → 代码实现 → 质量门禁 + e2e 验证 → 提交部署」闭环,一轮一个 commit,直到旧样式指标清零。适用于定时巡检式 UI 升级与"继续重设计"类任务。
SkillBFreshness: B★ 7Claude Code +9 - 0.578score
skill-upgrade
Jeandoom
优化升级已有技能:基于执行证据、用户反馈或工具面变化修订现有 SKILL.md。用户反馈某技能效果差/步骤失效/引用了不存在的工具,需要修订时使用。
SkillBFreshness: B★ 7Claude Code +9 - 0.573score
task-dispatch
Jeandoom
任务分发:按系统提示中实时生成的执行智能体登记表,把用户任务路由给最合适的执行智能体,并按输出契约返回路由 JSON。仅做路由判断,不执行任务。
SkillBFreshness: B★ 7Claude Code +9 - 0.573score
skill-create
Jeandoom
创建新的平台技能(SKILL.md):把一个可复用的任务流程沉淀为标准技能。用户描述想要固化的能力/流程/规范、需要产出可安装的技能文档时使用。
SkillBFreshness: B★ 7Claude Code +9 - 0.573score
task-optimize
Jeandoom
任务优化反馈:基于指定任务的全量审计事件与用户评论,对照智能体的 skills 与知识库,产出修订提案(diff 形式)。写盘必须经审批卡人工确认。
SkillBFreshness: B★ 7Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get deploy-operator running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
deploy-operator skill. Agent Mart. https://agentmart.dev/skills/jeandoom-deploy-operator (last updated 2026-10-24)