安全扫描
OpenClaw
安全
high confidence仅含指令的 OneDrive 技能,包含连贯、范围狭窄的运行时指令,不请求凭据、安装或文件系统访问。
评估建议
This 技能 is internally consistent and low-risk because it is instruction-only and asks for no secrets. Before enabling it: 验证 how the 平台 connects your OneDrive account (prefer standard Microsoft OAuth flows and review 请求ed scopes), confirm you trust the integration 提供者 (技能 source/homepage are not provided), and avoid pasting 访问 令牌s or 凭证s into chat. If you are concerned about automatic use, limit or review the 技能's invocation 权限s in your 代理 设置tings. If you plan to perform writes (创建 folders, 分享 l...详细分析 ▾
✓ 用途与能力
Name/description match the 运行time instructions: 列出ing, 搜索ing, inspecting, and performing OneDrive file actions. The 技能 does not 请求 unrelated 凭证s or 工具s.
✓ 指令范围
技能.md stays on-task: it instructs the 代理 to 检查 connection 状态, avAIlable OneDrive 工具 actions, prefer reads before writes, ask clarifying questions, and not to 访问 unrelated files, env vars, or outbound 端点s.
✓ 安装机制
No 安装 spec and no code files (instruction-only). This minimizes on-disk execution risk; nothing 下载ed or 安装ed by the 技能 itself.
✓ 凭证需求
No required 环境 variables or 凭证s declared, and the instructions explicitly advise agAInst asking users to paste 令牌s or using unofficial auth flows, which is proportionate.
✓ 持久化与权限
always:false and default autonomous invocation allowed (normal). The 技能 does not 请求 persistent 系统-wide config or elevated privileges.
安全有层次,运行前请审查代码。
运行时依赖
无特殊依赖
安装命令
点击复制官方npx clawhub@latest install onedrive-files
镜像加速npx clawhub@latest install onedrive-files --registry https://cn.longxiaskill.com 镜像可用
技能文档
从聊天中直接使用 OneDrive:浏览文件、查看详情、搜索文件夹,并在已连接集成支持时执行可用文件操作。
概览 用此技能完成常见 OneDrive 任务:
- 列出驱动器或文件夹内文件
- 按名称找文件
- 搜索文件
- 按 ID 获取文件
- 读取 Excel 中的表格数据
- 在明确请求且接口开放时创建文件夹、链接或上传
回答务必实用、具体、基于实际可用功能。
使用方法 流程:
- 识别 OneDrive 任务
- 确认 OneDrive 已连接
- 查看当前可用工具与操作
- 优先读/查,减少歧义再写
- 若要写入,先说明将变更内容
- 多匹配时请用户澄清
- 功能缺失则直接告知
可完成示例
- 列出我的驱动器
- 显示此文件夹文件
- 按名称找文件
- 搜索项目文件
- 按 ID 获取文件
- 读取 Excel 表格
- 创建文件夹(若支持)
- 创建共享链接(若支持)
- 上传文件(若支持)
连接 执行前:
- 验证 OneDrive 已连接
- 未连接则引导官方流程
- 勿让用户粘贴 token、cookie、密码
- 不使用非官方登录或截取会话
安全与范围
- 仅用完成任务所需最少输入
- 不访问无关本地文件、密钥、环境变量
- 不发起无关外呼
- 创建/共享/上传前明确披露
- 选风险最低的可行方案
行为准则
- 以实时工具集为准
- 不声称全覆盖
- 不伪造不支持的内容
- 不因可读就暗示可写
- 歧义时提问澄清
- 高风险变更前总结说明
示例请求
- 列出我的 OneDrive 驱动器
- 显示此 OneDrive 文件夹文件
- 在 OneDrive 找某文件
- 搜索 OneDrive 项目文件
- 按 ID 获取 OneDrive 文件
- 读取 OneDrive 中的 Excel 表
- 若支持,创建 OneDrive 文件夹
- 若支持,创建 OneDrive 共享链接
- 若支持,上传文件到 OneDrive
限制 实际能力取决于:
- 账户是否已连接
- 当前暴露的 OneDrive 操作集
- Microsoft 账户授予的权限
回答风格
- 说明找到了什么
- 说明支持什么
- 说明何时需先连接
- 说明何时会写入
- 说明何时不可用
参考 Microsoft Graph OneDrive 概览 — https://learn.microsoft.com/en-us/graph/api/resources/onedrive Drive 资源参考 — https://learn.microsoft.com/en-us/graph/api/resources/drive DriveItem 资源参考 — https://learn.microsoft.com/en-us/graph/api/resources/driveitem Microsoft Graph 文档 — https://learn.microsoft.com/en-us/graph/ Discord 支持 — https://discord.gg/KjN3xcTvw4