用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/eron1703/claude-config-loader --skill worker-k8s命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | worker-k8s |
| description | K3S cluster configuration, kubectl patterns, and registry information |
| disable-model-invocation | true |
Always SSH first, then run kubectl on the remote server:
ssh dev-01-root "kubectl -n flowmaster get pods"
ssh dev-01-root "kubectl -n flowmaster describe pod <pod-name>"
# 1. Build image on server
docker build --platform linux/amd64 -t localhost:30500/flowmaster/<name>:<tag> .
# 2. Push to registry
docker push localhost:30500/flowmaster/<name>:<tag>
# 3. Deploy/update in K8S
kubectl set image -n flowmaster deploy/<name> <name>=localhost:30500/flowmaster/<name>:<tag>
# List pods
ssh dev-01-root "kubectl -n flowmaster get pods"
# Describe pod
ssh dev-01-root "kubectl describe pod -n flowmaster <pod-name>"
# Check logs
ssh dev-01-root "kubectl logs -n flowmaster deploy/<service> --tail=50"
# Get logs from specific pod
ssh dev-01-root "kubectl logs -n flowmaster <pod-name> --tail=100"
# List deployments
ssh dev-01-root "kubectl -n flowmaster get deploy"
# Update image
ssh dev-01-root "kubectl set image -n flowmaster deploy/<name> <name>=localhost:30500/flowmaster/<name>:<tag>"
# Restart deployment
ssh dev-01-root "kubectl rollout restart -n flowmaster deploy/<name>"
# Check deployment status
ssh dev-01-root "kubectl -n flowmaster describe deploy <name>"
# List ConfigMaps
ssh dev-01-root "kubectl get cm -n flowmaster"
# View specific ConfigMap
ssh dev-01-root "kubectl get cm gateway-config -n flowmaster -o yaml"
# Edit ConfigMap
ssh dev-01-root "kubectl edit cm gateway-config -n flowmaster"
# List services
ssh dev-01-root "kubectl -n flowmaster get svc"
# Get service endpoints
ssh dev-01-root "kubectl -n flowmaster get endpoints"
ssh dev-01-root "kubectl exec -n flowmaster deploy/<name> -- wget -qO- http://localhost:<port>/health"
/health/health/healthWARNING: ClusterIPs are dynamic and will change if services are recreated. Always look them up live:
ssh dev-01-root "kubectl -n flowmaster get svc"
These are used in Nginx config: /etc/nginx/sites-enabled/flowmaster
imagePullPolicy: Always-n flowmaster namespace for production servicesFor live server IPs, namespaces, and ClusterIPs, use commander-mcp: get_context_servers, get_context_services