← Back to Skills Marketplace
202
Downloads
0
Stars
0
Active Installs
5
Versions
Install in OpenClaw
/install webdav-sync
Description
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...
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install webdav-sync - After installation, invoke the skill by name or use
/webdav-sync - Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Frequently Asked Questions
What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 202 downloads so far.
How do I install sync with webdav?
Run "/install webdav-sync" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is sync with webdav free?
Yes, sync with webdav is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does sync with webdav support?
sync with webdav is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created sync with webdav?
It is built and maintained by xyanmi (@xyanmi); the current version is v1.0.4.
More Skills