搜索

PythonReactSEOPDF
OpenClaw

coder-workspaces

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.

developmentcats0 来源安装数☆ 0 仓库 Stars

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install developmentcats/coder-workspaces

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

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=<your-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 output

coder start <workspace>
coder stop <workspace>
coder restart <workspace> -y
coder delete <workspace> -y

coder ssh <workspace>                   # Interactive shell
coder ssh <workspace> -- <command>      # Run command in workspace

coder logs <workspace>
coder logs <workspace> -f               # Follow logs

AI Coding Tasks

Coder Tasks runs AI agents (Claude Code, Aider, etc.) in isolated workspaces.

Creating Tasks
coder tasks create --template <template> --preset "<preset>" "prompt"
  • Template: Required. List with coder templates list
  • Preset: May be required. Try without first. If creation fails with "Required parameter not provided", get presets with coder templates presets list <template> -o json and use the default. If no default, ask user which preset.
Managing Tasks
coder tasks list                        # List all tasks
coder tasks logs <task-name>            # View output
coder tasks connect <task-name>         # Interactive session
coder tasks delete <task-name> -y       # Delete task
Task States
  • Initializing: Workspace provisioning (timing varies by template)
  • Working: Setup script running
  • Active: Agent processing prompt
  • Idle: Agent waiti...

来源信息

Source
github
Repository
openclaw/skills
Path
skills/developmentcats/coder-workspaces
Version
—
Commit
ad1aded04caa948786b1b0aa79f08d2f28cf3aa1
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

README

Coder Workspaces Skill for OpenClaw

Manage Coder workspaces and AI coding agent tasks from your OpenClaw agent.

Features

  • Workspaces: List, create, start, stop, restart, delete
  • Remote Commands: SSH into workspaces and run commands
  • AI Tasks: Create and manage Coder Tasks with Claude Code, Aider, Goose, etc.

Prerequisites

  1. Access to a Coder deployment (self-hosted or Coder Cloud)
  2. Coder CLI installed
  3. Environment variables configured

Setup

1. Install Coder CLI

Install from your Coder instance to ensure version compatibility:

# Visit your instance's CLI page for instructions
# https://your-coder-instance.com/cli

Or via Homebrew (may not match server version):

brew install coder

See Coder CLI docs for all options.

2. Set Environment Variables

Add to your OpenClaw config (~/.openclaw/openclaw.json):

{
  "env": {
    "CODER_URL": "https://your-coder-deployment.com",
    "CODER_SESSION_TOKEN": "your-session-token"
  }
}

Get a token at https://your-coder-deployment.com/cli-auth or /settings/tokens.

3. Authenticate
coder login --token "$CODER_SESSION_TOKEN" "$CODER_URL"
4. Verify
coder whoami

Install the Skill

clawhub install coder-workspaces

Usage

Ask your OpenClaw agent things like:

  • "List my Coder workspaces"
  • "Start my dev workspace"
  • "Create a task to fix the auth bug"
  • "Check status of my running tasks"
  • "SSH into backend and run the tests"

Links

License

MIT

来源内容

SKILL.md
# 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](https://coder.com/docs/install/cli)

2. Set environment variables:
   ```bash
   export CODER_URL=https://your-coder-instance.com
   export CODER_SESSION_TOKEN=<your-token>  # Get from /cli-auth
   ```

3. Test connection:
   ```bash
   coder whoami
   ```

## Workspace Commands

```bash
coder list                              # List workspaces
coder list --all                        # Include stopped
coder list -o json                      # JSON output

coder start <workspace>
coder stop <workspace>
coder restart <workspace> -y
coder delete <workspace> -y

coder ssh <workspace>                   # Interactive shell
coder ssh <workspace> -- <command>      # Run command in workspace

coder logs <workspace>
coder logs <workspace> -f               # Follow logs
```

## AI Coding Tasks

Coder Tasks runs AI agents (Claude Code, Aider, etc.) in isolated workspaces.

### Creating Tasks

```bash
coder tasks create --template <template> --preset "<preset>" "prompt"
```

- **Template**: Required. List with `coder templates list`
- **Preset**: May be required. Try without first. If creation fails with "Required parameter not provided", get presets with `coder templates presets list <template> -o json` and use the default. If no default, ask user which preset.

### Managing Tasks

```bash
coder tasks list                        # List all tasks
coder tasks logs <task-name>            # View output
coder tasks connect <task-name>         # Interactive session
coder tasks delete <task-name> -y       # Delete task
```

### Task States

- **Initializing**: Workspace provisioning (timing varies by template)
- **Working**: Setup script running
- **Active**: Agent processing prompt
- **Idle**: Agent waiti...
README
# Coder Workspaces Skill for OpenClaw

Manage [Coder](https://coder.com) workspaces and AI coding agent tasks from your OpenClaw agent.

## Features

- **Workspaces**: List, create, start, stop, restart, delete
- **Remote Commands**: SSH into workspaces and run commands
- **AI Tasks**: Create and manage Coder Tasks with Claude Code, Aider, Goose, etc.

## Prerequisites

1. Access to a Coder deployment (self-hosted or Coder Cloud)
2. Coder CLI installed
3. Environment variables configured

## Setup

### 1. Install Coder CLI

Install from your Coder instance to ensure version compatibility:

```bash
# Visit your instance's CLI page for instructions
# https://your-coder-instance.com/cli
```

Or via Homebrew (may not match server version):

```bash
brew install coder
```

See [Coder CLI docs](https://coder.com/docs/install/cli) for all options.

### 2. Set Environment Variables

Add to your OpenClaw config (`~/.openclaw/openclaw.json`):

```json
{
  "env": {
    "CODER_URL": "https://your-coder-deployment.com",
    "CODER_SESSION_TOKEN": "your-session-token"
  }
}
```

Get a token at `https://your-coder-deployment.com/cli-auth` or `/settings/tokens`.

### 3. Authenticate

```bash
coder login --token "$CODER_SESSION_TOKEN" "$CODER_URL"
```

### 4. Verify

```bash
coder whoami
```

## Install the Skill

```bash
clawhub install coder-workspaces
```

## Usage

Ask your OpenClaw agent things like:

- "List my Coder workspaces"
- "Start my dev workspace"
- "Create a task to fix the auth bug"
- "Check status of my running tasks"
- "SSH into backend and run the tests"

## Links

- [Coder Docs](https://coder.com/docs)
- [Coder CLI](https://coder.com/docs/install/cli)
- [Coder Tasks](https://coder.com/docs/ai-coder)
- [OpenClaw](https://openclaw.ai)
- [ClawHub](https://clawhub.com)

## License

MIT

相关技能

OpenClaw

x402hub

capncoconut

Register, communicate, and earn on the x402hub AI agent marketplace. Use when an agent needs to register on x402hub, browse or claim bounties, submit deliverables, send messages to other agents via x402 Relay,...

OpenClaw

claw

capevace

Real-time event bus for AI agents. Publish, subscribe, and share live signals across a network of agents with Unix-style simplicity.

OpenClaw

captchas-openclaw

captchasco

OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.