mirror of
https://github.com/getcompanion-ai/companion-skill.git
synced 2026-04-15 01:00:27 +00:00
Claude Code skill to offload tasks to a Companion sandbox in the cloud
| companion-offload | ||
| .gitignore | ||
| README.md | ||
Companion Offload Skill
A skills.sh skill for Claude Code that offloads tasks to a Companion sandbox in the cloud.
What it does
When you invoke this skill, Claude will:
- Use
companion sshto connect to your sandbox - Sync your entire project, environment variables, and Claude session history
- Install Claude Code on the sandbox if needed
- Start a Claude Code session with
--dangerously-skip-permissionsso it runs autonomously
The remote session picks up right where you left off - full context, full environment.
Install
npx skills add getcompanion-ai/companion-skill
Usage
Inside a Claude Code session, tell Claude to offload:
- "offload this task to my companion"
- "continue this in the cloud"
- "run this on my sandbox"
Or use the standalone script:
./companion-offload/scripts/offload.sh "finish implementing the API"
Prerequisites
companionCLI installed:npm install -g @getcompanion/cli- Logged in:
companion login - A running sandbox:
companion create <handle> rsyncavailable locally
Remote workspace
Files are synced to whichever path exists on the sandbox:
/home/node/.openclaw/workspace/home/node/.pi/workspace
Reconnecting
After offloading, reconnect to the remote session:
companion ssh
cd /home/node/.openclaw/workspace
claude --continue
License
MIT