Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 49 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ name: CI
# repo publishes no CLI to npm (the old JavaScript CLI that lived in cli/ was retired); the Pi
# package in pi/ is published by release-pi.yml on a pi-v* tag.
#
# Every non-draft PR that touches a plugin folder or e2e/ runs:
# Every non-draft PR that touches a plugin folder, shared/, scripts/ or e2e/ runs:
# skills the per-host skill copies match what scripts/gen-skills.mjs writes from shared/
# plugins each agent's own validator over the plugin folders, and the Claude plugin's CLI pin
# clients Layer 1: the pinned CLI against each real, installed client in an isolated HOME
# (versions pinned in e2e/clients.json). No secrets.
Expand All @@ -27,6 +28,11 @@ on:
- 'openclaw/**'
- 'pi/**'
- 'grok/**'
- 'cursor/**'
- 'openai/**'
- 'gemini/**'
- 'shared/**'
- 'scripts/**'
- '.claude-plugin/**'
- '.github/workflows/ci.yml'
push:
Expand All @@ -35,6 +41,8 @@ on:
- 'e2e/**'
- 'claude/**'
- 'claude-code/**'
- 'shared/**'
- 'scripts/**'
- '.claude-plugin/**'
- '.github/workflows/ci.yml'
workflow_dispatch:
Expand All @@ -51,6 +59,46 @@ defaults:
shell: bash

jobs:
skills:
name: Skill copies match shared/
if: github.event_name != 'pull_request' || !github.event.pull_request.draft
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
fetch-depth: 2
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
with:
node-version: 24
- name: Regenerate and compare
# Each host folder ships its own copy of the box skill (folders are installed on their
# own, without symlinks); shared/skills/ is the one source. Edit there, then run
# `node scripts/gen-skills.mjs` and commit what it writes.
run: |
set -euo pipefail
node scripts/gen-skills.mjs
# status also catches a host's file that was never committed (untracked).
if ! git diff --exit-code || [ -n "$(git status --porcelain)" ]; then
git status --short
echo "::error::The skill copies differ from shared/skills/. Run 'node scripts/gen-skills.mjs' and commit the result."
exit 1
fi
- name: Flag changes to claude/ (the version under Claude directory review)
# Any commit that changes claude/ replaces the plugin version Anthropic is reviewing. A
# warning, not a failure, so a deliberate directory update can still go through.
if: github.event_name == 'pull_request'
run: |
set -euo pipefail
# On a pull_request run HEAD is the merge commit, and HEAD^1 the base branch.
if ! git diff --quiet HEAD^1 HEAD -- claude/; then
git diff --stat HEAD^1 HEAD -- claude/
echo "::warning::This PR changes claude/, the plugin under Claude directory review. Merging it replaces the reviewed version."
else
echo "claude/ unchanged"
fi

plugins:
name: Validate plugin folders
if: github.event_name != 'pull_request' || !github.event.pull_request.draft
Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,12 @@ Going offline in the middle of a task? In Claude Code with the plugin, `/simular

## Adding an agent

Add a folder named after the agent with its own manifest, MCP config and, where the agent supports skills, a copy of `claude-code/skills/box/SKILL.md`. Point it at `https://mcp.box.simular.ai/mcp`. Use OAuth sign-in where the agent supports it; otherwise read a personal key from an environment variable or the agent's own credentials store, never from a file in the package. Add a row above.
Add a folder named after the agent with its own manifest, MCP config and, where the agent supports skills, its copy of the box skill. Don't copy the skill by hand: add the host to `shared/skills/box/hosts.json` (where its file goes, and any per-host variant from `shared/skills/box/variants/`), run `node scripts/gen-skills.mjs` and commit the file it writes. Point it at `https://mcp.box.simular.ai/mcp`. Use OAuth sign-in where the agent supports it; otherwise read a personal key from an environment variable or the agent's own credentials store, never from a file in the package. Add a row above.

## Releasing

The box skill's text lives in `shared/skills/box/`: `SKILL.md` holds the common text, `variants/` the parts that differ on purpose per host (marked `<!-- name -->...<!-- /name -->` in `SKILL.md`), and `hosts.json` which host gets which. Edit it there, run `node scripts/gen-skills.mjs` (Node, no dependencies) and commit the files it writes in each host folder; never edit a host's copy directly. CI fails when the committed copies differ from the generator's output. Then bump the version, as below, only for the hosts whose generated file changed (`git status` shows them). The CLI pin in the generated skills (`{{CLI_VERSION}}`) is read from `claude-code/skills/box-offload/SKILL.md`, so a CLI pin change regenerates every host's skill.

- `claude-code/` and `claude/`: bump `version` in both `.claude-plugin/plugin.json` files (`claude/` is the directory listing, `claude-code/` the marketplace). Claude Code doesn't auto-update third-party marketplaces: users get it with `/plugin marketplace update simular-box` and `/plugin update simular-box@simular-box`, or with `npx @simular-ai/box connect`.
- `openclaw/`: bump `version` in `openclaw/package.json` and `openclaw/openclaw.plugin.json`, then `npm run build` and `clawhub package publish .` from `openclaw/`.
- `cursor/`: bump `version` in `cursor/.cursor-plugin/plugin.json`. Cursor re-reads the repo after the first review; a new listing goes through cursor.com/marketplace/publish.
Expand All @@ -43,5 +45,5 @@ Add a folder named after the agent with its own manifest, MCP config and, where
- `hermes/`: bump `version` in `hermes/plugin.json`, merge, then open a PR to [NousResearch/hermes-agent](https://github.com/NousResearch/hermes-agent) that moves `sha:` (and `version:`) in `plugin-catalog/box.yaml` to the merge commit. Hermes installs only the pinned, reviewed commit.
- `pi/`: bump `version` in `pi/package.json`, merge to main, then push a matching tag `pi-vX.Y.Z`. `release-pi.yml` publishes `@simular-ai/box-pi` to npm through trusted publishing, with provenance (the first version is published once by hand, see the workflow's header). pi.dev lists packages with the `pi-package` keyword on its own.
- `grok/`: bump `version` in `grok/.grok-plugin/plugin.json`, then open a PR to [xai-org/plugin-marketplace](https://github.com/xai-org/plugin-marketplace) that moves the `box` entry's `sha` to the new commit and regenerates its index.
- The Claude plugin's CLI pin: since 1.0.0, `@simular-ai/box` on npm is the Rust CLI released from [simular-ai/box-cli](https://github.com/simular-ai/box-cli). To move the plugin to a new CLI release, change the exact pin `npx -y @simular-ai/box@X.Y.Z` in every `npx -y` command under `claude-code/` and `claude/` and bump both `plugin.json` versions in one PR (CI fails unless every pin under both folders names the same exact version and that version is on npm; never a range, because the Claude directory review requires that what runs is what it read).
- The Claude plugin's CLI pin: since 1.0.0, `@simular-ai/box` on npm is the Rust CLI released from [simular-ai/box-cli](https://github.com/simular-ai/box-cli). To move the plugin to a new CLI release, change the exact pin `npx -y @simular-ai/box@X.Y.Z` in every `npx -y` command under `claude-code/` and `claude/` and bump both `plugin.json` versions in one PR; then run `node scripts/gen-skills.mjs`, which moves every other host's box skill to the same pin, and bump those hosts too (CI fails unless every pin under both folders names the same exact version and that version is on npm; never a range, because the Claude directory review requires that what runs is what it read).
- The box CLI (`@simular-ai/box` on npm) is released from simular-ai/box-cli, not from here. `e2e/` tests the pinned version against each real client (versions in `e2e/clients.json`); see `.github/workflows/ci.yml`.
2 changes: 2 additions & 0 deletions claude-code/skills/box/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name: box
description: Use box, a cloud Linux computer with Chrome and a shell, when a task needs a real computer - browsing sites (including ones behind a login), filling forms, using desktop apps, or running commands somewhere other than the user's machine.
---

<!-- Generated by scripts/gen-skills.mjs from shared/skills/box/. Edit it there and re-run the script; don't edit this copy. -->

# Use box

box is the user's own cloud Linux desktop. Its tools come from the `box` MCP server. The first call signs the user in through their browser once; after that it just works. A sleeping box wakes on the first call, which can take a few seconds.
Expand Down
2 changes: 1 addition & 1 deletion cursor/.antigravity-plugin/plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "https://antigravity.google/schemas/v1/plugin.json",
"name": "simular-box",
"displayName": "box by Simular",
"version": "0.1.0",
"version": "0.1.1",
"description": "A cloud Linux computer with Chrome and a shell that your agent drives over MCP, while your own computer stays free. Sign in once in the browser.",
"logo": "assets/logo.png",
"suggestedPrompts": [
Expand Down
2 changes: 1 addition & 1 deletion cursor/.cursor-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "simular-box",
"version": "0.1.0",
"version": "0.1.1",
"description": "Give Cursor's agent a computer of its own: a cloud Linux desktop with Chrome and a shell that it drives over MCP, while your own computer stays free. You sign in once in the browser; no key to paste.",
"author": {
"name": "Simular"
Expand Down
10 changes: 6 additions & 4 deletions cursor/skills/box/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name: box
description: Use box, a cloud Linux computer with Chrome and a shell, when a task needs a real computer - browsing sites (including ones behind a login), filling forms, using desktop apps, or running commands somewhere other than the user's machine.
---

<!-- Generated by scripts/gen-skills.mjs from shared/skills/box/. Edit it there and re-run the script; don't edit this copy. -->

# Use box

box is the user's own cloud Linux desktop. Its tools come from the `box` MCP server. The first call signs the user in through their browser once; after that it just works. A sleeping box wakes on the first call, which can take a few seconds.
Expand All @@ -19,11 +21,11 @@ box is the user's own cloud Linux desktop. Its tools come from the `box` MCP ser

The box tools act inside the box, and `read_file` reads text only. When the user asks to bring a file home or send one to the box, and you also have a shell on the user's computer (Claude Code, Codex and other CLI agents), use the box CLI there. It runs over box's API as the signed-in user, and the copy is byte for byte:

- Download a file: `npx -y @simular-ai/box@1.2.1 exec -- cat /home/user/report.pdf > report.pdf`
- Upload a file: `npx -y @simular-ai/box@1.2.1 exec -c 'cat > /home/user/data.csv' < data.csv`
- A folder, either way, with rsync. The host is the box's name from `box_list` (or `npx -y @simular-ai/box@1.2.1 ls`): `rsync -az -e "npx -y @simular-ai/box@1.2.1 rsh" main:/home/user/out/ ./out/`
- Download a file: `npx -y @simular-ai/box@1.2.2 exec -- cat /home/user/report.pdf > report.pdf`
- Upload a file: `npx -y @simular-ai/box@1.2.2 exec -c 'cat > /home/user/data.csv' < data.csv`
- A folder, either way, with rsync. The host is the box's name from `box_list` (or `npx -y @simular-ai/box@1.2.2 ls`): `rsync -az -e "npx -y @simular-ai/box@1.2.2 rsh" main:/home/user/out/ ./out/`

Send only what the user asked for: never a secret (`.env`, keys, credentials) unless the user names that file, and add `--exclude .env` when you rsync a folder up. Don't overwrite a local file without asking; pick a new name instead. `exec` uses the first box unless you add `--box <name>`. If the CLI says it isn't signed in, run `npx -y @simular-ai/box@1.2.1 login` and ask the user to allow it in the browser. Without a shell on the user's computer (ChatGPT, Claude on the web) there is no download yet: tell the user the file's path on the box.
Send only what the user asked for: never a secret (`.env`, keys, credentials) unless the user names that file, and add `--exclude .env` when you rsync a folder up. Don't overwrite a local file without asking; pick a new name instead. `exec` uses the first box unless you add `--box <name>`. If the CLI says it isn't signed in, run `npx -y @simular-ai/box@1.2.2 login` and ask the user to allow it in the browser. Without a shell on the user's computer (ChatGPT, Claude on the web) there is no download yet: tell the user the file's path on the box.

## Working with the user

Expand Down
2 changes: 1 addition & 1 deletion gemini-extension.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "simular-box",
"version": "0.1.0",
"version": "0.1.1",
"description": "box by Simular: a cloud Linux computer with Chrome and a shell that Gemini drives over MCP. Sign in once in the browser.",
"contextFileName": "gemini/GEMINI.md",
"mcpServers": {
Expand Down
9 changes: 5 additions & 4 deletions gemini/GEMINI.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<!-- Generated by scripts/gen-skills.mjs from shared/skills/box/. Edit it there and re-run the script; don't edit this copy. -->

# Use box

Expand All @@ -15,11 +16,11 @@ box is the user's own cloud Linux desktop. Its tools come from the `box` MCP ser

The box tools act inside the box, and `read_file` reads text only. When the user asks to bring a file home or send one to the box, and you also have a shell on the user's computer (Claude Code, Codex and other CLI agents), use the box CLI there. It runs over box's API as the signed-in user, and the copy is byte for byte:

- Download a file: `npx -y @simular-ai/box@1.2.1 exec -- cat /home/user/report.pdf > report.pdf`
- Upload a file: `npx -y @simular-ai/box@1.2.1 exec -c 'cat > /home/user/data.csv' < data.csv`
- A folder, either way, with rsync. The host is the box's name from `box_list` (or `npx -y @simular-ai/box@1.2.1 ls`): `rsync -az -e "npx -y @simular-ai/box@1.2.1 rsh" main:/home/user/out/ ./out/`
- Download a file: `npx -y @simular-ai/box@1.2.2 exec -- cat /home/user/report.pdf > report.pdf`
- Upload a file: `npx -y @simular-ai/box@1.2.2 exec -c 'cat > /home/user/data.csv' < data.csv`
- A folder, either way, with rsync. The host is the box's name from `box_list` (or `npx -y @simular-ai/box@1.2.2 ls`): `rsync -az -e "npx -y @simular-ai/box@1.2.2 rsh" main:/home/user/out/ ./out/`

Send only what the user asked for: never a secret (`.env`, keys, credentials) unless the user names that file, and add `--exclude .env` when you rsync a folder up. Don't overwrite a local file without asking; pick a new name instead. `exec` uses the first box unless you add `--box <name>`. If the CLI says it isn't signed in, run `npx -y @simular-ai/box@1.2.1 login` and ask the user to allow it in the browser. Without a shell on the user's computer (ChatGPT, Claude on the web) there is no download yet: tell the user the file's path on the box.
Send only what the user asked for: never a secret (`.env`, keys, credentials) unless the user names that file, and add `--exclude .env` when you rsync a folder up. Don't overwrite a local file without asking; pick a new name instead. `exec` uses the first box unless you add `--box <name>`. If the CLI says it isn't signed in, run `npx -y @simular-ai/box@1.2.2 login` and ask the user to allow it in the browser. Without a shell on the user's computer (ChatGPT, Claude on the web) there is no download yet: tell the user the file's path on the box.

## Working with the user

Expand Down
2 changes: 1 addition & 1 deletion grok/.grok-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "box",
"version": "0.1.1",
"version": "0.1.2",
"description": "Give Grok a computer of its own: a cloud Linux desktop with Chrome and a shell that it drives over MCP, while your own computer stays free. You sign in once in the browser; no key to paste.",
"author": {
"name": "Simular",
Expand Down
10 changes: 6 additions & 4 deletions grok/skills/box/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name: box
description: Use box, a cloud Linux computer with Chrome and a shell, when a task needs a real computer - browsing sites (including ones behind a login), filling forms, using desktop apps, or running commands somewhere other than the user's machine.
---

<!-- Generated by scripts/gen-skills.mjs from shared/skills/box/. Edit it there and re-run the script; don't edit this copy. -->

# Use box

box is the user's own cloud Linux desktop. Its tools come from the `box` MCP server. The first call signs the user in through their browser once; after that it just works. A sleeping box wakes on the first call, which can take a few seconds.
Expand All @@ -19,11 +21,11 @@ box is the user's own cloud Linux desktop. Its tools come from the `box` MCP ser

The box tools act inside the box, and `read_file` reads text only. When the user asks to bring a file home or send one to the box, and you also have a shell on the user's computer (Claude Code, Codex and other CLI agents), use the box CLI there. It runs over box's API as the signed-in user, and the copy is byte for byte:

- Download a file: `npx -y @simular-ai/box@1.2.1 exec -- cat /home/user/report.pdf > report.pdf`
- Upload a file: `npx -y @simular-ai/box@1.2.1 exec -c 'cat > /home/user/data.csv' < data.csv`
- A folder, either way, with rsync. The host is the box's name from `box_list` (or `npx -y @simular-ai/box@1.2.1 ls`): `rsync -az -e "npx -y @simular-ai/box@1.2.1 rsh" main:/home/user/out/ ./out/`
- Download a file: `npx -y @simular-ai/box@1.2.2 exec -- cat /home/user/report.pdf > report.pdf`
- Upload a file: `npx -y @simular-ai/box@1.2.2 exec -c 'cat > /home/user/data.csv' < data.csv`
- A folder, either way, with rsync. The host is the box's name from `box_list` (or `npx -y @simular-ai/box@1.2.2 ls`): `rsync -az -e "npx -y @simular-ai/box@1.2.2 rsh" main:/home/user/out/ ./out/`

Send only what the user asked for: never a secret (`.env`, keys, credentials) unless the user names that file, and add `--exclude .env` when you rsync a folder up. Don't overwrite a local file without asking; pick a new name instead. `exec` uses the first box unless you add `--box <name>`. If the CLI says it isn't signed in, run `npx -y @simular-ai/box@1.2.1 login` and ask the user to allow it in the browser. Without a shell on the user's computer (ChatGPT, Claude on the web) there is no download yet: tell the user the file's path on the box.
Send only what the user asked for: never a secret (`.env`, keys, credentials) unless the user names that file, and add `--exclude .env` when you rsync a folder up. Don't overwrite a local file without asking; pick a new name instead. `exec` uses the first box unless you add `--box <name>`. If the CLI says it isn't signed in, run `npx -y @simular-ai/box@1.2.2 login` and ask the user to allow it in the browser. Without a shell on the user's computer (ChatGPT, Claude on the web) there is no download yet: tell the user the file's path on the box.

## Working with the user

Expand Down
2 changes: 1 addition & 1 deletion hermes/plugin.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
"name": "simular-box",
"version": "0.2.2",
"version": "0.2.3",
"description": "Give your agent a computer of its own: a cloud Linux desktop with Chrome and a shell that it drives over MCP, around the clock, while your own machine stays free.",
"author": {
"name": "Simular",
Expand Down
Loading
Loading