okf-mongodb

Installation
SKILL.md

MongoDB OKF Connector

This skill provides a Go-based CLI tool to document a MongoDB database as an Open Knowledge Format (OKF) bundle. MongoDB is schemaless, so the connector samples documents from each collection and infers a top-level field schema: field name, type (a sorted union when documents disagree), and presence (the percentage of sampled documents that contain the field).

When to Use

Use this skill when you need to:

  1. Catalog a MongoDB database — one MongoDB Collection concept per collection.
  2. Capture an inferred field schema (Name | Type | Presence) as grounding for enrichment.
  3. Verify a bundle against a live database in CI, optionally creating missing collections.

MongoDB has no per-field comment store, so enriched descriptions remain in the OKF bundle (there is no description write-back).

Installs
5
GitHub Stars
34
First Seen
Jun 30, 2026
okf-mongodb — xsavikx/okf-skills