Langsung ke konten
Skillpedia
Deploy & cloud (DevOps)8.3k Β· #12482

yao-workspace

Fungsinya

Skill ini memungkinkan agent menelusuri dan mengedit berkas di workspace Yao, termasuk workspace di mesin lain. Skill ini untuk orang yang mengelola berkas proyek di beberapa komputer.

Kapan dipakai

  • βœ“Saat Anda ingin melihat workspace apa saja yang ada dan di mana mereka berjalan.
  • βœ“Saat Anda perlu membaca atau menulis berkas di workspace pada komputer lain.
  • βœ“Saat Anda ingin menelusuri folder dalam sebuah workspace.

Link skill

https://github.com/YaoApp/yao/blob/main/tools/skills/yao-workspace/SKILL.md

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/YaoApp/yao/blob/main/tools/skills/yao-workspace/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit β†’

Contoh permintaan ke AI

β€œCantumkan workspace saya, lalu tampilkan berkas di folder src pada workspace proyek utama.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Agent mencantumkan workspace, lalu melihat isi yang Anda pilih berdasarkan jalurnya. Agent dapat membaca teks berkas atau konten base64-nya, serta menulis berkas. Untuk berkas di komputer yang sama, agent memakai alat berkas biasanya.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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

  1. workspace_list β€” discover available workspaces
  2. workspace_get β€” get full details (node, labels)
  3. workspace_file_list β€” browse directory structure
  4. workspace_file_read β€” read specific files
  5. workspace_file_write β€” write output files

Guidelines

  • Use workspace_list for discovery, workspace_get for 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
Pertanyaan umum

Apakah ini alat untuk berkas lokal?

Tidak. Untuk berkas di komputer yang sama, agent memakai alat berkas biasanya.

Bisakah ia melihat workspace di node lain?

Bisa. Workspace dapat disaring berdasarkan node tempat ia berjalan.

Format apa yang dikembalikan saat membaca berkas?

Teks dalam UTF-8, atau base64 untuk konten biner.

Detail

Deskripsi asli dari pembuat

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

Popularitas

Bintang GitHub
8.3k
Peringkat
#12482
Lisensi
β€”
Diperbarui
19/10/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa