workspaces
Skill by langchain-ai
Explains how to create, edit, fork and rebuild the sandbox image behind a workspace, including its optional setup and update scripts. Intended for anyone who asks about workspaces, snapshots or refreshes.
Install workspaces
Built from the published package, never by AI.
git clone --depth 1 https://github.com/langchain-ai/open-swe /tmp/open-swe && mkdir -p ~/.claude/skills && cp -r /tmp/open-swe/openswe/bundled_skills/workspaces ~/.claude/skills/workspacesRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/langchain-ai/open-swe /tmp/open-swe && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/open-swe/openswe/bundled_skills/workspaces ~/.gemini/antigravity-cli/skills/workspacesAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill gives an assistant the procedure for managing a workspace's sandbox image. A workspace holds preferred repositories, Slack channels, MCP connections and team settings, and it owns the published image that its runs boot from. The assistant builds the image in the current thread's sandbox and then publishes it with publish_workspace, which writes the workspace record only after the capture succeeds.
The skill also covers editing or forking a workspace, starting from scratch, the optional setup_script and update_script, reading a rebuild in progress, and finding the build logs. Changing an image is limited to workspace admins. The skill is meant for anyone who asks about workspaces, snapshots, sandbox images or refreshes.
Written from the project's SKILL.md and checked against it.
What it can do
- publish_workspaceCaptures the current thread's sandbox as the workspace image and writes the record after the capture succeeds.
- recreate_sandboxStarts a sandbox from the base snapshot or from a named workspace's image.
- list_workspacesLists workspaces so a slug can be chosen for recreate_sandbox.
- snapshotctlRuns rebuild, status, edit, history and stop actions for a workspace image.
- background_taskReports the status of a background rebuild by task_id.
What you need
- Workspace admin rights to change a workspace image
Try asking
- Publish a fork of this workspace's image under a new name.
- Check the status of my workspace rebuild.
- Why did last night's workspace refresh fail?
Good to know
- Only workspace admins can change a workspace image.
- Shared threads return only acknowledgements for writes.
- The nightly refresh replaces the image only if setup_script exits 0.
- A rebuild takes minutes to an hour and runs on a separate builder.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: openswe/bundled_skills/workspaces/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md6 KB
Alternatives to workspaces
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
workspaces: common questions
What happens if a nightly refresh fails?
The previous image stays in place, so runs do not fall back to the base snapshot. The failed stage is marked with its exit code on the Workspaces page.
Who can change a workspace's image?
Only workspace admins can, from an admin thread or through supported writes in a verified sole-writer shared thread.
Where are the workspace build logs?
They are written under /open-swe/environment/logs/ as setup.log and update.log, and they are captured into the image.
How do I install workspaces?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is workspaces free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is workspaces safe to use?
It scores 86 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to workspaces?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
