← Plugin catalog
Productivity

mdbase

mdbase v0.1.2

Connect markdown collections

Create a free account to save this plugin.

From the developer

Declared capabilities

  • Read
  • Write

Declared limitations

  • Do not run destructive bulk operations without confirmation.
  • Do not access files outside an approved collection.
  • Do not weaken collection-wide validation without reviewing the proposed schema change.

Not specified in the available declarations: pricing & account requirements.

Onboarding example

Use mdbase to list my open tasks that are due this week.
Sources & dates

Developer declarations; not independently tested. Listing last checked Dec 1, 2026. Package observed Nov 30, 2026.

View package source →

Description

From the marketplace listing

This plugin connects ChatGPT to folders of markdown files that you approve in mdbase connect, including an existing Obsidian vault. Once a collection is connected, ChatGPT can find, read and summarise its records, and create, update, rename or delete them if you allow it. Each file is a record, and the fields in its frontmatter can be searched and filtered. Changes are validated against the collection's type definitions, and an edit is rejected if the record changed since it was read. Each collection is approved separately with its own permissions. You can remove access at any time in mdbase connect. The plugin can also help build pages and small apps on top of a collection.

Language: English · Automatically detected from descriptions.

Changes

No changes recorded yet. Follow this plugin to keep track of future changes.

First seen Nov 17, 2026. Last seen Dec 1, 2026.

Keywords

Files & skills

File archives

Plugin package8 files · 18.9 KBBrowse files →
Skill instructions
mdbase-collections5.86 KB

View saved version →

---
name: mdbase-collections
description: Find, read, summarise, create, update, rename or delete records in the user's mdbase collections (typed markdown files with YAML frontmatter). Use when the user asks about their tasks, notes, projects, reading lists or any other records they keep in mdbase, or asks to change them.
---

# Working with mdbase collections

An mdbase collection is a folder of markdown files. Each file is a record: its
YAML frontmatter holds typed fields and its markdown body holds free text.
Types (for example `task`, `book`, `person`) define each record's fields and
are validated on every write. Records are addressed by collection-relative
path, such as `tasks/renew-passport.md`.

The user approves each collection separately in mdbase connect. You can only
see collections listed by `list_connections`, and only perform the operations
each one was approved for.

## Workflow

1. **Pick the collection.** Call `list_connections`. Every other tool needs the
   returned `connection_id`. If several collections could match, ask which one
   the user means; never guess between them.
   - No collections, or not the one the user wants: call `add_connection` and
     give the user the returned link. After they approve, call
     `list_connections` again.
   - An operation fails because the collection's approval is too narrow (for
     example writes were not approved): call `reconnect_collection` with that
     `connection_id` and give the user the link.
2. **Learn the schema before relying on field names.** Call
   `describe_collection` once per conversation for each collection you use. It
   lists the types. Call `read_type` for a type before filtering on its fields
   or writing a record of that type. Do not invent field names or values; use
   the names, enums and formats the type defines.
3. **Read.** Use `query_records` to find records and `read_record` for one
   record's full content. See [references/querying.md](references/querying.md)
   for the query format; read it before writing a `where`, `order_by` or
   `select`.
4. **Write.** Follow the rules below, then report what changed using the path
   and fields from the tool result, not from your request.

## Reading

- Always pass `types` when the user is asking about one kind of record.
- Pass the user's IANA `timezone` (for example `Australia/Melbourne`) on any
  query that uses `today()` or `now()`, when you know it.
- Leave `include_body` off unless you need the body text; it makes results
  much larger. Query results do not include revisions; use `read_record` to
  get one before a write.
- Use `limit` and keep it small for previews. For large result sets, request
  `pagination: "cursor"` and follow the returned `cursor`. If you stop before
  the last page, call `release_query_cursor`.
- Quote values as they appear in records. Say when a result was truncated.
- To answer "what changed?", use `list_changes`. To check records against
  their types, use `validate_collection` and summarise the issues by type.

## Writing

Write tools are only present when the user granted write access.

- **Confirm before destructive or broad changes.** Ask before `delete_record`,
  before `rename_record`, and before changing more than a few records at once.
  Creating one record or editing fields the user explicitly asked to change
  does not need extra confirmation.
- **Create:** call `read_type` first, then `create_record` with `type`,
  `frontmatter` that satisfies the type, and an optional `body`. Let the
  collection choose the path unless the user specifies one.
- **Update:** read the record first and pass its `revision` as `if_revision`
  to `update_record`. Use `patch` for frontmatter fields (top-level keys are
  replaced with the given values) and `body` to replace the body. Use
  `document` only to replace the whole file, and never together with `patch`
  or `body`.
- **Delete:** pass `if_revision` and `check_backlinks: true` to
  `delete_record`. If other records

Preview of the first 4,000 characters. Read full instructions →

Referenced files: 1 — file references are metadata, not package contents.

mdbase-frontends4.07 KB

View saved version →

---
name: mdbase-frontends
description: Build a page, site, dashboard, form or small app on top of an mdbase collection, such as a task board, reading-list tracker or habit log. Use when the user wants an interface for viewing or editing their mdbase records rather than a one-off answer.
---

# Building interfaces on mdbase collections

An interface built on mdbase reads and writes records through the mdbase
tools at run time. The collection's type definitions are its schema: derive
the interface from them instead of guessing fields from a few sample records.
Follow the `mdbase-collections` skill for tool usage, query syntax and write
rules; this skill covers what is different when building an interface.

## Before building

1. Call `list_connections` and confirm with the user which collection the
   interface is for.
2. Call `describe_collection`, then `read_type` for each type the interface
   shows or edits. Note each field's type, whether it is required, enum
   values, defaults and link targets.
3. Run one small `query_records` (`limit` around 5) to see real values, then
   agree the scope with the user: which types, which fields, read-only or
   editable, and any filters or grouping.

## Mapping types to UI

Types validate frontmatter with JSON Schema (`schema.value.properties`) and
declare link fields under `collection.links`.

| Schema | Display | Input |
| --- | --- | --- |
| `type: string` | text | text input; textarea for long text |
| `enum: [...]` | badge | select with exactly the enum values |
| `type: integer` or `number` | right-aligned number | number input honouring `minimum` and `maximum` |
| `type: boolean` | check mark | checkbox |
| `format: date` | formatted date | date input, saved as `YYYY-MM-DD` |
| `format: date-time` | formatted date and time | datetime input, saved with an offset |
| `type: array` | chips | multi-select or tag input |
| field in `collection.links` | link text that opens the target record | picker fed by a query on its `target_type`, saved as `[[path]]` |
| record body | rendered markdown | markdown textarea |

Fields in the schema's `required` list must be required in forms. Use `file.path` as the stable key
for each record; titles are not unique.

## Run-time rules

- **Never hard-code a `connection_id`.** Each person who uses the interface
  has their own connection, with its own ID. At start-up call
  `list_connections` and select the collection by its name; if it is missing,
  show a "Connect collection" action that calls `add_connection` and opens the
  returned link.
- **Do filtering, sorting and grouping in the query**, with `where`,
  `order_by`, `group_by` and `summaries`, rather than downloading everything
  and filtering in the page. Use `select` to fetch only the fields shown.
  Page through large collections with cursor pagination.
- **Edits must be revision-checked.** Query results do not carry revisions, so
  call `read_record` when the user opens a record for editing, keep its
  `revision`, and pass it as `if_revision`. On a conflict, reload the
  record, show the user the current values, and let them re-apply their edit.
- **Show validation errors next to the field they name.** The collection
  validates every write, so the interface does not need to duplicate every
  rule, but it should prevent obvious errors such as missing required fields.
- **Refresh after writes** from the tool result, or re-query, so the interface
  shows what was actually saved.
- Use `list_changes` with the last change cursor to refresh only what changed,
  passing it as `after`, when the interface stays open for a long time. If
  `reset` is true, re-query the displayed state before continuing from the
  returned cursor; do not treat an invalid cursor as no changes.

## Do not

- Do not copy record contents into the page source as static data; the
  interface must read live records.
- Do not create or modify types to suit the interface. If a field the user
  wants does not exist, tell them 

Preview of the first 4,000 characters. Read full instructions →

Release notes

Clearer listing text: connects ChatGPT to the markdown collections you approve, including an existing Obsidian vault.

Declared in the saved package. Remote tools may change independently.

Package details

Publisher declarations from the archived package. These are separate from our research and the live service's terms.

Package license
MIT
Package author
mdbase
Keywords
See keywords
Review scenarios
5 positive · 3 negativeScenario counts, not test results.

Declared capabilities

  • Read
  • Write

Package observed Nov 30, 2026.

Technical details
First seen
Nov 17, 2026 · 00:00 UTC
Last seen
Dec 1, 2026 · 00:00 UTC
Collection status
Collected

plugin_asdk_app_6af1a7df00e48191ad2327acecb8ee55

Download plugin data (JSON)

Plugin details: served from cache. Prepared . Refreshed when plugin data changes or after 6 hours. Your account and Follow status are live.