Nextcloud files

From bidewio/better-openclaw · View interactive version

Nextcloud files is an AI agent skill from the GitHub repository bidewio/better-openclaw. Self-hosted cloud storage and collaboration with Nextcloud

How to use this skill

Skill file

Nextcloud – Self-Hosted Cloud Storage

Nextcloud is the #1 self-hosted productivity platform — file sync, sharing,

calendars, contacts, and collaborative editing.

Environment Variables

| Variable | Description |

|---|---|

| {{NEXTCLOUD_URL}} | Base URL of the Nextcloud instance |

| {{NEXTCLOUD_USER}} | Username |

| {{NEXTCLOUD_PASSWORD}} | App password or user password |

Usage Examples

List files via WebDAV

curl -s -u "{{NEXTCLOUD_USER}}:{{NEXTCLOUD_PASSWORD}}" \
  -X PROPFIND "{{NEXTCLOUD_URL}}/remote.php/dav/files/{{NEXTCLOUD_USER}}/"

Upload a file

curl -s -u "{{NEXTCLOUD_USER}}:{{NEXTCLOUD_PASSWORD}}" \
  -X PUT "{{NEXTCLOUD_URL}}/remote.php/dav/files/{{NEXTCLOUD_USER}}/document.pdf" \
  --data-binary @document.pdf

Create a public share link

curl -s -u "{{NEXTCLOUD_USER}}:{{NEXTCLOUD_PASSWORD}}" \
  -X POST "{{NEXTCLOUD_URL}}/ocs/v2.php/apps/files_sharing/api/v1/shares" \
  -H "OCS-APIRequest: true" \
  -d "path=/document.pdf&shareType=3"

AI Agent Tips

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.