nextcloud-cli-files

Operate Nextcloud file activities via nxc CLI with JSON output.

Updated Apr 10, 2026
One-click install
npx skills add https://github.com/NicholaiVogel/Nextcloud-CLI --skill nextcloud-cli-files
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nextcloud-cli-files
Source: https://github.com/NicholaiVogel/Nextcloud-CLI/tree/main/skills/nextcloud-cli-files
Command: npx skills add https://github.com/NicholaiVogel/Nextcloud-CLI --skill nextcloud-cli-files

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill simplifies the management of files within Nextcloud by leveraging nxc commands, providing an interface to perform various file operations with JSON output for machine readability.

Core Features & Use Cases

  • File Operations: List, search, inspect, create, upload, download, and delete files.
  • JSON Output: Ensures machine-readable results for integration and automation.
  • Use Case: Automate file transfers and updates, or integrate file operations into workflows.

Quick Start

Use the nxc skill to list all files in the root directory of your Nextcloud account with JSON format: nxc --profile <profile> files list / --format json

Frequently Asked Questions about nextcloud-cli-files

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Nextcloud file management for scripts?

Automate Nextcloud file management by using nxc CLI commands to list, manipulate, and delete files. The tool returns JSON output, making it highly suitable for integrating file operations directly into automated workflows and scripts.

Can I get JSON output when listing Nextcloud files via CLI?

Yes, you can get JSON output when listing Nextcloud files by using the nxc CLI. Executing the command with the JSON format flag ensures that file listings and other file operations return machine-readable results for easy integration.

How do I list files in a Nextcloud account using nxc commands?

List files in a Nextcloud account using nxc commands by executing the file list operation with your configured profile. You can append the JSON format flag to ensure the directory contents are returned in a structured, machine-readable format.

Does this Nextcloud CLI tool require WebDAV knowledge to use?

No, WebDAV knowledge is not required to manage Nextcloud files with this tool. The nxc CLI operates through a profile-driven interface, abstracting the underlying WebDAV protocol to simplify file operations and automation.

What is the best way to integrate Nextcloud file operations into workflows?

The best way to integrate Nextcloud file operations into workflows is using the nxc CLI. Its profile-driven design and JSON output format allow seamless automation of file listing, uploading, downloading, and deletion within larger processes.