Skip to content
Back to skills

Memory Schema

ASecurity

Your memory server's exact call shape and rules. Auto-loads before any memory WRITE (create/update/link a memory) so the model uses the correct tool shape, required fields, enums, char caps, and linking API — and stops inventing fields. Also load it whenever a memory tool errors with a validation failure before retrying.

  • 2 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 19, 2026
ai-agentsapi

Works with

  • api
  • mcp

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 19, 2026

npx -y skills add konstantinos-malavazos/claude-code-playbook --skill memory-schema --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Memory Schema?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Memory Schema
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/konstantinos-malavazos-memory-schema/badge)](https://www.skillsdirectory.com/skills/konstantinos-malavazos-memory-schema)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: memory-schema
description: >-
  Your memory server's exact call shape and rules. Auto-loads before any memory WRITE
  (create/update/link a memory) so the model uses the correct tool shape, required
  fields, enums, char caps, and linking API — and stops inventing fields. Also load it
  whenever a memory tool errors with a validation failure before retrying.
---

# Memory schema (fill in for YOUR memory server)

> Replace every `<PLACEHOLDER>` with your actual memory MCP's tool names and constraints.
> The point of this skill is to make memory writes correct on the first try.
>
> **Running Forgetful?** [`forgetful.SKILL.md`](forgetful.SKILL.md) next to this file is
> this skill already filled in for it — call shape, caps, enums, the asymmetric linking
> table and the tools that don't exist. `mv forgetful.SKILL.md SKILL.md` and delete this
> placeholder. On any other server, read it as a worked example of how much detail earns
> its place here, then write your own.

## Call shape
- Create: `<create-memory-tool>` with fields `<title>`, `<content>`, `<tags>`, `<...>`.
- Update: `<update-memory-tool>` ...
- Link: `<link-tool>` — note the argument order/direction if it's asymmetric.
- Obsolete: `<mark-obsolete-tool>` with a `<superseded_by>` pointer.

## Required fields & caps
- `<field>` — required; max `<N>` chars.
- `<field>` — enum, one of `<...>`. Do NOT invent values.

## Tagging rules
- Tag **by functionality** (topic / component / symbol), **never by ticket id**.
  (Put the ticket id in the content for provenance if you want it.)
- Include your scope/project tag so `/garden-memory` can find untagged strays.
- Respect the tag cap (`<N>` tags max) and the locked vocabulary if you have one.

## Content rules
- One atomic fact/conclusion per memory. State **what** and **why**.
- Link related memories so one query returns the whole chain
  (root cause → fix → blast radius → recipe).
- For recipes/hypotheses, set a **confidence** and a **validated** marker. Flip
  `validated` only after a real (e.g. staging) run confirms it.

## When to write
- Durable conclusions only, at ticket APPROVE or via `/end-of-day`. Never write in-flight
  chatter. That's what handoff files are for.

Files in this skill

  • SKILL.md2.2 KB
  • forgetful.SKILL.md8.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.