Skip to content
Back to skills

Novahiz Memory

ASecurity

novahiz-memory is the local context save: the project's MEMORY.md plus the project-memory slots. Project memory never leaves the project - no vault write. Mandatory frontmatter, wikilinks, merge rather than duplicate. Use when a complex task ends, when the user says "update memory" or "save", or when a decision, bug root cause, or next step must survive the session. Triggers on: "memory", "MEMORY.md", save, "note that".

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 27, 2026
ai-agentsgo

Security analysis

A100/100

Scanned November 27, 2026

npx -y skills add novahiz/novahiz --skill novahiz-memory --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Novahiz Memory?

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

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

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: novahiz-memory
description: |
  novahiz-memory is the local context save: the project's MEMORY.md plus the
  project-memory slots. Project memory never leaves the project - no vault write.
  Mandatory frontmatter, wikilinks, merge rather than duplicate.
  Use when a complex task ends, when the user says "update memory" or "save",
  or when a decision, bug root cause, or next step must survive the session.
  Triggers on: "memory", "MEMORY.md", save, "note that".
license: Apache-2.0
compatibility: opencode
metadata:
  author: Novahiz
  organization: Novahiz
  version: "3.0.0"
---

# novahiz-memory

A finished session leaves a trace inside the project. It never goes to the Obsidian vault: project memory is read while working on the project, not while browsing the vault.

## Destinations (both local)

| Medium | Path |
|---|---|
| Project | `MEMORY.md` at the current project root |
| Machine | `project-memory/` slots (dated entries with a bounded Résumé and Détails) |

The Obsidian vault belongs to the `novahiz-second-memory` skill: docs, notes, journals and decisions — never project memory. Do not write MEMORY.md content or slots as vault pages, and do not expect `second-memory sync` to mirror anything: sync only archives notes the old mirror left behind.

## project-memory is the machine layer

`project-memory/` (slots) is the machine-facing memory of the same project: dated entries with a bounded Résumé and Détails, searched with `memory_search`, written with `memory_write` (or `memory_update` / `memory_archive`). The opencode plugin also writes there automatically (todo done, review, task end, compaction). Pass `root` as the project root or as the memory dir itself — it is resolved the same way (a legacy `index.json` + `slots/` layout is accepted; outside the workspace the call degrades to the workspace memory with `degraded: true`, it is never refused and never writes outside the workspace) and every response echoes the resolved root. If the lock is still held the write is queued in `.pending/` and replayed on the next call (`pending: true`); unreadable slot files are skipped with `warnings`. A compaction always copies the complete body to `slots/archive/` first (`archivedTo`) and demotes the folded `## ` headings, so a reparse never swallows content. Slots feed the next session; they are not a page.

This skill writes the human-facing narrative: `MEMORY.md` and, when a fact must survive beyond the narrative, a slot. When both apply, distill the slot into the entry — never copy it verbatim, and never store prose pages inside a slot.

## Forbidden

- Writing anything into the Obsidian vault from this skill: memory stays in the project (`MEMORY.md` + `project-memory/`). For vault notes, load `novahiz-second-memory`.
- Editing `index.json` or `slots/archive/` by hand: use the `memory_*` tools.
- Creating a memory folder on your own initiative outside the project.

## What to write

1. What works now.
2. What changed, with the key files.
3. What stays open: next step, debt, blockers.

## Merging

MEMORY.md and slots both carry `title`, dates and `tags`. Pages and entries link with `[[wikilinks]]`. When the subject already exists, enrich it instead of creating a second entry.

## A decision can carry its own proof

Some entries assert something that can stop being true: "the RIB is still a placeholder", "the migration is applied", "the build passes". Pass `verify` with the name of a command declared in the project's `.novahiz/verify.json`:

```
memory_write({ title: "RIB encore en placeholder", content: "...", verify: "typecheck" })
```

`memory_verify` (or `novahiz memory verify`) replays that command and reports `ok`, `failed` or `unknown` — unknown meaning the declared name is not in the project config. Add `apply` to record `last_verified` / `last_verdict` in the slot. Changing the `verify` of a slot clears the previous verdict, because a new assertion is not covered by the old proof.

A slot without `verify` is a note. A slot with `verify` is an assertion that can be re-checked — prefer the second when the fact is operational.

## Before writing

Show the chosen local destination (MEMORY.md section or slot title). A declared write is a write you can verify later.

## Pitfalls

- Writing memory into the vault "so it is visible there" — forbidden; it duplicates state that goes stale.
- Duplicating content across two entries instead of enriching the first.
- Copying the session transcript instead of distilling decisions.
- Touching vault maintenance files from this skill.

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.

View all in ai-agents →

Comments

Loading comments…

Newsletter

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