Token导航 LogoToken导航TokenDH.com
开发敏感数据clawhub未标认证来源可访问clear审计提醒

runboxrunbox 测试

Agent Skill

runbox 用于辅助部署、云资源、容器和基础设施运维,适合在 OpenClaw 中需要检查配置、整理部署步骤或排查环境问题时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

2,179

周安装

89

GitHub Stars

公开资料未说明

下载量

705
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:runbox(runbox 测试)
来源仓库:https://github.com/daraijaola/runbox
安装命令:
openclaw skills install runbox
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install runbox

简介

runbox 在隔离 Docker 容器中执行代码,并通过 USDC 自动支付费用。

  • 适合运行基准测试、临时实验或第三方代码沙箱场景。
  • 支持多种编程语言与依赖预装。
  • 安装命令:openclaw skills install runbox;需绑定 Stellar 钱包与预算限额。
  • 每次执行独立计费,建议设置超时与资源上限以防滥用。

SKILL.md

name
runbox
description
>
emoji
📦
version
1.2.0
author
daraijaola
homepage
https://github.com/daraijaola/Runbox
requires
bins
[python3]
env
[STELLAR_SECRET_KEY]
python_packages
[stellar-sdk, requests, python-dotenv]
install
|
user-invocable
true

RunBox — x402 Pay-Per-Use Code Execution for OpenClaw Agents

RunBox lets your OpenClaw agent execute code in isolated Docker containers, paying autonomously with USDC on Stellar. No API key. No account. No human approval. The payment IS the authentication.

Live server: http://46.101.74.170:4001


When to Use RunBox

Invoke RunBox automatically when the user says anything like:

  • *"run this code"* / *"execute this"* / *"test this snippet"*
  • *"compute X"* / *"calculate"* / *"benchmark"*
  • *"write and run a Python script that..."*
  • *"check if this works in isolation"*
  • Any task requiring a language you don't have locally (Go, Rust, R, etc.)

Do not use RunBox for simple one-liner math or string operations you can answer directly.


How to Execute Code (Quick)

python3 {baseDir}/scripts/run.py --language python --code "print('Hello from RunBox!')"

The script handles the entire x402 payment flow automatically:

  1. Calls /api/exec/rent → server returns 402 Payment Required
  2. Pays 0.01 USDC on Stellar from STELLAR_SECRET_KEY
  3. Retries rent with X-Payment-Hash: <tx_hash> → gets a 5-minute session token
  4. Calls /api/exec/run with your code → returns output

Examples

# Python — data analysis
python3 {baseDir}/scripts/run.py --language python --code "
import statistics
data = [2,4,4,4,5,5,7,9]
print('mean:', statistics.mean(data))
print('stdev:', statistics.stdev(data))
"

# JavaScript — Node.js
python3 {baseDir}/scripts/run.py --language javascript --code "
const fib = n => n < 2 ? n : fib(n-1)+fib(n-2)
console.log([...Array(10).keys()].map(fib).join(', '))
"

# Bash — system inspection
python3 {baseDir}/scripts/run.py --language bash --code "uname -a && python3 --version"

# Go — compiled language
python3 {baseDir}/scripts/run.py --language go --code '
package main
import "fmt"
func main() { fmt.Println("Go in a Docker container!") }
'

# Get full JSON output (stdout, stderr, exit_code, execution_ms, session_token)
python3 {baseDir}/scripts/run.py --language python --code "print(42)" --json

# Reuse a session — no second payment within 5 minutes
python3 {baseDir}/scripts/run.py --language python --code "print(42)" --session-token eyJ...

# Use testnet (free USDC from faucet — for development)
python3 {baseDir}/scripts/run.py --language python --code "print(1)" --testnet

Supported Languages

LanguageAliasesEngine
Pythonpython, python3runbox-python Docker image
JavaScriptjavascript, js, nodenode:20-alpine
Bash / Shellbash, shubuntu:22.04
Gogogolang:1.21-alpine
Rustrustrust:1.73-slim
Rubyrubyruby:3.2-alpine
PHPphpphp:8.2-cli-alpine
Perlperlperl:5.38
Lualuanickblah/lua:5.4
Javajavaopenjdk:21-slim
C / C++c, cppgcc:13
TypeScripttypescript, tsnode:20-alpine + ts-node
Rrr-base:4.3.0

Session Reuse (Run Multiple Times Without Re-paying)

A session is valid for 5 minutes. Run multiple executions for free within that window:

# First call — pays 0.01 USDC and returns session info via --json
python3 {baseDir}/scripts/run.py --language python --code "x = 42" --json
# Captures: SESSION_TOKEN from JSON output → session_token field

# Second, third call — reuse the session at no cost
python3 {baseDir}/scripts/run.py --language python --code "print(x*2)" --session-token $SESSION_TOKEN

Configuration

VariableRequiredDefaultNotes
STELLAR_SECRET_KEYYESStarts with S. Your Stellar wallet secret.
RUNBOX_ENDPOINTnohttp://46.101.74.170:4001Override to point to testnet or self-hosted
STELLAR_NETWORKnomainnetSet to testnet for free test payments

Getting Your Stellar Wallet (First Time Setup)

Testnet — Free, for development

# 1. Generate a keypair
python3 -c "from stellar_sdk import Keypair; k=Keypair.random(); print('Public:',k.public_key); print('Secret:',k.secret)"

# 2. Fund with free XLM
curl "https://friendbot.stellar.org?addr=YOUR_PUBLIC_KEY"

# 3. Get free testnet USDC at: https://ultrastellar.com/faucet
#    Or via xlm402.com testnet USDC faucet

# 4. Add to OpenClaw
openclaw set-env STELLAR_SECRET_KEY=YOUR_SECRET_KEY
openclaw set-env STELLAR_NETWORK=testnet

Mainnet — Real USDC (~$0.01 per run)

  1. Generate keypair (same command above)
  2. Send 0.10+ USDC to your public key via any Stellar wallet (Lobstr, Solar, Freighter)
  3. openclaw set-env STELLAR_SECRET_KEY=YOUR_SECRET_KEY

x402 Payment Flow (What Happens Behind the Scenes)

OpenClaw Agent                    RunBox Server              Stellar Network
      │                                │                           │
      │  POST /api/exec/rent           │                           │
      │ ─────────────────────────────▶ │                           │
      │                                │                           │
      │  ◀── 402 Payment Required ──── │                           │
      │       X-Payment-Required: ...  │                           │
      │                                │                           │
      │  ── pay 0.01 USDC ────────────────────────────────────▶   │
      │  ← tx_hash ─────────────────────────────────────────────── │
      │                                │                           │
      │  POST /api/exec/rent           │                           │
      │  X-Payment-Hash: <tx_hash>     │                           │
      │ ─────────────────────────────▶ │                           │
      │                                │  verify on Horizon ──▶    │
      │  ◀── 200 session_token ─────── │                           │
      │                                │                           │
      │  POST /api/exec/run            │                           │
      │  Authorization: Bearer <tok>   │                           │
      │  { language, code }            │                           │
      │ ─────────────────────────────▶ │                           │
      │                                │  docker run --network none│
      │  ◀── { stdout, stderr, ... } ── │                           │

Self-Hosting RunBox

git clone https://github.com/daraijaola/Runbox
cd Runbox
pnpm install && pnpm build
cp .env.example artifacts/api-server/.env
# Edit .env: set STELLAR_RECEIVE_ADDRESS, SESSION_JWT_SECRET
pm2 start artifacts/api-server/ecosystem.config.cjs

Install the skill pointing to your own server:

clawhub install runbox
openclaw set-env RUNBOX_ENDPOINT=http://YOUR_SERVER:4001

Security Notes

  • Code runs in Docker containers with no network access (--network none)
  • Memory limited to 256–512 MB per run
  • CPU limited to 1–1.5 cores per run
  • Execution timeout: 60 seconds
  • Each session is scoped to a single JWT — sessions cannot be shared between agents

Troubleshooting

ErrorCauseFix
STELLAR_SECRET_KEY not setMissing env varopenclaw set-env STELLAR_SECRET_KEY=S...
Account not foundAccount not created on StellarFund via friendbot (testnet) or send XLM (mainnet)
Insufficient paymentNot enough USDCAdd USDC to your Stellar wallet
Transaction already usedReplay attack preventionEach tx hash can only buy one session
Session not found or expiredSession > 5 min oldPay for a new session
Unsupported languageWrong language nameUse exact names from the table above

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

77.7%
按下载量换算548

安全审计

VirusTotal

可疑

ClawScan

通过

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills