Nextcloud logo

Nextcloud

Community
adnw-vinc
nextcloud

Full-featured Nextcloud integration for Hermes — manage files, notes, tasks, calendar events, and contacts via WebDAV, Nextcloud Notes API, and CalDAV/CardDAV. Works with self-hosted Nextcloud instances.

Overview

Publisheradnw-vinc
Repositoryhermes-nextcloud
Skill namenextcloud
Stars
63
Forks
13
Bundled files
4
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 4 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by adnw-vinc on GitHub. Read the source before you install it.

Installation

Install the Nextcloud AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/adnw-vinc/hermes-nextcloud/tree/main
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/adnw-vinc/hermes-nextcloud.git \
  .claude/skills/nextcloud
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Nextcloud in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Nextcloud on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Nextcloud is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Nextcloud

Full-featured integration with self-hosted Nextcloud. Manage files, notes, tasks, calendar events, and contacts using WebDAV, the Nextcloud Notes REST API, and CalDAV/CardDAV protocols.

Requires: Nextcloud Notes app installed on the instance (for Notes features). All other features work with a standard Nextcloud installation.

Setup

Run the guided setup to configure credentials:

bash
python3 ~/.hermes/skills/productivity/nextcloud/scripts/setup.py

The setup script will:

  1. Ask for your Nextcloud URL, username, and App Password
  2. Validate connectivity against your instance
  3. Save credentials to ~/.hermes/nextcloud.env

Alternatively, set environment variables manually:

bash
export NEXTCLOUD_URL="https://your-nextcloud.example.com"
export NEXTCLOUD_USER="your_username"
export NEXTCLOUD_TOKEN="***"
export NEXTCLOUD_TIMEZONE="Europe/Prague"  # optional, defaults to UTC

Creating an App Password

  1. Log in to your Nextcloud instance
  2. Go to Settings → Security → App passwords
  3. Click Add new app password
  4. Enter a name (e.g. hermes-agent) and click Create
  5. Copy the generated password — it is shown only once

Verifying the Setup

bash
NC="python3 ~/.hermes/skills/productivity/nextcloud/scripts/nextcloud_api.py"
$NC check

Expected output: {"status": "success", "data": {"authenticated": true, "user": "your_username"}}

Architecture

FeatureProtocolEndpoint
FilesWebDAV/remote.php/dav/files/<user>/
NotesREST API/index.php/apps/notes/api/v1/notes
TasksCalDAV (VTODO)/remote.php/dav/calendars/<user>/
Calendar EventsCalDAV (VEVENT)/remote.php/dav/calendars/<user>/
ContactsCardDAV/remote.php/dav/addressbooks/<user>/

Authentication: HTTP Basic Auth with App Password (user:token).

Usage

Define the convenience alias:

bash
NC="python3 ~/.hermes/skills/productivity/nextcloud/scripts/nextcloud_api.py"

Files (WebDAV)

List directory contents

bash
$NC files list --path "/Documents"
$NC files list  # root folder

Returns: {"status": "success", "data": [{"path": "...", "type": "file|dir", "size": N, "mtime": "ISO8601"}]}

Get file content

bash
$NC files get --path "/Documents/notes.md"

Upload file

bash
$NC files upload --path "/Documents/new-file.txt" --content "File content here"

Create directory

bash
$NC files mkdir --path "/Documents/projects"

Delete file or directory

bash
$NC files delete --path "/Documents/old-file.txt"

Warning: Deletion is permanent and recursive for directories.

Move / rename

bash
$NC files move --src "/Documents/old-name.txt" --dst "/Documents/new-name.txt"

Search files

bash
$NC files search --query "budget"

Notes (Nextcloud Notes API)

Requires the Notes app installed in Nextcloud.

List notes

bash
$NC notes list
$NC notes list --category "work"

Get note by ID

bash
$NC notes get --id 42

Create note

bash
$NC notes create --title "Meeting Notes" --content "Discussion points..."
$NC notes create --title "Work Note" --content "..." --category "work"

Update note

bash
$NC notes edit --id 42 --title "Updated Title" --content "New content"
$NC notes edit --id 42 --category "personal"

Delete note

bash
$NC notes delete --id 42

Tasks (CalDAV VTODO)

List task lists (calendars)

bash
$NC calendars list --type tasks

List tasks from a calendar

bash
$NC tasks list
$NC tasks list --calendar "Personal"

Create task

bash
$NC tasks create --title "Finish quarterly report" --due "2026-06-30T17:00:00Z" --priority 5
$NC tasks create --title "Call with client" --calendar "Work" --due "2026-06-15T10:00:00Z" --priority 3

Priority: 0 = none, 1 = highest, 9 = lowest.

Update task

bash
$NC tasks edit --uid "abc123def" --title "New title" --priority 9
$NC tasks edit --uid "abc123def" --due "2026-07-01T12:00:00Z"

Mark task complete

bash
$NC tasks complete --uid "abc123def"

Delete task

bash
$NC tasks delete --uid "abc123def"

Calendar Events (CalDAV VEVENT)

List event calendars

bash
$NC calendars list --type events

List events

bash
$NC calendar list
$NC calendar list --from "2026-07-01T00:00:00Z" --to "2026-07-07T23:59:59Z"
$NC calendar list --calendar "Work"

Default range: next 7 days.

Create event

bash
$NC calendar create --summary "Team Standup" --start "2026-07-01T09:00:00Z" --end "2026-07-01T09:30:00Z"
$NC calendar create --summary "Conference" --start "2026-09-15T08:00:00Z" --end "2026-09-17T18:00:00Z" --location "Prague" --calendar "Work"

Update event

bash
$NC calendar edit --uid "xyz789" --summary "New Title"
$NC calendar edit --uid "xyz789" --start "2026-07-02T10:00:00Z" --end "2026-07-02T11:00:00Z"

Delete event

bash
$NC calendar delete --uid "xyz789"

Contacts (CardDAV)

List address books

bash
$NC addressbooks list

List contacts

bash
$NC contacts list
$NC contacts list --addressbook "Personal"

Search contacts

bash
$NC contacts search --query "John"

Get contact by UID

bash
$NC contacts get --uid "contact-uid-string"

Create contact

bash
$NC contacts create --name "John Doe" --email "john@example.com" --phone "+420123456789"
$NC contacts create --name "Jane Smith" --email "jane@example.com" --organization "Acme Corp" --title "Engineer"

Update contact

bash
$NC contacts edit --uid "contact-uid-string" --phone "+420987654321" --email "newemail@example.com"

Delete contact

bash
$NC contacts delete --uid "contact-uid-string"

Output Format

All commands return JSON:

json
{"status": "success", "data": {...}}
{"status": "error", "message": "Descriptive error message"}

For list operations, data is always an array even if empty: [].


Environment Variables

VariableRequiredDescription
NEXTCLOUD_URLYesBase URL of your Nextcloud instance (no trailing slash)
NEXTCLOUD_USERYesYour Nextcloud username
NEXTCLOUD_TOKENYesApp Password (from Settings → Security → App passwords)

Credentials are stored in ~/.hermes/nextcloud.env by the setup script. The skill reads them automatically if present.


Error Handling

HTTP CodeMeaningCommon Cause
401UnauthorizedInvalid or expired App Password
403ForbiddenUser lacks permission for this resource
404Not FoundWrong path, or Notes app not installed
409ConflictDestination already exists (on move/rename)
424Method Not AllowedFeature not supported by server (e.g. Notes API)

Rules for Hermes Agent

  1. Confirm before destructive operations — always show what will be deleted before running a delete command
  2. Use App Password, never primary password — App Password can be revoked without affecting primary credentials
  3. Respect rate limits — avoid rapid sequential API calls; batch reads where possible
  4. Verify Notes app availability — if Notes API returns 404, inform the user the Notes app may not be installed
  5. Handle missing credentials gracefully — if env vars are not set, prompt user to run setup.py

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Nextcloud AI skill do?

Full-featured Nextcloud integration for Hermes — manage files, notes, tasks, calendar events, and contacts via WebDAV, Nextcloud Notes API, and CalDAV/CardDAV. Works with self-hosted Nextcloud instances.

Why use Nextcloud on TypingMind?

Because you install it once and use it with any model. Nextcloud is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Nextcloud in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/adnw-vinc/hermes-nextcloud/tree/main. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Nextcloud?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Nextcloud?

As many as you like. As long as a model supports skills, you can use Nextcloud with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Nextcloud AI skill free?

Yes. It is published on GitHub by adnw-vinc under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇