Global Rank · of 601 Skills
byted-tos-workspace-netdrive AI Agent Skill
View Source: bytedance/agentkit-samples
SafeInstallation
npx skills add bytedance/agentkit-samples --skill byted-tos-workspace-netdrive 11
Installs
工作区网盘技能 (Workspace Netdrive Skill)
此技能帮助你检测和使用挂载在工作区内的网盘(TOS 存储桶挂载)。
何时使用
当用户要求执行以下操作时使用此技能:
- "检查是否有挂载的网盘"
- "把这个文件保存到网盘/TOS"
- "将输出存储到云存储桶挂载"
- "列出可用的存储桶"
检测逻辑
网盘通常挂载为 /root/.openclaw/workspace/ 下的子目录。
检测脚本使用 df 和 grep 来检查该目录下的挂载点。
指令
1. 检测可用网盘
运行此脚本以列出所有已挂载的网盘路径和桶名称:
scripts/detect_mounts.sh输出示例:
Detected network drives (Buckets):
Bucket: my-bucket (Path: /root/.openclaw/workspace/my-bucket)
Bucket: reports-bucket (Path: /root/.openclaw/workspace/reports-bucket)如果未发现网盘,输出将是:No network drives mounted in workspace.
注意: 如果未检测到网盘,你必须提示用户在 arkClaw 界面菜单栏中配置网盘(配置TOS存储桶信息),然后才能继续。
2. 保存文件到网盘
一旦识别出有效的挂载路径(例如 /root/.openclaw/workspace/my-bucket),你可以直接将文件保存到该路径。
复制文件:
cp source_file.txt /root/.openclaw/workspace/my-bucket/folder/直接写入网盘:
echo "内容" > /root/.openclaw/workspace/my-bucket/output.txt3. 反馈
向用户反馈文件存储位置时,请勿使用内部文件系统路径(例如 /root/.openclaw/workspace/...)。
而应该反馈 桶名称 (Bucket Name) 和 相对于桶的路径。
反馈示例:
"文件已成功保存。
桶名: my-bucket
路径: folder/source_file.txt"
这种格式方便用户在外部系统中访问这些文件。
Installs
Security Audit
View Source
bytedance/agentkit-samples
More from this source
Power your AI Agents with
the best open-source models.
Drop-in OpenAI-compatible API. No data leaves Europe.
Explore Inference APIGLM
GLM 5
$1.00 / $3.20
per M tokens
Kimi
Kimi K2.5
$0.60 / $2.80
per M tokens
MiniMax
MiniMax M2.5
$0.30 / $1.20
per M tokens
Qwen
Qwen3.5 122B
$0.40 / $3.00
per M tokens
How to use this skill
Install byted-tos-workspace-netdrive by running npx skills add bytedance/agentkit-samples --skill byted-tos-workspace-netdrive in your project directory. Run the install command above in your project directory. The skill file will be downloaded from GitHub and placed in your project.
No configuration needed. Your AI agent (Claude Code, Cursor, Windsurf, etc.) automatically detects installed skills and uses them as context when generating code.
The skill enhances your agent's understanding of byted-tos-workspace-netdrive, helping it follow established patterns, avoid common mistakes, and produce production-ready output.
What you get
Skills are plain-text instruction files — not executable code. They encode expert knowledge about frameworks, languages, or tools that your AI agent reads to improve its output. This means zero runtime overhead, no dependency conflicts, and full transparency: you can read and review every instruction before installing.
Compatibility
This skill works with any AI coding agent that supports the skills.sh format, including Claude Code (Anthropic), Cursor, Windsurf, Cline, Aider, and other tools that read project-level context files. Skills are framework-agnostic at the transport level — the content inside determines which language or framework it applies to.
Chat with 100+ AI Models in one App.
Use Claude, ChatGPT, Gemini alongside with EU-Hosted Models like Deepseek, GLM-5, Kimi K2.5 and many more.