← 返回 Skills 市场
202
总下载
0
收藏
0
当前安装
5
版本数
在 OpenClaw 中安装
/install webdav-sync
功能描述
Archive local files or directories into tar/tar.gz and upload them to a WebDAV endpoint, with optional notifications. Use when the user asks to back up a fol...
安全使用建议
This skill appears to do what it claims: it packages specified local paths and uploads them to the given WebDAV site using curl, and can optionally send notifications via the OpenClaw CLI. Before installing or running:
- Provide the WEBDAV credentials in an env file (default .env) or pass --env-file; the script reads a file rather than relying on injected platform env vars.
- Verify you trust the WebDAV endpoint (WEBDAV_SITE) before giving credentials. The password is written to a temporary curl config file with 0600 permissions and deleted after use, but on multi-user systems consider running the job under a dedicated user and/or set a custom tmp directory with --tmp-dir.
- If you won't use notifications, OpenClaw is effectively optional; metadata requiring the openclaw binary is slightly stricter than the code needs — you can avoid configuring notifications to skip OpenClaw calls.
- Check/.env file permissions (should be restricted) and test on a non-production directory first.
Overall the skill is internally consistent and proportionate, with only small operational mismatches to be aware of.
功能分析
Type: OpenClaw Skill
Name: webdav-sync
Version: 1.0.4
The skill is a legitimate utility for archiving local files and uploading them to a WebDAV endpoint. It follows security best practices by using temporary configuration files with restricted permissions (0600) to prevent credential leakage in process trees and avoids shell injection by using subprocess.run with list-based arguments. The logic in scripts/webdav_sync.py is transparent and strictly aligned with the stated purpose in SKILL.md.
能力评估
Purpose & Capability
The skill's name, description, SKILL.md, and included script all implement WebDAV archive-and-upload functionality. Requiring curl is appropriate. The metadata lists openclaw as a required binary, but the script only uses OpenClaw for optional notifications (send_notification is a no-op if no channel/target); this is a minor mismatch between declared requirements and actual necessity.
Instruction Scope
SKILL.md and the script limit actions to archiving specified local paths, creating a temporary curl auth file, performing MKCOL/PUT to the declared WebDAV site, and optionally invoking the OpenClaw CLI for notifications. The instructions explicitly avoid printing credentials and recommend using a temporary credential file with 0600 permissions and immediate deletion; the script implements that pattern.
Install Mechanism
No install spec is provided (instruction-only plus an included script). Nothing is downloaded or executed from arbitrary URLs. The runtime relies on existing system binaries (curl and optionally openclaw), which is proportionate to the task.
Credentials
The skill requests only WEBDAV_SITE, WEBDAV_USERID, and WEBDAV_PWD — all required to authenticate to the WebDAV target. Implementation reads credentials from an env file (default .env) rather than from platform-injected environment variables; metadata lists the same env keys but doesn't state the file-dependency, so callers must provide the env file or pass --env-file. Storing credentials temporarily on disk is done with 0600 file perms and deletion, which is reasonable but worth attention on multi-user hosts.
Persistence & Privilege
The skill does not request permanent/always-on privilege and does not modify other skills or system-wide configurations. It creates temporary files in a tmp directory and cleans up the credential file in finally; the default tmp path (/tmp/openclaw-webdav-sync) may be acceptable but operators should consider using a per-user or per-job tmp dir on multi-user systems.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install webdav-sync - 安装完成后,直接呼叫该 Skill 的名称或使用
/webdav-sync触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.4
webdav-sync 1.0.4
- Updated metadata to require "openclaw" binary in addition to "curl".
- Added "primaryEnv": "WEBDAV_SITE" to metadata.
- Improved description formatting and trigger instructions for better clarity.
- No changes to the core logic or script files.
v1.0.3
webdav-sync 1.0.3
- No code or documentation changes detected in this release.
- Minor metadata formatting update in SKILL.md (metadata is now on a single line, no structural or functional impact).
- All functionality and usage instructions remain unchanged.
v1.0.2
- Clarified that WebDAV credentials must not be passed via command-line arguments; instead, a temporary credential file with `0600` permissions should be used and deleted after the request.
- Removed recommendations about Python version pinning and updated related execution details.
- No changes to core features, execution patterns, or usage instructions.
- Minor formatting and organization improvements for clarity in guardrails and metadata.
v1.0.1
No user-facing changes in this release.
- Version bump from 1.0.0 to 1.0.1 with no detected file modifications.
- No new features, bug fixes, or documentation changes.
v1.0.0
Initial release of webdav-sync.
- Packages local files/directories into deterministic tar/tar.gz archives with explicit excludes.
- Uploads archives to a specified WebDAV endpoint using credentials from environment variables.
- Creates remote directories as needed and handles standard WebDAV responses safely.
- Integrates with wrapper scripts and supports scheduled jobs for automated backups.
- Supports notification triggers after upload completion.
- Designed to evolve sync rules and exclusions safely over time.
元数据
常见问题
sync with webdav 是什么?
Archive local files or directories into tar/tar.gz and upload them to a WebDAV endpoint, with optional notifications. Use when the user asks to back up a fol... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 202 次。
如何安装 sync with webdav?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install webdav-sync」即可一键安装,无需额外配置。
sync with webdav 是免费的吗?
是的,sync with webdav 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
sync with webdav 支持哪些平台?
sync with webdav 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 sync with webdav?
由 xyanmi(@xyanmi)开发并维护,当前版本 v1.0.4。
推荐 Skills