memory-schema — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited memory-schema (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Manage structured note types using Basic Memory's Picoschema system. Schemas define what fields a note type should have, making notes uniform, queryable, and validatable.
Schemas are defined in YAML frontmatter using Picoschema — a compact notation for describing note structure.
schema:
name: string, person's full name
age: integer, age in years
score: number, floating-point rating
active: boolean, whether currently activeSupported types: string, integer, number, boolean.
Append ? to the field name:
schema:
title: string, required field
subtitle?: string, optional fieldUse (enum) with a list of allowed values:
schema:
status(enum, current state): [active, blocked, done, abandoned]Optional enum:
schema:
priority?(enum, task priority): [low, medium, high, critical]Use (array) for list fields:
schema:
tags(array): string, categorization labels
steps?(array): string, ordered steps to completeReference other entity types directly:
schema:
parent_task?: Task, parent task if this is a subtask
attendees?(array): Person, people who attendedRelations create edges in the knowledge graph, linking notes together.
settings:
validation: warn # warn (log issues) or error (strict)---
title: Meeting
type: schema
entity: Meeting
version: 1
schema:
topic: string, what was discussed
date: string, when it happened (YYYY-MM-DD)
attendees?(array): Person, who attended
decisions?(array): string, decisions made
action_items?(array): string, follow-up tasks
status?(enum, meeting state): [scheduled, completed, cancelled]
settings:
validation: warn
---Look for clusters of notes that share structure but have no schema:
search_notes(query="type:Meeting") — if many notes share a type but no schema/Meeting.md exists, it's a candidate.schema_infer to analyze existing notes and generate a suggested schema: schema_infer(noteType="Meeting")
schema_infer(noteType="Meeting", threshold=0.5) # fields in 50%+ of notesThe threshold (0.0–1.0) controls how common a field must be to be included. Default is usually fine; lower it to catch rarer fields.
Write the schema note to schema/<EntityName>:
write_note(
title="Meeting",
directory="schema",
note_type="schema",
metadata={
"entity": "Meeting",
"version": 1,
"schema": {
"topic": "string, what was discussed",
"date": "string, when it happened",
"attendees?(array)": "Person, who attended",
"decisions?(array)": "string, decisions made"
},
"settings": {"validation": "warn"}
},
content="""# Meeting
Schema for meeting notes.
## Observations
- [convention] Meeting notes live in memory/meetings/ or as daily entries
- [convention] Always include date and topic
- [convention] Action items should become tasks when complex"""
)Check how well existing notes conform to their schema:
# Validate all notes of a type
schema_validate(noteType="Meeting")
# Validate a single note
schema_validate(identifier="meetings/2026-02-10-standup")Important: schema_validate checks for schema fields as observation categories in the note body — e.g., a status field expects - [status] active as an observation. Fields stored only in frontmatter metadata won't satisfy validation. To pass cleanly, include schema fields as both frontmatter values (for metadata search) and observations (for schema validation).
Validation reports:
Over time, notes evolve and schemas lag behind. Use schema_diff to find divergence:
schema_diff(noteType="Meeting")Diff reports:
When note structure changes:
schema_diff(noteType="Meeting")edit_note: edit_note(
identifier="schema/Meeting",
operation="find_replace",
find_text="version: 1",
content="version: 2",
expected_replacements=1
)schema: blockschema_validate(noteType="Meeting")versionwarn, the schema serves as living documentation for what notes of that type should contain1. Notice repeated note structure → infer schema (schema_infer)
2. Review + create schema note → write to schema/ (write_note)
3. Validate existing notes → check conformance (schema_validate)
4. Fix outliers → edit non-conforming notes (edit_note)
5. Periodically check drift → detect divergence (schema_diff)
6. Evolve schema as needed → update schema note (edit_note)~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.