Logo von Nextcloud

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.

Übersicht

Herausgeberadnw-vinc
Repositoryhermes-nextcloud
Skill-Namenextcloud
Sterne
63
Forks
13
Mitgelieferte Dateien
4
LizenzMIT
Links
  • Anweisungen in Markdown

    Eine SKILL.md-Datei, die das Modell bei Bedarf lädt. So werden nur dann Token verbraucht, wenn eine Anfrage tatsächlich dazu passt.

  • Funktioniert mit jedem LLM

    KI-Skills bestehen aus reinem Markdown, nicht aus anbieterspezifischem Code. Daher funktionieren sie mit GPT, Claude, Gemini, Grok oder einem lokalen Modell.

  • 4 mitgelieferte Dateien

    Skripte, Vorlagen und Referenzmaterial, die das Modell bei der Arbeit lesen kann. Die Dateien sind schreibgeschützt und werden niemals ausgeführt.

  • Open Source

    Von adnw-vinc auf GitHub veröffentlicht. Prüfen Sie den Quellinhalt vor der Installation.

Installation

Installieren Sie den KI-Skill Nextcloud in TypingMind, um ihn mit jedem LLM zu nutzen, oder fügen Sie ihn einem anderen Agenten hinzu, der SKILL.md lesen kann.

1

In TypingMind installieren

TypingMind installiert einen Skill direkt aus seinem GitHub-Ordner — liest SKILL.md, bündelt die Ressourcendateien und speichert das Ergebnis lokal.

  1. Öffnen Sie die App und gehen Sie zu Plugins → Skills.
  2. Wählen Sie „Von GitHub installieren“.
  3. Fügen Sie die unten angegebene URL des Skill-Ordners ein und bestätigen Sie.
    https://github.com/adnw-vinc/hermes-nextcloud/tree/main
  4. Aktivieren Sie den Skill in jedem Chat, in dem er verfügbar sein soll.
Plugins → Skills → Skill anlegen → Über GitHub-URL. Fügen Sie dann die Ordner-URL ein und klicken Sie auf „Weiter“.
2

In einem anderen Agenten installieren

Jeder Agent, der das Agent-Skills-Format lesen kann, kann diesen Skill nutzen — kopieren Sie den Ordner in das Skill-Verzeichnis des jeweiligen Agenten.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/adnw-vinc/hermes-nextcloud.git \
  .claude/skills/nextcloud
Starten Sie Claude Code nach dem Kopieren neu, damit der neue Skill erkannt wird.

In TypingMind verwenden

Aktivieren Sie Nextcloud in einem beliebigen Chat in TypingMind. Den Rest übernimmt das Modell. Name und Beschreibung des Skills stehen im System-Prompt. Sobald eine Anfrage passt, lädt das Modell selbstständig die vollständigen Anweisungen — Sie müssen den Skill nie manuell aufrufen, und er verbraucht erst Token, wenn er tatsächlich genutzt wird.

Das Modell lädt Nextcloud automatisch, sobald eine passende Anfrage gestellt wird.

Funktioniert mit jedem KI-Modell

KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher ist Nextcloud nicht an das Modell gebunden, für das der Skill geschrieben wurde. Installieren Sie ihn einmal in TypingMind und nutzen Sie ihn mit GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder einem selbst betriebenen lokalen Modell — alles mit Ihren eigenen API-Keys.

  • Wird nur bei Bedarf geladen

    Der System-Prompt enthält nur den Namen und die Beschreibung. Die Anweisungen werden bei der ersten passenden Anfrage geladen. Ein ungenutzter Skill verursacht daher keine Kosten.

  • Modell im laufenden Chat wechseln

    Da der Skill aus Anweisungen statt aus Code besteht, funktioniert er auch nach einem Modellwechsel — das nächste Modell liest dieselbe SKILL.md-Datei.

Skill-Anweisungen

Dies ist der Inhalt von SKILL.md, den das Modell lädt. Lesen Sie ihn vor der Installation — ein Skill besteht aus Anweisungen, denen Ihr Modell folgt.

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

Mitgelieferte Dateien

Das Modell liest diese Dateien bei Bedarf, während der Skill geladen ist. Sie werden als lesbare Dateien bereitgestellt und niemals ausgeführt.

Häufig gestellte Fragen

Was macht der KI-Skill 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.

Warum Nextcloud in TypingMind nutzen?

Weil Sie den Skill einmal installieren und mit jedem Modell verwenden können. Nextcloud besteht aus reinem Markdown statt aus anbieterspezifischem Code. So funktioniert derselbe Skill mit GPT-5, Claude, Gemini, Grok oder einem lokalen Modell – und Sie können das Modell mitten im Chat wechseln, ohne dass der Skill seine Funktion verliert. TypingMind verwendet Ihre eigenen API-Schlüssel. Sie bezahlen die Anbieter daher direkt statt über ein Abonnement pro Nutzerplatz, und Ihre Skills und Chats bleiben in Ihrem eigenen Speicher.

Wie installiere ich Nextcloud in TypingMind?

Öffnen Sie in TypingMind Plugins → Skills → Von GitHub installieren und fügen Sie https://github.com/adnw-vinc/hermes-nextcloud/tree/main ein. TypingMind liest die Datei SKILL.md, bündelt die zugehörigen Dateien und installiert alles als Skill, den Sie für jeden Chat einzeln aktivieren können.

Welche KI-Modelle können Nextcloud nutzen?

Jedes Modell, das Sie in TypingMind verbinden. KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher können GPT, Claude, Gemini, Grok und lokale Modelle diesen Skill laden, wenn eine Anfrage dazu passt.

Wie viele KI-Modelle kann ich mit Nextcloud verwenden?

So viele Sie möchten. Solange ein Modell Skills unterstützt, können Sie Nextcloud damit verwenden – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama und weitere – alles in TypingMind mit Ihren eigenen API-Schlüsseln.

Ist der KI-Skill Nextcloud kostenlos?

Ja. Der Skill wird von adnw-vinc auf GitHub unter der Lizenz MIT veröffentlicht. Sie bezahlen nur Ihren eigenen KI-Anbieter für die verwendeten Token.

Was sind KI-Skills?

Ein KI-Skill ist ein wiederverwendbares Anweisungspaket, das einem KI-Modell vermittelt, wie es eine bestimmte Aufgabe erledigt. Es folgt dem offenen Format Agent Skills: eine Datei namens SKILL.md mit einem Namen und einer Beschreibung sowie allen Skripten, Vorlagen oder Referenzdateien, die das Modell möglicherweise benötigt. Das Modell liest die Anweisungen nur, wenn Ihre Anfrage zum Skill passt. Ein installierter Skill verursacht daher erst Kosten, wenn er verwendet wird.

Wie unterscheiden sich KI-Skills von Plugins oder MCP-Servern?

Ein Plugin oder MCP-Server stellt einem Modell neue aufrufbare Tools bereit – Code, der auf einem System ausgeführt wird und ein Ergebnis zurückgibt. Ein KI-Skill vermittelt dem Modell stattdessen Wissen und Vorgehensweisen: wie es eine Aufgabe angeht, welche Schritte es befolgt und wie eine gute Ausgabe aussieht. Skills bestehen aus reinem Markdown und benötigen daher weder Server noch API-Schlüssel oder Laufzeitumgebung. Sie funktionieren mit jedem Modell.

Alle

Jetzt eigenen KI-Arbeitsbereich einrichten

Abonnieren Sie unseren Newsletter und erfahren Sie mehr über neue Funktionen und kommende Gewinnspiele 👇