用户让 Claude 执行服务器健康检查、云配置选型(识别 RAM 为瓶颈并标记 ARM 陷阱),以及通过 API 重启和代理配置恢复一台无法访问的日本服务器。Claude 还将 CloudCLI 部署为 systemd 服务、配置 Beszel 监控、设置 Termius SSH 密钥认证,并管理 QQ Bot 会话重置以防止 529 过载错误。
战略分析与可视化 Artifacts约 6 个会话
用户请求了多项数据驱动的战略分析,包括平台扩张方案、GLM-5.2 配额策略、黑客松作战计划,以及 AI 孵化器平面图概念。Claude 将分析与部署的交互式网页/仪表盘 Artifacts 配套呈现,并将策略决策持久化到 memory,偶尔受 API 过载限制。
需求类型分布
部署
18
功能开发
14
文档
14
版本控制
8
修复 Bug
4
服务器诊断
4
常用工具 Top
Bash
4121
Edit
1648
Read
1376
TaskUpdate
486
Write
374
TaskCreate
302
编程语言
TypeScript
1420
Markdown
1162
Python
297
JavaScript
98
HTML
58
JSON
38
会话类型
多任务
29
单任务
15
迭代优化
4
快速提问
1
使用方式
你的工作方式更像一个编排自主 agent 的技术项目负责人,而非亲力亲为的编码者。你的标志性操作是写审循环:反复让 Claude 开发某项功能,然后由一台独立的笔记本 Claude Code 实例对代码进行审核,直到获得「PASS」裁定——这个模式如此核心,以至于你将其封装成了可复用的 /wrloop 技能。你大量授权并提前赋予自主权(「已批准自主执行」),倾向于在任务开始时锁定决策和约束条件(如「锁定决策后跑循环」),而非逐步微管理。如此庞大的工具调用量——4,121 次 Bash、486 次 TaskUpdate、302 次 TaskCreate——说明你信任 Claude 能在多台机器和服务器之间独立运行长达多步的部署与审核流程。
尽管给予了充分自主权,你对部署安全的掌控却十分强硬。你始终在测试(106)和生产(175)服务器之间划出清晰的界限,并明确隔离高风险变更——「仅部署 web 安全功能,排除小程序改动」或「按要求提交代码但不部署到 175」。当 Claude 的 Auto 模式分类器把你的「同意」理解为仅批准代码计划而非生产部署时,这种摩擦恰恰体现了你刻意的门控设计,而非粗心。你也会在 Claude 跑偏时及时纠偏:要求它把渲染任务委托给笔记本而非自己做、纠正 changelog 文件路径、在它过度设计时叫它「保持简单」。这些都是精准的干预——你放手让 Claude 跑,但能迅速发现错误方向。
你最大的痛点不是 Claude 的能力,而是基础设施脆弱性:反复出现的 529/429 API 过载和配额耗尽阻断了整个会话,迫使你输了 11 次「继续」或临时切换模型。值得注意的是,有时你比 Claude 更清楚更快的诊断路径——你建议直接读取笔记本 Claude 的 transcript,而 Claude 还在从空日志里低效推断进程状态。这体现了一个以系统思维运作、跨机器协调工作流、把 Claude 当作自己设计的验证框架中执行引擎的深度技术操作者。从结果看也正是如此:49 个分析会话中 38 个完全达成,失败原因几乎全部归咎于外部 API 阻断,而非理解偏差。
核心模式:跨多台机器编排自主「写-独立审」循环,赋予 Claude 充分执行自主权,同时严格执行测试-生产隔离部署门控。
Create .claude/skills/deploy/SKILL.md:
# Deploy
Deploy from git-HEAD only. Test on 106, verify green, then ask explicit confirmation before pushing to 175 prod. Update content/docs/changelog.md and commit.
claude mcp add github -- npx -y @modelcontextprotocol/server-github
新的使用方式
直接粘贴到 Claude Code,它会引导你完成。
防范 API 过载卡顿
多个会话被反复出现的 529/429 过载错误完全阻断,白白消耗了大量重试次数。
你有多个未完成(not_achieved)的会话(Logo 设计、拖拽上传、定时任务)是因为 GLM 网关/中继 API 过载导致 11 次以上重试全部失败。建议内置备用模型切换,避免将关键自动化任务绑定到配额受限的端点。在启动笔记本审核循环前先检查配额。
粘贴到 Claude Code:
Before starting this task, check the current API/quota status of the gateway. If overloaded or near quota limit, tell me immediately and suggest switching models rather than retrying repeatedly.
控制响应长度不超出 token 限制
Claude 的响应反复超出 500 token 输出上限,触发 API 报错。
在写审循环会话中你的输出预算受限,但 Claude 生成了过长的响应触发了报错。指示 Claude 保持状态更新简短,对较长的交付物进行分块。这在自动化 wrloop 运行中尤其重要。
粘贴到 Claude Code:
Keep all status responses under 400 tokens. For long deliverables, write to a file and report only a 2-line summary.
Deploy using files from git HEAD only (git archive or checkout to a clean dir), never the live working tree, since parallel processes may revert files.
未来展望
AI 辅助开发正在从单会话编程帮助转向完全自主的写审部署循环,由监督 agent 在多台机器上门控工作。
Upgrade my /wrloop skill into a resilient autonomous write-review-deploy pipeline. Requirements: (1) a writer agent implements the next batch against the PRD; (2) an independent reviewer subagent audits the code against the PRD and existing tests and emits a PASS/FAIL verdict; (3) on any 429/529/overload error, automatically retry with exponential backoff and fail over to an alternate model gateway instead of stopping; (4) diagnose reviewer health by reading its transcript directly, never inferring from empty logs or pgrep; (5) only deploy on a confirmed PASS, and require explicit prod re-confirmation before pushing to the 175 server. Show me the updated skill definition before running it.
入门:构建一个部署前钩子或技能,扫描竞争进程,严格从 git HEAD 部署,并在宣布成功前验证已部署文件哈希与提交树是否匹配。
粘贴到 Claude Code:
Create a /safe-deploy skill that prevents the parallel-process file-reversion bug we keep hitting. Before deploying: detect any other running processes that may modify this repo and warn me; create a git snapshot of current state; deploy ONLY from a specific verified git commit (never the working tree); after deploy, verify the remote file hashes match the committed versions and abort with a clear diff if they don't. Isolate exactly which commits should ship (e.g. web-safe changes only, excluding miniapp work) and require my confirmation before touching the 175 prod server.
跨机器 Agent 机群编排
你已经在笔记本上运行无头 Claude 来驱动跨 106 测试和 175 生产服务器的独立审核和视频渲染,但在代理、SSH 和进程发现方面的协调是手动且脆弱的。一个机群编排器可以映射每个 Claude 窗口和机器、将渲染或审核任务委托到正确节点、自动绕过 GFW/代理故障,并从 OOM 构建和 SSH 密钥交换问题中优雅恢复——把你的笔记本和服务器变成一个自愈 agent 网格。
Build a cross-machine orchestration skill that treats my laptop, 106 test server, and 175 prod server as a coordinated agent fleet. It should: (1) discover and map all running Claude Code windows/processes and correct any misconceptions about how many exist; (2) delegate independent review and video-rendering work to the laptop's own Claude Code rather than doing it locally; (3) automatically handle proxy/SSH issues—retry OOM-killed builds (exit 137), recover from SSH key-exchange failures, and fall back to direct connection if a proxy returns 503; (4) maintain a persistent topology and health map in CLAUDE.md memory. Start by mapping the current fleet state.
「用户对着一片沉默连输了 11 次『继续』——彼时 Claude 被 529『服务过载』错误完全瘫痪,什么事也做不了。」
那次会话目标是添加拖拽上传图片功能,但反复出现的 API 过载错误彻底阻断了所有进展。用户不停重试——整整 11 次『继续』——记录下了人类不肯向无响应助手认输的那份执拗。