用于管理 Uncloud 集群,完成部署、入口配置、扩缩容与运维排障。
复制安装指令,让 AI 自动完成配置 · 推荐新手
请帮我安装 askskill 上的 "uncloud" 技能: 1. 下载 https://raw.githubusercontent.com/affaan-m/ECC/main/skills/uncloud/SKILL.md 2. 保存为 ~/.claude/skills/uncloud/SKILL.md 3. 装好后重载技能,告诉我可以用了
请用 uc CLI 帮我把 myapp 部署到 Uncloud 集群,发布 8080 端口到公网,并给出完整命令与说明。
返回部署与端口发布命令,并说明执行顺序与验证方法。
我想为集群中的 api 服务配置 Caddy 域名入口,并为一台非集群内设备添加静态代理路由,请生成 uc CLI 操作步骤。
给出入口与代理路由配置命令,并附带示例域名和检查方式。
请帮我把 worker 服务扩容到 5 个副本,查看最近 200 行日志,并说明如何判断是否扩容成功。
输出扩容与日志查看命令,并说明成功判定指标与排障建议。
Reference for the uc CLI — a decentralised self-hosting platform using Docker containers, WireGuard mesh networking, and Caddy reverse proxy.
Use this skill when working with Uncloud clusters, especially when:
uc machineuc deployx-caddy, x-ports, or --caddyfileUncloud runs Docker services across peer machines connected by a WireGuard mesh. Each machine is an equal cluster member; services communicate on the overlay network and Caddy runs globally to terminate public HTTP/HTTPS traffic. Compose files can use Uncloud extensions for ingress, placement, and generated Caddy configuration, while the uc CLI handles image distribution, scheduling, scaling, logs, and cluster state.
uc machine init user@host --name machine-1
uc service run --name web -p app.example.com:8080/https nginx:latest
uc deploy
10.210.0.0/16 by default; DNS provided inside the meshx-caddy / --caddyfile instead| Command | Purpose |
|---|---|
uc machine init user@host | Bootstrap first machine / new cluster |
uc machine add user@host | Join machine to existing cluster |
uc machine ls | List machines |
uc machine update NAME --public-ip IP | Update public IP for ingress |
uc machine rm NAME | Remove machine |
Key init flags: --name, --network 10.210.0.0/16, --no-caddy, --no-dns, --public-ip auto\|IP\|none
| Command | Purpose |
|---|---|
uc service ls / uc ls | List services |
uc service run IMAGE | Run a single container service |
uc deploy | Deploy from compose.yaml |
uc deploy --no-build | Deploy already-pushed images without rebuilding |
uc deploy --recreate | Force service recreation |
uc scale SERVICE N | Set replica count |
uc service logs SERVICE | View logs |
uc service exec SERVICE | Shell into container |
uc service inspect SERVICE | Detailed info |
uc service rm SERVICE | Remove service (keeps named volumes) |
uc ps | All containers across cluster |
uc image push myapp:latest # Push local image to all machines
uc image push myapp:latest -m machine1,machine2 # Push to specific machines
uc images # List images in cluster
uc volume ls # All volumes
uc volume ls -m machine1 # On specific machine
uc volume create NAME -m MACHINE
uc volume rm NAME
uc caddy config # Show current generated Caddyfile (read-only)
uc caddy deploy # Deploy/upgrade Caddy across cluster
uc dns show # Show reserved *.uncld.dev domain
uc dns reserve # Reserve a new domain
uc ctx ls # List cluster contexts
uc ctx use prod # Switch context
-p [hostname:]container_port[/protocol]
| Example | Meaning |
|---|---|
-p 8080/https | HTTPS with auto service-name.cluster-domain hostname |
-p app.example.com:8080/https | HTTPS with custom hostname |
-p 8080/http | HTTP only, no TLS |
-p [host_ip:]host_port:container_port[/protocol]@host
…
通过逐步细化检索上下文,提升子代理任务理解与结果质量。
帮助团队为医疗应用设计符合PHI/PII要求的数据安全与合规方案
基于多源网页检索与综合分析,生成带引用和来源标注的深度研究报告
为 orch 系列技能统一编排研发流程与人工审批关卡
帮助你设计与优化 Spring Boot 后端架构、接口与服务实现。
帮助你设计可组合的推荐、排序与信息流 Top K 决策流水线
用命令行与终端界面高效管理 UniFi 网络设备、状态与配置。
用自然语言管理 UniFi 设备、优化 WiFi、审计安全并排查网络问题。
用自然语言管理 UniFi 网络、设备与监控摄像头运维任务
通过 MCP 统一管理 UniFi 站点、设备、网络与安全配置。
帮助用户通过 uv 管理 Python 环境、依赖安装与 requirements 维护。
将多个 MCP 服务统一到单一入口,便于按角色管理与自动化运维。