yao-workspace
できること
このスキルにより、エージェントはYaoのワークスペース内のファイルを閲覧、編集できます。他のマシン上のワークスペースも含みます。複数のコンピューターにまたがってプロジェクトファイルを管理する人向けです。
使う場面
- ✓どのワークスペースが存在し、どこで動いているかを見たいとき。
- ✓別のコンピューター上のワークスペースで、ファイルを読み書きする必要があるとき。
- ✓ワークスペース内のフォルダを閲覧したいとき。
スキルのリンク
https://github.com/YaoApp/yao/blob/main/tools/skills/yao-workspace/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“私のワークスペースを一覧表示し、メインプロジェクトのワークスペースにある src フォルダのファイルを見せてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントはワークスペースを一覧表示し、あなたが選んだものの中をパスで確認します。ファイルのテキストやbase64の内容を読んだり、ファイルを書き込んだりできます。同じコンピューターのファイルには、エージェントは通常のファイルツールを使います。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)を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
よくある質問
これはローカルファイル用のツールですか?
いいえ。同じコンピューター上のファイルには、エージェントは通常のファイルツールを使います。
他のノードのワークスペースも見られますか?
はい。ワークスペースは、それが動いているノードで絞り込めます。
ファイルの読み取りはどの形式で返されますか?
UTF-8のテキスト、またはバイナリの内容の場合はbase64です。
詳細
作者による元の説明
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
人気
- GitHubのスター
- 8.3k
- ランキング
- #12482
- ライセンス
- —
- 更新日
- 2026/10/19
コメント
- …
このリポジトリの他のスキル
yao-agent
8.3kYaoホスト上のエージェントを一覧表示し、コードの確認、取得、デプロイ、モデルのコネクタ確認を支援します。
yao-audio
8.3kエージェントが、会議の録音などの音声ファイルを文字に起こすよう支援します。言語を指定しない場合は、自動で言語を判別します。
yao-board
8.3kYaoプラットフォーム上のカンバンボードとタスクの状況を、エージェントが確認できるよう支援します。推測ではなく、実際のプロジェクトの進捗を報告します。
yao-daemon
8.3k開発サーバーなど、長時間動くバックグラウンドのサービスを、エージェントが起動、確認、再起動、停止し、その出力を読めるよう支援します。
似ているスキル
openclaw-update
394k既存のOpenClaw Gatewayを更新するようエージェントを支援します。インストール方法に合った更新方法を選び、セッションを動かし続けます。
diagnose-gateway
394k設定、チャンネル、ポートを確認して、OpenClaw Gatewayが失敗している理由を、何も変更せずに突き止めるようエージェントを支援します。
crabbox-apps
394k一時的なクラウドマシン上でアプリを開いて実行し、そのビューをチャットのサイドパネルに表示するようエージェントを支援します。