Skip to content
AI & Agents
Skill

/byted-tos-workspace-netdrive

检测并管理挂载在工作区 /root/.openclaw/workspace/ 下的网盘(TOS 存储桶挂载)。当你需要将文件保存到持久化存储、检查已挂载的 TOS 存储桶或列出可用的工作区网盘时使用此技能。

From plugin
agentkit-samples
488161 skills

Claude Code

$ npx -y skills add bytedance/agentkit-samples --skill byted-tos-workspace-netdrive --agent claude-code

SKILL.md

byted-tos-workspace-netdrive.SKILL.md
name: byted-tos-workspace-netdrive
description: 检测并管理挂载在工作区 /root/.openclaw/workspace/ 下的网盘(TOS 存储桶挂载)。当你需要将文件保存到持久化存储、检查已挂载的 TOS 存储桶或列出可用的工作区网盘时使用此技能。
metadata:
  openclaw:
    emoji: "💾"
    requires: { "bins": ["df", "grep", "awk"] }

工作区网盘技能 (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.txt

3. 反馈

向用户反馈文件存储位置时,**请勿**使用内部文件系统路径(例如 `/root/.openclaw/workspace/...`)。 而应该反馈 **桶名称 (Bucket Name)** 和 **相对于桶的路径**。

**反馈示例:** > "文件已成功保存。 > **桶名:** my-bucket > **路径:** folder/source_file.txt"

这种格式方便用户在外部系统中访问这些文件。

@bytedance
Ships withagentkit-samples

欢迎来到 AgentKit 代码工坊(Samples)仓库! AgentKit 是火山引擎推出的企业级 AI Agent 开发平台,为开发者提供完整的 Agent 构建、部署和运维解决方案。平台通过标准化的开发工具链和云原生基础设施,显著降低复杂智能体应用的开发部署门槛。 本代码库包含了一系列示例和教程,帮助您理解、实现和集成 AgentKit 的各项功能到您的应用中。

Stars on GitHub

Momentum

stars in total
488
Star history of bytedance/agentkit-samples on GitHub, a chart by star-history.com

Other skills on agentkit-samples.

image-video-gen

image-video-gen

根据文字描述生成视频,一个生成图片和视频的工作流技能。依赖 skills: byted-web-search, image-generate, video-generate。注意:此 workflow 没有执行脚本,只是一个描述性的文档。

veadk-go-skills

veadk-go-skills

根据用户的功能需求,完成与 VeADK-Go 相关的功能; 包括:直接根据需求生成 Agent;将Enio Agent转换为VeADK-Go Agent。

More skills from other plugins.

1password

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

openclaw2w393k
@openclaw@openclawInstall Skill

Questions about byted-tos-workspace-netdrive.

Which coding agents can use byted-tos-workspace-netdrive?
byted-tos-workspace-netdrive installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.