Memory Metadata Search
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
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_noteswithmetadata_filters, withtagsandstatusshortcuts 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 -yInstalls 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: draftorpriority: high - Querying custom fields — any frontmatter key you invent is searchable
- Range queries — find notes with
confidence > 0.7orscore 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 10Similar to Memory Metadata Search
More Memory & Contextmemory-notesSkillbasicmachines-co/basic-memory-skills855 installsStructured note-writing guide covering frontmatter, categorized observations, and typed wiki-link relations for building a knowledge graph.
Basic MemoryMCP serverbasicmachines-co4.8K starsLocal-first Markdown knowledge base with bidirectional sync and semantic search for AI clients.
memory-intakeSkillnhadaututtheky/neural-memory780 installsStructured memory intake that turns messy notes into typed, tagged, priority-scored memories via one-question clarification.
memory-researchSkillbasicmachines-co/basic-memory-skills532 installsStructured research workflow that turns a name or URL into a reviewed Basic Memory entity.
A Mem McpMCP serverdiaaaj35 starsPersistent Zettelkasten-style memory store for coding agents, with semantic and graph search.
memory-searchSkillruvnet/ruflo751 installsSemantic memory search with keyword union, SmartRetrieval reranking, and namespace-aware cross-store lookup.