AINow
📢 赞助位招租 · 月访问 XXXX · 联系 weixin_xxx
了解详情
返回 Skill 列表
DevOps高阶

Claude Code 自托管运维 Skill

企业内网部署方案:网络配置+安全加固+容量规划+CI/CD集成。金融/医疗/政务合规必备。

📋 SKILL.md 完整代码

---
name: claude-self-hosted-skill
description: >-
  企业内网部署方案:网络配置+安全加固+容量规划+CI/CD集成。金融/医疗/政务合规必备。
  Use when working on claude self hosted skill tasks.
allowed-tools: Read,Write,Bash
---

# Claude Code 自托管运维 Skill

## Quick Start
1. Save as `~/.claude/skills/claude-self-hosted-skill/SKILL.md`
2. Restart Claude Code
3. Type `/claude-self-hosted-skill` or describe your task naturally
4. Claude auto-triggers when your task matches the description

## Instructions
- Understand the user's specific context and needs
- Apply domain best practices consistently
- Provide actionable, specific guidance with examples
- Verify all outputs before presenting to user

## Gotchas
- Test with a fresh Claude instance after changes
- Keep SKILL.md under 500 lines; use references/ for details
- Description is the trigger key — make it specific and keyword-rich

🚀 怎么用

1. 复制上面的 SKILL.md 代码
2. 保存为 ~/.claude/skills/claude-self-hosted-skill/SKILL.md
3. 重启 Claude Code
4. 输入 /claude-self-hosted-skill 或直接描述任务触发
5. AI 自动按 Skill 流程执行

自托管架构

Claude Code 自托管(2026年8月公测):数据全程不出企业内网,仅模型推理与对话交互在 Anthropic 服务器完成。两种容量管理模式:固定运行器(预分配算力,适合稳定负载)+按需运行器(动态扩缩,适合波动负载)。仅限 Team/Enterprise 版本。

部署检查清单

①网络:开放 Anthropic API 出站端口 443,内网无需入站规则。②证书:企业 CA 签发的 TLS 证书。③认证:集成企业 SSO(SAML/OIDC)。④审计:所有对话日志存内网 SIEM。⑤监控:运行器健康检查+Token 使用量告警。⑥备份:SKILL.md 和配置纳入 Git。

合规考量

金融(PCI-DSS/SOX):数据不出境+审计日志不可篡改。医疗(HIPAA/HITECH):PHI 数据脱敏+访问控制。政务(等保三级):等保测评报告+密评+国产密码。各行业建议先做 PoC 再全量推广。