技能详情(站内镜像,无评论)
许可证:MIT-0
MIT-0 ·免费使用、修改和重新分发。无需归因。
版本:v1.0.1
统计:⭐ 0 · 1.1k · 3 current installs · 3 all-time installs
⭐ 0
安装量(当前) 3
🛡 VirusTotal :可疑 · OpenClaw :良性
Package:andrewharp/runpod
安全扫描(ClawHub)
- VirusTotal :可疑
- OpenClaw :良性
OpenClaw 评估
The skill's code and runtime instructions match its stated purpose (managing RunPod pods and mounting pod filesystems), but the package metadata omits some practical dependencies and there are minor portability/usability issues you should be aware of before installing.
目的
The skill is focused on RunPod pod lifecycle and SSH/SSHFS mounting. The SKILL.md and the mount script implement that functionality (calling runpodctl, using SSH keys, sshfs). However, the registry metadata declares no required binaries/env vars even though the instructions require runpodctl, ssh, and sshfs/fusermount; this appears to be an oversight rather than malicious mismatch.
说明范围
Instructions are limited to RunPod operations: installing runpodctl, configuring an API key via runpodctl, managing SSH keys, and mounting pods via the included script. The script reads/writes SSH key and known_hosts files under ~/.runpod or ~/.ssh (expected for SSH/sshfs). It does parse runpodctl output (grep -oP) which is brittle and may fail on systems where grep lacks -P support; otherwise there is no scope creep (no unrelated system-wide …
安装机制
This is an instruction-only skill with a small helper script; there is no install spec or remote download, so nothing arbitrary is written to disk by an installer. The included shell script is the only code and its behavior is visible.
证书
The skill declares no required environment variables or credentials, but the SKILL.md asks users to run 'runpodctl config --apiKey' (so an API key is required for RunPod use) and documents optional env vars RUNPOD_SSH_KEY and RUNPOD_KNOWN_HOSTS used by the script. The lack of declared required creds in metadata is a minor inconsistency but not an indication of hidden credential access.
持久
The skill does not request permanent always-on inclusion and does not modify other skills or system-wide agent settings. The script will create directories under your home and write a per-skill known_hosts file (expected for SSH/sshfs usage).
综合结论
What to check before installing: 1) This skill expects runpodctl, ssh, sshfs (FUSE) and a RunPod API key — the registry metadata doesn't list those binaries, so make sure you have them and trust runpodctl's source. 2) The mount script will read your SSH private key (from ~/.runpod/ssh/ or a path you set via RUNPOD_SSH_KEY) and write a known_hosts file under ~/.runpod/ssh/; mounting gives the remote root filesystem access to your local mountpoi…
安装(复制给龙虾 AI)
将下方整段复制到龙虾中文库对话中,由龙虾按 SKILL.md 完成安装。
请把本段交给龙虾中文库(龙虾 AI)执行:为本机安装 OpenClaw 技能「RunPod pod management」。简介:Manage RunPod GPU cloud instances - create, start, stop, connect to pods via SS…。
请 fetch 以下地址读取 SKILL.md 并按文档完成安装:https://raw.githubusercontent.com/openclaw/skills/refs/heads/main/skills/andrewharp/runpod/SKILL.md
(来源:yingzhi8.cn 技能库)
SKILL.md
---
name: runpod
description: Manage RunPod GPU cloud instances - create, start, stop, connect to pods via SSH and API. Use when working with RunPod infrastructure, GPU instances, or need SSH access to remote GPU machines. Handles pod lifecycle, SSH proxy connections, filesystem mounting, and API queries. Requires runpodctl (brew install runpod/runpodctl/runpodctl).
---
# RunPod Skill
Manage RunPod GPU cloud instances, SSH connections, and filesystem access.
## Prerequisites
```bash
brew install runpod/runpodctl/runpodctl
runpodctl config --apiKey "your-api-key"
```
**SSH Key:** runpodctl manages SSH keys in `~/.runpod/ssh/`:
```bash
runpodctl ssh add-key
```
View and manage keys at: https://console.runpod.io/user/settings
**Mount script configuration:**
The mount script checks `~/.ssh/runpod_key` first, then falls back to runpodctl's default key. Override with:
```bash
export RUNPOD_SSH_KEY="$HOME/.runpod/ssh/RunPod-Key"
```
Host keys are stored separately in `~/.runpod/ssh/known_hosts` (isolated from your main SSH config). Uses `StrictHostKeyChecking=accept-new` to verify hosts on reconnect while allowing new RunPod instances.
## Quick Reference
```bash
runpodctl get pod # List pods
runpodctl get pod <id> # Get pod details
runpodctl start pod <id> # Start pod
runpodctl stop pod <id> # Stop pod
runpodctl ssh connect <id> # Get SSH command
runpodctl send <file> # Send file to pod
runpodctl receive <code> # Receive file from pod
```
## Common Operations
### Create Pod
```bash
# Without volume
runpodctl create pod --name "my-pod" --gpuType "NVIDIA GeForce RTX 4090" --imageName "runpod/pytorch:1.0.2-cu1281-torch280-ubuntu2404"
# With volume (100GB at /workspace)
runpodctl create pod --name "my-pod" --gpuType "NVIDIA GeForce RTX 4090" --imageName "runpod/pytorch:1.0.2-cu1281-torch280-ubuntu2404" --volumeSize 100 --volumePath "/workspace"
```
**Important:** When using a volume (`--volumeSize`), always specify `--volumePath` too. Without it:
```
error creating container: ... invalid mount config for type "volume": field Target must not be empty
```
### SSH to Pod
```bash
# Get SSH command
runpodctl ssh connect <pod_id>
# Connect directly (copy command from above)
ssh -p <port> root@<ip> -i ~/.ssh/runpod_key
```
### Mount Pod Filesystem (SSHFS)
```bash
./scripts/mount_pod.sh <pod_id> [base_dir]
```
Mounts pod to `~/pods/<pod_id>` by default.
**Access files:**
```bash
ls ~/pods/<pod_id>/
cat ~/pods/<pod_id>/workspace/my-project/train.py
```
**Unmount:**
```bash
fusermount -u ~/pods/<pod_id>
```
## Helper Script
| Script | Purpose |
|--------|---------|
| `mount_pod.sh` | Mount pod filesystem via SSHFS (no runpodctl equivalent) |
## Web Service Access
Proxy URLs:
```
https://<pod_id>-<port>.proxy.runpod.net
```
Common ports:
- **8188**: ComfyUI
- **7860**: Gradio
- **8888**: Jupyter
- **8080**: Dev tools