yao-workspace
यह क्या करती है
यह स्किल एजेंट को Yao वर्कस्पेस में फ़ाइलें ब्राउज़ और एडिट करने देती है, जिनमें दूसरी मशीनों पर चल रहे वर्कस्पेस भी शामिल हैं। यह उन लोगों के लिए है जो कई कंप्यूटरों पर प्रोजेक्ट फ़ाइलें संभालते हैं।
कब इस्तेमाल करें
- ✓जब आप देखना चाहें कि कौन से वर्कस्पेस मौजूद हैं और वे कहाँ चल रहे हैं।
- ✓जब आपको किसी दूसरे कंप्यूटर के वर्कस्पेस में फ़ाइल पढ़नी या लिखनी हो।
- ✓जब आप किसी वर्कस्पेस के फ़ोल्डर ब्राउज़ करना चाहें।
Skill का लिंक
https://github.com/YaoApp/yao/blob/main/tools/skills/yao-workspace/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरे वर्कस्पेस की सूची दिखाइए, फिर मुख्य प्रोजेक्ट वर्कस्पेस के src फ़ोल्डर की फ़ाइलें दिखाइए।”
हर हफ़्ते 5 नई skills, 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
- लाइसेंस
- —
- अपडेट की गई
- 19/10/2026
कमेंट
- …
इस repository की और skills
yao-agent
8.3kयह आपके एजेंट को Yao होस्ट पर एजेंट्स सूचीबद्ध करने, उनका कोड खोजने या डाउनलोड करने, बदलाव तैनात करने और model connectors की सूची जांचने में मदद करती है।
yao-audio
8.3kयह आपके एजेंट को मीटिंग रिकॉर्डिंग जैसी ऑडियो फ़ाइलों की बातचीत को लिखित टेक्स्ट में बदलने में मदद करती है।
yao-board
8.3kयह आपके एजेंट को Yao प्लेटफ़ॉर्म पर कानबन बोर्ड और टास्क की स्थिति जाँचने में मदद करती है, ताकि वह अंदाज़ा नहीं, असली प्रगति बताए।
yao-daemon
8.3kयह आपके एजेंट को डेवलपमेंट सर्वर जैसी लंबे समय तक चलने वाली बैकग्राउंड सेवाएँ शुरू करने, जाँचने, रीस्टार्ट करने और रोकने में मदद करती है।
मिलती-जुलती skills
openclaw-update
394kयह आपके एजेंट को चल रहे OpenClaw Gateway को अपडेट करने में मदद करती है, इंस्टॉल के तरीके के अनुसार सही विधि चुनकर और सेशन बनाए रखकर।
diagnose-gateway
394kयह आपके एजेंट को सेटिंग्स, चैनल और पोर्ट जांचकर पता लगाने देती है कि OpenClaw Gateway क्यों फ़ेल हो रहा है, बिना कुछ बदले।
crabbox-apps
394kयह आपके एजेंट को किसी अस्थायी क्लाउड मशीन पर ऐप खोलने और चलाने देती है, फिर उसका व्यू आपके चैट के साइड पैनल में दिखाती है।