This adds structured filtering to Basic Memory's search. Instead of searching note content, you query custom frontmatter fields like status, priority, or confidence scores using equality, range, and array operators. Any YAML key you add to frontmatter becomes queryable automatically without configuration. The syntax is straightforward JSON filters passed to search_notes: {"confidence": {"$gt": 0.7}} or {"priority": {"$in": ["high", "critical"]}}. You can combine metadata filters with text search or use them alone. Most useful when you've been disciplined about adding custom fields to your notes and need to find things by their properties rather than their content. Works with dot notation for nested fields and has tag shortcuts for common cases.

skills.sh installs
555
GitHub stars
23
last updated
Aug 21, 2026

Install

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

Installs into .claude/skills of the current project.

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

Sponsors

Details

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

More from basicmachines-co/basic-memory-skills

All 10
1galaxy-dawn avatarresearch-ideationgalaxy-dawn/claude-scholarThis skill should be used when the user asks to "brainstorm research ideas", "use 5W1H framework", "identify research gaps", "conduct gap analysis", "start rese548skills.sh installs
2pedronauck avatarqa-reportpedronauck/skillsPlans real-user QA as living repo docs — the durable <qa-docs-path> tree (default docs/qa/) that every QA cycle appends to. Use when bootstrapping or updating a542skills.sh installs
3openclaudia avatarcontent-strategyopenclaudia/openclaudia-skillsBuild content strategies, editorial calendars, topic clusters, and content plans. Map content to buyer journey stages and plan distribution. Trigger phrases: "c541skills.sh installs
4andreadellacorte avatargroove-work-execandreadellacorte/grooveExecute the implementation plan, track progress in the task backend. Use after planning.536skills.sh installs
5wanshuiyin avatarresearch-refine-pipelinewanshuiyin/auto-claude-code-research-in-sleepRun an end-to-end workflow that chains `research-refine` and `experiment-plan`. Use when the user wants a one-shot pipeline from vague research direction to foc533skills.sh installs
6alirezarezvani avatarcommand-guidealirezarezvani/claude-skillsClaude Code Command Selection Guide - Automatically recommend and select the right commands, agents, and skills in Claude Code. Use when: (1) user is unsure whi512skills.sh installs