yao-workspace
What it does
This skill lets an agent browse and edit files in Yao workspaces, including workspaces on other machines. It is for people who manage project files across several computers.
When to use it
- ✓When you want to see which workspaces exist and where they run.
- ✓When you need to read or write a file in a workspace on another computer.
- ✓When you want to browse the folders in a workspace.
Skill link
https://github.com/YaoApp/yao/blob/main/tools/skills/yao-workspace/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“List my workspaces, then show me the files in the src folder of the main project workspace.”
5 new skills a week. 1 minute to read.
How it works
The agent lists workspaces, then looks inside the one you choose by path. It can read a file's text or its base64 content and write files. For files on the same computer, the agent uses its normal file tools instead.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Workspace Tools
Five tools for managing workspaces and file I/O, called via bash.
workspace_list
List workspaces with summary info. Use workspace_get for full details.
tai tool workspace_list '{}'
tai tool workspace_list '{"node": "tai-node-1"}'
| Parameter | Type | Required | Description |
|---|---|---|---|
node |
string | no | Filter by Tai node ID |
workspace_get
Get full workspace details: name, owner, node, labels, timestamps.
tai tool workspace_get '{"id": "ws-abc123"}'
| Parameter | Type | Required | Description |
|---|---|---|---|
id |
string | yes | Workspace ID |
workspace_file_list
List files and directories in a workspace path.
tai tool workspace_file_list '{"id": "ws-abc123"}'
tai tool workspace_file_list '{"id": "ws-abc123", "path": "src/components"}'
| Parameter | Type | Required | Description |
|---|---|---|---|
id |
string | yes | Workspace ID |
path |
string | no | Directory path (default ".") |
workspace_file_read
Read file content from workspace. Returns text (UTF-8) or base64 encoded.
tai tool workspace_file_read '{"id": "ws-abc123", "path": "README.md"}'
tai tool workspace_file_read '{"id": "ws-abc123", "path": "image.png", "encoding": "base64"}'
| Parameter | Type | Required | Description |
|---|---|---|---|
id |
string | yes | Workspace ID |
path |
string | yes | File path relative to workspace root |
encoding |
string | no | "text" (default) or "base64" |
workspace_file_write
Write content to a file in workspace. For binary files, use base64 encoding.
tai tool workspace_file_write '{"id": "ws-abc123", "path": "output.txt", "content": "Hello World"}'
tai tool workspace_file_write '{"id": "ws-abc123", "path": "data.bin", "content": "base64data...", "encoding": "base64"}'
| Parameter | Type | Required | Description |
|---|---|---|---|
id |
string | yes | Workspace ID |
path |
string | yes | File path relative to workspace root |
content |
string | yes | File content (text or base64 encoded) |
encoding |
string | no | "text" (default) or "base64" |
Typical Workflow
workspace_list— discover available workspacesworkspace_get— get full details (node, labels)workspace_file_list— browse directory structureworkspace_file_read— read specific filesworkspace_file_write— write output files
Guidelines
- Use
workspace_listfor discovery,workspace_getfor details (list returns summaries only) - For large files (>1MB), prefer local filesystem operations if the workspace is mounted in the sandbox
- Use
encoding: "base64"for binary files (images, archives, etc.) - File paths are relative to the workspace root — do not use absolute paths
- The current sandbox workspace ID is available via
$CTX_WORKSPACE_ID - All output is JSON
FAQ
Is this the tool for local files?
No. For files on the same computer, the agent uses its normal file tools.
Can it see workspaces on other nodes?
Yes. Workspaces can be filtered by the node they run on.
What format does a file read return?
Text in UTF-8, or base64 for binary content.
Details
Original description by the author
Workspace file I/O expert. ALWAYS invoke this skill when you need to list workspaces, read or write files in a workspace on a remote node, or browse workspace directories. Use this for cross-node file operations — for local sandbox files, use standard filesystem tools instead.
repo: YaoApp/yao
Popularity
- GitHub stars
- 8.3k
- Ranking position
- #12482
- License
- —
- Updated
- 10/19/2026
Comments
- …
More skills from this repository
yao-agent
8.3kHelps your agent list the agents on a Yao host, look up or download agent code, deploy changes, and check the list of model connectors.
yao-audio
8.3kHelps your agent turn speech in audio files, such as meeting recordings, into written text, detecting the language when you do not name it.
yao-board
8.3kHelps your agent check kanban boards and task status on the Yao platform, so it reports real project progress instead of guessing.
yao-daemon
8.3kHelps your agent start, check, restart, and stop long-running background services, such as development servers, and read what they print.
Similar skills
openclaw-update
394kHelps your agent update an existing OpenClaw Gateway, choosing the update method that fits how it was installed and keeping your session working.
diagnose-gateway
394kHelps your agent find out why your OpenClaw Gateway is failing by checking settings, channels, and ports without changing anything.
crabbox-apps
394kHelps your agent open and run an app on a temporary cloud machine, then show its view in your chat side panel.