nextcloud-files
由 romain-grosos 提供
Web & Frontend Development简介
Nextcloud file and folder management via WebDAV + OCS API.
描述
该技能的功能
Manages files and folders on a Nextcloud instance via WebDAV and OCS API. Supports creating, reading, writing, renaming, moving, copying, deleting, listing, and searching files. Also handles favorites, system tags, and storage quota checks.
Uses only Python stdlib with no external dependencies, so it works in any Python 3.9+ environment without installing packages.
何时使用
- Saving AI-generated article summaries as Markdown files to Nextcloud
- Appending daily entries to a running log file on Nextcloud
- Organizing a workspace by creating structured folder hierarchies
- Tagging files by status such as draft, published, or research
- Checking available storage quota before starting a large upload
示例工作流
User asks: Save this article summary to my Nextcloud drafts folder
- 1
Connects to Nextcloud using NC_URL, NC_USER, and NC_APP_KEY credentials
- 2
Verifies the /Drafts folder exists within the configured base_path
- 3
Writes the summary content as /Drafts/summary.md
- 4
Confirms the file was created and returns its path
File saved to /Drafts/summary.md on Nextcloud
前置要求
- Nextcloud account (self-hosted or provider-hosted instance)
- NC_URL environment variable (Nextcloud instance URL)
- NC_USER environment variable (Nextcloud username)
- NC_APP_KEY environment variable (app password from Nextcloud Settings -> Security -> App passwords)
安装
clawhub install romain-grosos/nextcloud-files运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。