nextcloud-files

A file-management guide for accessing Nextcloud folders and files through WebDAV, a standard protocol for working with remote files.

In plain words
What is it for?
It helps list folders, read or download files, inspect file properties, upload items, create folders, and move, copy, or delete files.
Why use it?
It provides a defined way to browse storage, retrieve files, and reorganise folders instead of sending raw WebDAV requests manually.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/knuckles-team/nextcloud-agent/nextcloud-files
Any agent
npx skills add Knuckles-Team/nextcloud-agent --skill nextcloud-files
Clone the repo
git clone --depth 1 https://github.com/Knuckles-Team/nextcloud-agent

Made for: Claude Code, Codex.

Per session 98 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 913 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00098 $0.00913
Opus 5 $0.00049 $0.00456
Sonnet 5 $0.00020 $0.00183
Haiku 4.5 $0.00010 $0.00091

Measured yesterday against content hash 41d7506cd26c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

nextcloud-files scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

nextcloud_agent/skills/nextcloud-files/SKILL.md · 90 lines

How it starts

The opening of the file, as written. The whole thing — 90 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Nextcloud Files

Domain-typed access to the Nextcloud file store (WebDAV) for browsing and managing files and folders. Prefer the nextcloud_files condensed tool over raw WebDAV requests — it carries the PROPFIND parsing and returns file-shaped records.

When to use

  • List the contents of a folder (files + subfolders with size/mtime/mime).
  • Read (download) a file's bytes, or read a path's properties.
  • Upload a file, create a folder, or delete/move/copy an item.

When NOT to use

  • Create/list/revoke shares → nextcloud-shares.
  • Store a file's bytes + extracted text into the knowledge graph → nextcloud-ingest.
  • Calendar events or contacts → the nextcloud_calendar / nextcloud_contacts tools.

Prerequisites & environment

Connect via the mcp-client skill against the nextcloud-agent MCP server.

Variable Required Notes
NEXTCLOUD_URL Base URL of the Nextcloud instance
NEXTCLOUD_USERNAME WebDAV/OCS user
NEXTCLOUD_PASSWORD Password or app password
TLS_PROFILE / TLS_PROFILE_REF optional AgentConfig transport profile; peer verification is mandatory

MCP_TOOL_MODE (condensed|verbose|both) selects the condensed surface (used below) vs. the 1:1 verbose tools. FILESTOOL gates this tool category.

Tools & actions

Prefer the condensed tool; it takes action + a params_json JSON string whose keys are passed straight to the client method.

Condensed tool Actions
nextcloud_files list_files, read_file, write_file, create_folder, delete_item, move_item, copy_item, get_properties

Key parameters

  • path — server-relative path for most actions (e.g. Documents/report.pdf); "" or / is the user root for list_files.
  • content — file body (str or bytes) for write_file; overwrite (bool).
  • source_path + dest_path — for move_item / copy_item.

Recipes (params_json)

List the root directory:

{"path":""}

Download a document:

{"path":"Documents/report.pdf"}

Create a folder then move a file into it:

{"path":"Reports/2026"}
{"source_path":"report.pdf","dest_path":"Reports/2026/report.pdf"}

Read the full file on GitHub · 90 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 90 lines · 98 tokens per session scan A 41d7506cd26c

Subscribe to this mod's changes

nextcloud-files is a skill published in the GitHub repository Knuckles-Team/nextcloud-agent (0 stars, last pushed 5d ago), licensed MIT. It adds 98 tokens to every session and 913 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

documentdb-collection-admin

Database, collection, and user administration on a DocumentDB (MongoDB-compatible, PostgreSQL-backed) server via the documentdb-mcp MCP server — list/create/drop/rename databases and collections, and manage database users and their roles. Use when the agent must provision or tear down namespaces, enumerate the…

Knuckles-Team/documentdb-mcp · 106 tokens

documentdb-document-crud

Document create/read/update/delete operations on a DocumentDB (MongoDB-compatible, PostgreSQL-backed) collection via the documentdb-mcp MCP server — insert one/many, find with filter/sort/skip/limit, update/replace one/many, delete, count, and the atomic find-and-modify variants. Use when the agent must read or mutate…

Knuckles-Team/documentdb-mcp · 126 tokens

jellyfin-kg-ingestion

Natively ingest a Jellyfin library into the epistemic-graph knowledge graph via the jellyfin-mcp MCP server — push library items as typed :MediaAsset/:Book nodes with :hasGenre/:performedBy/:authoredBy links and item overviews as searchable :Document nodes (jellyfiningestlibrary), and item posters as content-addressed…

Knuckles-Team/jellyfin-mcp · 158 tokens

jellyfin-library-catalog

Browse and search a Jellyfin media library via the jellyfin-mcp MCP server — list library items (movies, series, episodes, audio, books), fetch one item by id, walk collections and user views, and run search hints with the domain-typed jellyfinlibrary tool. Use when the agent must find or enumerate catalog items…

Knuckles-Team/jellyfin-mcp · 154 tokens

jellyfin-media-playback

Stream and control Jellyfin playback and browse music via the jellyfin-mcp MCP server — list artists, albums, and music genres, resolve audio/video streams, manage playlists, and drive playstate (play, mark played, report progress) with the domain-typed jellyfinmedia tool. Use when the agent must start or control…

Knuckles-Team/jellyfin-mcp · 142 tokens

documentdb-aggregation-analytics

Read-only analytics on a DocumentDB (MongoDB-compatible, PostgreSQL-backed) collection via the documentdb-mcp MCP server — run aggregation pipelines ($match/$group/$sort/…) and fetch distinct field values. Use when the agent must summarize, group, or profile documents rather than fetch individual rows. Do NOT use for…

Knuckles-Team/documentdb-mcp · 102 tokens