Requirements
- Target platform
- OpenClaw
- Install method
- Manual import
- Extraction
- Extract archive
- Prerequisites
- OpenClaw
- Primary doc
- SKILL.md
Lets OpenClaw safely share single files from its local workspace via expiring, tokenized HTTP links (local-network/VPN only). Hours are configurable (default...
Lets OpenClaw safely share single files from its local workspace via expiring, tokenized HTTP links (local-network/VPN only). Hours are configurable (default...
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
Share single workspace files via expiring HTTP links (tokenized, local-network only).
โ Single-file sharing (no directory browsing) โ Time-limited tokens (default 1h, configurable; max 24h) โ Optional one-time access (token invalid after first successful download) โ Local/VPN-only (RFC1918 private ranges + localhost) โ UTF-8 encoding (proper display of German umlauts, etc.) โ No-cache headers (always fresh content) โ Auto-cleanup (servers can be killed when done)
Install: clawhub install expiring-local-fileshare Update: clawhub update expiring-local-fileshare
{baseDir}/scripts/share.sh /path/to/file.md [port] [hours] [once] Parameters: file-path (required): Absolute path to file port (optional): Port number (default: auto-assigned 8888+) hours (optional): Validity in hours (default: 1, max: 24) once (optional): Set to once or 1 for one-time access Output: Returns clickable HTTP link with token, valid for specified duration.
# Share a markdown file (1h, auto-port) {baseDir}/scripts/share.sh ~/.openclaw/workspace/projects/my-project/README.md # Share an image (12h, port 9000) {baseDir}/scripts/share.sh ~/image.png 9000 12 # Share a file (one-time access, 1h) {baseDir}/scripts/share.sh ~/secrets.txt 9001 1 once
Starts a lightweight Node.js HTTP server on specified port Generates random 32-char hex token Returns URL: http://192.168.0.219:PORT/?token=XXXXX Validates: Source IP (must be LAN or VPN) Token match Expiry time Serves file with correct MIME type and UTF-8 encoding Logs all access attempts
Workspace-only by default: refuses to share files outside ~/.openclaw/workspace (override via FILESHARE_ALLOW_ANY_PATH=1, not recommended) Local-only: Only serves to private IP ranges (RFC1918) + localhost (VPN counts). Token-based: 128-bit random tokens (computationally infeasible to guess) Time-limited: Hard expiry after N hours (default 1h, max 24h) Optional one-time: Token invalid after first successful download No listing: Only serves the specified file, no directory browsing No caching: Forces fresh content load
Auto-detected MIME types: .png โ image/png .jpg, .jpeg โ image/jpeg .md โ text/markdown; charset=utf-8 .txt โ text/plain; charset=utf-8 Others โ application/octet-stream
There is no background service by default.
# Kill a specific port kill $(lsof -t -i:8888) # Kill all fileshare servers started via this skill pkill -f "share-file.js"
If installed into ~/.openclaw/skills: rm -rf ~/.openclaw/skills/expiring-local-fileshare
# Kill a specific port kill $(lsof -t -i:8888) # Kill all fileshare servers started via this skill pkill -f "share-file.js"
Single files only (no folder shares) Default validity: 1h Max validity: 24h Local/VPN only (RFC1918 + localhost) No public "anyone with link"
Wrong encoding (umlauts broken)? โ Fixed in latest version (UTF-8 charset in headers) Old version served? โ Kill old server + restart (no-cache headers prevent browser caching) Can't access from outside? โ VPN required (home network topology uses NAT/masquerade, see docs/internal-fileshare.md) Port already in use? โ Use different port or kill existing server
Workflow acceleration for inboxes, docs, calendars, planning, and execution loops.
Largest current source with strong distribution and engagement signals.