Skip to content

Structured frontmatter search for Basic Memory that filters notes by custom YAML fields rather than text.

CCM score
68 of 100
skills.sh installs
570
GitHub stars
23
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers equality, array, $in, comparison, $between, and dot-notation nested filters over any custom frontmatter key
  • Runs through search_notes with metadata_filters, with tags and status shortcuts and optional text queries combined
  • Enforces $-prefixed operator syntax, since operators without the prefix silently return no results
  • Designed for finding notes by status, priority, confidence, or schema fields instead of free-text content

Install

$ npx -y skills add basicmachines-co/basic-memory-skills --skill memory-metadata-search -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Memory Metadata Search

Find notes by their structured frontmatter fields instead of (or in addition to) free-text content. Any custom YAML key in a note's frontmatter beyond the standard set (title, type, tags, permalink, schema) is automatically indexed as entity_metadata and becomes queryable.

When to Use

  • Filtering by status or priority — find all notes with status: draft or priority: high
  • Querying custom fields — any frontmatter key you invent is searchable
  • Range queries — find notes with confidence > 0.7 or score between 0.3 and 0.8
  • Combining text + metadata — narrow a text search with structured constraints
  • Tag-based filtering — find notes tagged with specific frontmatter tags
  • Schema-aware queries — filter by nested schema fields using dot notation

The Tool

All metadata searching uses search_notes. Pass filters via metadata_filters, or use the tags and status convenience shortcuts. Omit query (or pass None) for filter-only searches.

Filter Syntax

Details

Repository
github.com/basicmachines-co/basic-memory-skills
Category
Memory & Context
First seen
Jun 3, 2026

Questions

How do I search Basic Memory notes by custom frontmatter fields like status or priority?

Use the search_notes tool with metadata_filters, such as {"status": "in-progress"} or {"priority": {"$in": ["high", "critical"]}}. Any custom YAML key in a note's frontmatter beyond title, type, tags, permalink and schema is indexed automatically and becomes queryable.

What filter operators does the memory-metadata-search skill support?

The skill supports equality, array contains, $in, $gt, $gte, $lt, $lte, $between for inclusive ranges, and dot notation for nested fields like schema.version. Operators must include the $ prefix, since a filter written without it silently returns no results.

How do I install the memory-metadata-search skill?

Run npx -y skills add basicmachines-co/basic-memory-skills --skill memory-metadata-search -y in a project. Once installed, the agent can find notes by structured fields such as status, priority or confidence rather than only by free-text content.

Where does memory-metadata-search stand in the Memory & Context category?

It sits in the Memory & Context category on Claude Marketplaces, alongside skills such as handoff and the caveman skills. It sets itself apart by focusing on structured frontmatter queries, combining metadata filters with text search when precision matters.

More from basicmachines-co/basic-memory-skills

All 10

Similar to Memory Metadata Search

More Memory & Context