/install deploydevnlu
DeployDevNLU
Deploy the application to SupplyWhy via Slack natural language commands.
Instructions
Execute the following steps in order. Verify each step succeeds before proceeding to the next.
Step 1: Add SSH Key to Agent
Run the following command to add the SSH key:
ssh-add ~/.ssh/supplywhy-dev-key.pem
Verification: The command should output Identity added: ~/.ssh/supplywhy-dev-key.pem or similar. If you see "Could not open a connection to your authentication agent", the ssh-agent may not be running. If you see "No such file or directory", the key file is missing.
Stop and report to user if: The key cannot be added.
Step 2: Test SSH Connection
Before deploying, verify the SSH connection works:
ssh supplywhy-dev-master "echo 'SSH connection successful'"
Verification: Should output SSH connection successful. If you see connection timeout, permission denied, or host not found errors, the SSH connection is not working.
Stop and report to user if: SSH connection fails.
Step 3: Update Image Tag
If an IMAGE_TAG argument was provided ($ARGUMENTS), update the deployment.yaml with the new tag:
ssh supplywhy-dev-master "sed -i 's|590183820143.dkr.ecr.us-west-2.amazonaws.com/genie:.*|590183820143.dkr.ecr.us-west-2.amazonaws.com/genie:$ARGUMENTS|' genie/deployment.yaml"
Verification: Run a quick check to confirm the tag was updated:
ssh supplywhy-dev-master "grep 'image:' genie/deployment.yaml"
The output should show the new tag you provided.
Skip this step if: No IMAGE_TAG argument was provided (deploy with existing tag).
Stop and report to user if: The sed command fails.
Step 4: Deploy via kubectl
SSH into the EC2 server and run the kubectl deployment command:
ssh supplywhy-dev-master "cd genie && kubectl apply -f deployment.yaml"
Verification: The kubectl output should show resources being created, configured, or unchanged. Look for lines like:
deployment.apps/xxx configuredservice/xxx unchanged
Stop and report to user if:
- kubectl returns errors (e.g., "error: the path does not exist", "connection refused")
- Any resource shows
errorstatus
Step 5: Verify Deployment Status
After applying, check that the deployment is rolling out successfully:
ssh supplywhy-dev-master "kubectl rollout status deployment -n default --timeout=60s"
Verification: Should show successfully rolled out for deployments. If it times out or shows errors, the deployment may have issues.
Report to user: The final status of all deployments, whether successful or failed.
Success Criteria
The deployment is successful when:
- SSH key was added successfully
- SSH connection to server works
- Image tag was updated (if argument provided)
- kubectl apply completed without errors
- Deployment rollout status shows success
Troubleshooting
If the deployment fails at any step:
- SSH key issues: Verify the key exists at
~/.ssh/supplywhy-dev-key.pemand has correct permissions (600) - SSH connection issues: Check network access and that your IP is allowed in security groups
- kubectl apply errors: Verify
deployment.yamlexists in thegeniefolder on the server - Rollout failures: Check pod logs with
kubectl logsor describe the deployment withkubectl describe deployment
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install deploydevnlu - 安装完成后,直接呼叫该 Skill 的名称或使用
/deploydevnlu触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Deploydevnlu 是什么?
Deploys the application to the SupplyWhy development EC2 server via SSH, updates image tag if provided, applies Kubernetes deployment, and verifies rollout s... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 680 次。
如何安装 Deploydevnlu?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install deploydevnlu」即可一键安装,无需额外配置。
Deploydevnlu 是免费的吗?
是的,Deploydevnlu 完全免费(开源免费),可自由下载、安装和使用。
Deploydevnlu 支持哪些平台?
Deploydevnlu 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Deploydevnlu?
由 Yu Song(@yusong-7456)开发并维护,当前版本 v1.0.4。