nextcloud-ingest

nextcloud-ingest is a skill for Claude Code, Codex from Knuckles-Team/nextcloud-agent. It costs 122 tokens per session (906 once invoked), scanned A, original, MIT.

A connector that fetches files from Nextcloud, an online file storage service, and saves them in a searchable knowledge graph. It keeps the original file and can extract text from documents or images.

In plain words
What is it for?
Use it to import a specific Nextcloud PDF, office file, text file, or image for later search and analysis.
Why use it?
It avoids keeping only an isolated download when you need the file’s contents to be found and connected with other information.

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-ingest
Any agent
npx skills add Knuckles-Team/nextcloud-agent --skill nextcloud-ingest
Clone the repo
git clone --depth 1 https://github.com/Knuckles-Team/nextcloud-agent

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for nextcloud-ingest

README.md
[![agentmods](https://agentmods.dev/badge/skills/knuckles-team/nextcloud-agent/nextcloud-ingest.svg)](https://agentmods.dev/skills/knuckles-team/nextcloud-agent/nextcloud-ingest)
Your own site
<a href="https://agentmods.dev/skills/knuckles-team/nextcloud-agent/nextcloud-ingest"><img src="https://agentmods.dev/badge/skills/knuckles-team/nextcloud-agent/nextcloud-ingest.svg" alt="Measured on agentmods" height="20"></a>
Per session 122 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 906 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.00122 $0.00906
Opus 5 $0.00061 $0.00453
Sonnet 5 $0.00024 $0.00181
Haiku 4.5 $0.00012 $0.00091

Measured 3d ago against content hash 46c6cdfe9444, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

nextcloud-ingest 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 3d ago.

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-ingest/SKILL.md · 83 lines

How it starts

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

Nextcloud Ingest

Push Nextcloud files into the epistemic-graph knowledge graph in their richest modality. A single call stores the file's raw bytes as a content-addressed :Blob + :AssetOccurrence node and, when the file is a document or image, extracts its text (read_any / OCR) into a linked :Document for semantic search. This is the package's "maximum ingestion" seam — richer than the declarative folder-listing connector preset.

When to use

  • Make a specific Nextcloud file durable in the KG (raw bytes + searchable text).
  • Bring a PDF/office doc/image into the graph so it can be retrieved semantically.

When NOT to use

  • Just download bytes or reorganize storage → nextcloud-files.
  • Manage sharing grants → nextcloud-shares.

Prerequisites & environment

Connect via the mcp-client skill against the nextcloud-agent MCP server. A reachable epistemic-graph engine is required for anything to be stored; with no engine the tool no-ops cleanly (returns status: skipped) so the call is always safe.

Variable Required Notes
NEXTCLOUD_URL / NEXTCLOUD_USERNAME / NEXTCLOUD_PASSWORD WebDAV creds
TLS_PROFILE / TLS_PROFILE_REF optional AgentConfig transport profile; peer verification is mandatory

INGESTTOOL gates this tool category.

Tools & actions

This is a single-purpose typed tool (not action-routed).

Tool Parameter Purpose
nextcloud_ingest_file path Fetch + natively ingest one file into the KG

What it stores

  • :Blob + :AssetOccurrence — the raw file bytes, content-addressed (deduped by digest), carrying remote_path, file_id, etag, mime, and size.
  • :Document (when the file is pdf/office/txt/csv/html or an image) — the extracted plain text, source_uri nextcloud://<path>, linked back to the file via hasBlob.

Recipes

Ingest a report PDF:

nextcloud_ingest_file(path="Documents/report.pdf")

Returns e.g.:

{"status":"ingested","path":"Documents/report.pdf","asset_id":"media:…","digest":"…","size_bytes":48213,"media_type":"file","doc_id":"nextcloud:document:…"}

Read the full file on GitHub · 83 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. 3d ago First seen · 83 lines · 122 tokens per session scan A 46c6cdfe9444

Subscribe to this mod's changes

nextcloud-ingest is a skill published in the GitHub repository Knuckles-Team/nextcloud-agent (0 stars, last pushed 6d ago), licensed MIT. It adds 122 tokens to every session and 906 once invoked, about $0.0006 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

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

archivebox-kg-ingestion

Natively ingest an ArchiveBox archive into the epistemic-graph knowledge graph via the archivebox-api MCP server — push snapshots as typed :Snapshot nodes (with :Tag + :hasTag links and per-snapshot :Document page-text) and archive results as :ArchiveResult nodes, best-effort, with the Wire-First ingest tools. Use…

Knuckles-Team/archivebox-api · 141 tokens

documentdb-mcp-operations

Operate documentdb-mcp through its governed MCP and GraphOS capabilities, including documentdb aggregation analytics, documentdb collection admin, documentdb document crud, documentdb starter. Use when a request requires this provider's read, change, automation, ingestion, troubleshooting, or evidence workflows.

Knuckles-Team/documentdb-mcp · 63 tokens