Coder Workspaces
by @developmentcats
Manage Coder workspaces and AI coding agent tasks via CLI. List, create, start, stop, and delete workspaces. SSH into workspaces to run commands. Create and monitor AI coding tasks with Claude Code, Aider, or other agents.
clawhub install coder-workspacesπ About This Skill
name: coder-workspaces description: Manage Coder workspaces and AI coding agent tasks via CLI. List, create, start, stop, and delete workspaces. SSH into workspaces to run commands. Create and monitor AI coding tasks with Claude Code, Aider, or other agents. metadata: openclaw: emoji: "ποΈ" requires: bins: ["coder"] env: ["CODER_URL", "CODER_SESSION_TOKEN"]
Coder Workspaces
Manage Coder workspaces and AI coding agent tasks via the coder CLI.
> Note: Commands execute within isolated, governed Coder workspaces β not the host system.
Setup
Before using coder CLI, configure authentication:
1. Install the CLI from Coder CLI docs
2. Set environment variables:
export CODER_URL=https://your-coder-instance.com
export CODER_SESSION_TOKEN= # Get from /cli-auth
3. Test connection:
coder whoami
Workspace Commands
coder list # List workspaces
coder list --all # Include stopped
coder list -o json # JSON outputcoder start
coder stop
coder restart -y
coder delete -y
coder ssh # Interactive shell
coder ssh -- # Run command in workspace
coder logs
coder logs -f # Follow logs
AI Coding Tasks
Coder Tasks runs AI agents (Claude Code, Aider, etc.) in isolated workspaces.
Creating Tasks
coder tasks create --template --preset "" "prompt"
coder templates listcoder templates presets list -o json and use the default. If no default, ask user which preset.Managing Tasks
coder tasks list # List all tasks
coder tasks logs # View output
coder tasks connect # Interactive session
coder tasks delete -y # Delete task
Task States
Troubleshooting
coder loginMore Info
βοΈ Configuration
Before using coder CLI, configure authentication:
1. Install the CLI from Coder CLI docs
2. Set environment variables:
export CODER_URL=https://your-coder-instance.com
export CODER_SESSION_TOKEN= # Get from /cli-auth
3. Test connection:
coder whoami
π Tips & Best Practices
coder login