← 返回 Skills 市场
mentholmike

Ciderbox

作者 MentholMike · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
43
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install ciderbox
功能描述
Build and manage Apple-native container dev environments with ciderbox and orchard swarm.
使用说明 (SKILL.md)

Ciderbox

Use for Apple Silicon-native dev/test containers, cross-distro compile testing, and Orchard agent swarms. Ciderbox wraps Apple's container CLI, so it is for local Apple Silicon Macs rather than Crabbox-style remote cloud runners.

When To Use

  • Verify a project across Linux distro images from a Mac.
  • Run a one-off command in a fresh Apple Container VM.
  • Build a project in a clean container and tear it down afterward.
  • Manage Orchard agent trees with ciderbox orchard ....
  • Scaffold project-local .ciderbox.yaml.

Use Crabbox instead when the task needs remote cloud capacity, GitHub Actions hydration, or non-Mac provider runners.

Requirements

  • Apple Silicon Mac.
  • macOS 26+ for reachable container IPs.
  • Apple container CLI installed and running with container system start.
  • Ciderbox on PATH. On Mike's machine: /Users/michaelwyatt/.openclaw/workspace/ciderbox/bin/ciderbox.

Quickstart

# Scaffold config
ciderbox init

# Test your code across Linux distros
ciderbox compile-test

# Run a one-off command in a fresh VM
ciderbox run -- uname -a

# Clean up everything
ciderbox chop

Project Config

.ciderbox.yaml shape:

compileTest:
  distros:
    - name: ubuntu
      image: ubuntu:26.04
    - name: debian
      image: debian:bookworm
  parallel: false
  dependencies: [rsync]
  command: "make test"

ciderbox init --detect replaces the placeholder command with detected project commands and matching deps.

Commands

Command Description
ciderbox init [--detect] Scaffold .ciderbox.yaml
ciderbox compile-test Run tests across configured distros
ciderbox build Single-distro build
ciderbox run -- \x3Ccmd> One-off command in fresh VM
ciderbox doctor Check environment
ciderbox chop Kill all ciderbox VMs
ciderbox version Show version

Orchard Swarm

Orchard is the local OpenClaw agent swarm layer. It plants Apple Container VMs, grafts OpenClaw into each, and runs tasks across the orchard.

Lifecycle

# 1. Scaffold orchard config
ciderbox orchard init

# 2. Plant trees (VMs)
ciderbox orchard plant

# 3. Graft OpenClaw onto every tree
ciderbox orchard graft --all

# 4. Run a task across the orchard
ciderbox orchard run --sync --task "review this repo and write findings"

# 5. Collect results
ciderbox orchard harvest --task \x3Ctask-id> --output results.json

# 6. Read the summary
ciderbox orchard press --task \x3Ctask-id>

# 7. Tear down
ciderbox orchard chop --yes

Secrets

ciderbox orchard secrets init    # Create .orchid.env
ciderbox orchard secrets check   # Validate keys are present
ciderbox orchard secrets push --all  # Push keys into running trees

Diagnostics

ciderbox orchard doctor

Manifest Format

.orchard.yaml:

name: my-orchard
trees: 3
template:
  image: debian:bookworm
  cpus: 2
  memory: 4G
  distro: debian
agent:
  identity: tree-agent
  skills: []
  model: ollama/llama3.1
  command: cd "${ORCHARD_WORKSPACE:-/root/.openclaw/workspace}" && openclaw --log-level silent agent --local --agent main --session-key "orchard:${HOSTNAME:-tree}" --message "$ORCHARD_TASK" --timeout 180 --verbose off
secrets:
  envFile: .orchid.env
  required: []
workspace:
  sync: true
  path: /work/ciderbox

Verification

Before shipping Ciderbox changes:

gofmt -w internal/cli/*.go
go test ./...
cd /tmp && rm -rf ciderbox-init-smoke && mkdir ciderbox-init-smoke
cd /tmp/ciderbox-init-smoke && git init -q && ciderbox init

Run structured autoreview before release or tag changes.

License

MIT

安全使用建议
Before installing, understand that this skill teaches an agent to use ciderbox to create local container VMs, run commands, sync workspaces, launch OpenClaw agents, and push .orchid.env secrets into running VMs. Use it only for projects where that local container and agent-swarm access is intended, and run the disclosed teardown commands when finished.
能力评估
Purpose & Capability
The stated purpose matches the documented commands: local Apple container VMs, cross-distro testing, project config scaffolding, and Orchard agent swarm management.
Instruction Scope
The skill documents high-impact capabilities such as running commands in VMs, grafting OpenClaw agents, syncing workspaces, and pushing secrets, but these are explicit and aligned with the container/orchard purpose.
Install Mechanism
The artifact contains only SKILL.md and no executable scripts or automatic installer; it requires the user to already have Apple's container CLI and ciderbox available.
Credentials
Local VM creation, workspace sync, and secret propagation are proportionate for this workflow, but users should run them only in intended project directories and environments.
Persistence & Privilege
Orchard VMs and pushed secrets may persist until teardown, but the lifecycle and cleanup commands are disclosed, including chop operations.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install ciderbox
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /ciderbox 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of ciderbox. - Build and manage Apple-native container dev environments from your Mac. - Run and test code across multiple Linux distro images locally using Apple container VMs. - Scaffold project configs and run one-off commands in clean VMs. - Orchestrate local OpenClaw agent swarms with orchard commands. - Includes commands for config scaffolding, testing, building, diagnostics, and cleanup.
元数据
Slug ciderbox
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Ciderbox 是什么?

Build and manage Apple-native container dev environments with ciderbox and orchard swarm. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 43 次。

如何安装 Ciderbox?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install ciderbox」即可一键安装,无需额外配置。

Ciderbox 是免费的吗?

是的,Ciderbox 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Ciderbox 支持哪些平台?

Ciderbox 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Ciderbox?

由 MentholMike(@mentholmike)开发并维护,当前版本 v1.0.0。

💬 留言讨论