ClawExplorer logo

ClawExplorer

OpenClaw skill

coder-workspaces

An OpenClaw skill that enables agents to create, manage, and interact with persistent coding workspaces powered by GitHub Codespaces. It provides capabilities to create new codespaces for projects, start, stop, and delete codespaces, access shell and execute commands, install tools and dependencies, and manage files and directories.

Files

Review the files below to add this skill to your agents.

SKILL.md content

Unable to load SKILL.md content from source.

How this skill works

  • Registers trigger phrases including 'set up a coder workspace', 'create coder workspace', 'start coding environment'
  • Parses the repository URL or GitHub repo name from the task message using regex
  • Verifies Coder CLI installation with 'coder version'
  • Creates workspace template if missing using 'coder templates create --from github://coder/coder-workspaces-template'
  • Initiates workspace creation with 'coder workspaces create [template-name] --parameters repo=[repo-url]'
  • Polls workspace status until ready with 'coder workspaces show'
  • Returns the workspace URL and access instructions

When to use it

  • When initializing a persistent workspace for coding and development tasks
  • When managing files, directories, and dependencies within a dedicated coding environment
  • When executing shell commands or running code in an isolated workspace

Best practices

  • Ensure `workspace_dir` exists and has write permissions
  • Add VS Code to system PATH
  • Use absolute paths for `workspace_dir`
  • Securely manage `git_token` for private repositories

Example use cases

  • Creating a new VS Code workspace: Uses create_workspace to initialize a persistent cloud-hosted VS Code environment, optionally cloning a Git repository.
  • Listing existing workspaces: Uses list_workspaces to retrieve and manage available coder workspaces.
  • Deleting a workspace: Uses delete_workspace to clean up unused VS Code workspaces.
  • Opening a workspace in browser: Uses open_workspace to provide a browser-accessible link for human review or collaboration.
  • Installing VS Code extensions: Uses install_extensions to add tools like language servers or debuggers to a specific workspace.
  • Running terminal commands: Uses run_terminal_command to execute shell commands, install packages, or run code within the workspace terminal.

FAQs

More similar skills to explore

  • achurch

    An OpenClaw skill for church administration that handles member management, event scheduling, sermon retrieval, and donation processing. It provides tools to list members, add new members, schedule events, fetch sermons, and record donations.

  • agent-config

    An OpenClaw skill that enables agents to manage their configuration by loading from files, environment variables, or remote sources. It supports retrieving, setting, and validating configuration values. The skill allows for hot-reloading of configurations.

  • agent-council

    An OpenClaw skill named agent-council that enables the primary agent to summon a council of specialized sub-agents for deliberating on tasks. The council members discuss the query from unique perspectives, propose solutions, and vote to select the best response. The skill outputs the winning proposal with supporting rationale from the council.

  • agent-identity-kit

    An OpenClaw skill that equips agents with tools to craft, manage, and evolve digital identities, including generating personas, bios, avatars, and communication styles. It supports creating detailed agent personas with name, background, goals, personality traits; crafting bios for specific platforms; designing avatars; tuning voice and style; and adapting identities to new contexts.

  • agenticflow-skill

    An OpenClaw skill that provides tools for interacting with Agentic Flow. The tools enable agents to create agentic flows with defined tasks, execute existing flows, and retrieve flow status and outputs.

  • agentlens

    AgentLens is an OpenClaw skill that enables agents to inspect the internal cognition and actions of other agents. It provides visibility into reasoning traces (thoughts), tool calls and arguments, retrieved memories, and response generation. The skill supports analysis in multi-agent conversations via the "inspect" action targeting a specific agent.