memory-schema

Manage JSON schemas for structured notes using Picoschema syntax and validation tools.

25|3|Updated Feb 14, 2026
One-click install
npx skills add https://github.com/basicmachines-co/basic-memory-skills --skill memory-schema
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: memory-schema
Source: https://github.com/basicmachines-co/basic-memory-skills/tree/main/memory-schema
Command: npx skills add https://github.com/basicmachines-co/basic-memory-skills --skill memory-schema

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps maintain consistency and structure across your notes by managing schemas, ensuring that notes of the same type have uniform fields and formats.

Core Features & Use Cases

  • Schema Creation & Editing: Define or update the structure for note types like 'Meeting', 'Task', or 'Person'.
  • Note Validation: Check if existing notes conform to their defined schemas, identifying missing fields or type mismatches.
  • Schema Inference: Automatically suggest schema structures based on existing notes.
  • Use Case: When you notice multiple notes about 'Meetings' all contain 'topic', 'date', and 'attendees', you can use this skill to create a formal 'Meeting' schema, then validate all existing meeting notes against it.

Quick Start

Use the memory-schema skill to validate all notes of type Meeting.

Frequently Asked Questions about memory-schema

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I validate existing notes against a schema in a knowledge graph?

To validate notes in a knowledge graph, you define a schema for a specific entity type and then check existing notes against it to identify missing fields or type mismatches. This ensures data integrity and consistency.

What is schema inference for structured note-taking?

Schema inference automatically suggests formal schema structures by analyzing existing notes. It identifies common fields across notes of the same type, like Meetings or Tasks, to help you standardize your structured note-taking format.

How do I create a formal schema for meeting notes?

You create a schema for meeting notes by defining required fields such as topic, date, and attendees using Picoschema syntax. This formalizes the structure so all meeting notes maintain uniform fields and formats.

Can I detect schema drift in my knowledge graph notes?

Yes, schema drift detection identifies existing notes that no longer conform to their defined schemas. It flags missing fields or type mismatches, ensuring your structured notes maintain data integrity over time.

When do I need Picoschema syntax for data modeling?

You need Picoschema syntax when you want to define, update, or enforce the structure of entity types like People and Meetings. It provides the validation tools required to maintain consistency across your knowledge graph.

How do I update schemas as my note types evolve?

You update schemas by editing the existing structure for a note type, then validating all related notes against the new definition. This facilitates schema evolution while ensuring existing notes conform to the updated format.