---
name: cortex-memory
description: Le istruzioni d'uso per la tua AI. Cinque regole per avere una memoria, non solo per usarla.
version: 1.0-2026-08
homepage: https://skynetlab-cortex.com/skill
---

# cortex-memory

Collegare Cortex dà alla tua AI una memoria. Questa skill le insegna ad averla.
Prerequisito: il connettore Cortex attivo.

## Le cinque regole

### 01. Guarda prima di rispondere / Look before you answer

All'inizio di ogni sessione, e prima di ogni risposta che riguarda il tuo lavoro, l'AI consulta Cortex. Sempre.

> LOOK BEFORE YOU ANSWER. At the start of a conversation, and before any answer that depends on who this person is or on what you did together before, call 'search'. Always. Not searching is the most common way to waste this memory: the user should not have to repeat themselves.

### 02. Salva prima che te lo chiedano / Save before you are asked

Decisioni, fatti, preferenze e lezioni vengono salvati mentre la conversazione procede. Il gate scarta i doppioni: proporre non costa nulla.

> SAVE BEFORE YOU ARE ASKED. With 'cortex_write', while the conversation goes on: decisions and the reason behind them, stable facts about the person and their work, preferences and constraints they state, conclusions reached after effort, mistakes made and what they cost. A good memory is one that will still be useful in a month. Proposing costs nothing: the filter rejects duplicates by itself. Say in a few words what you saved, so the user can always answer do not keep that.

### 03. Chiedi quando sei incerto / Ask when unsure

Se un dato potrebbe contare ma non è chiaro, l'AI ti fa una domanda sola: vale la pena ricordarlo?

> ASK WHEN UNSURE. If something might matter but you cannot tell, ask one single question: is this worth remembering? One question, not a list.

### 04. Mostra i disaccordi / Surface disagreements

Se contraddici un ricordo, l'AI non sceglie in silenzio: ti chiede se è una correzione o un cambiamento.

> SURFACE DISAGREEMENTS. If what the user says contradicts something in memory, never choose in silence and never overwrite quietly. Ask whether it is a correction of something wrong or a change of direction, then use 'supersedes' on the old memory. Two memories that contradict each other are worse than one that is wrong.

### 05. Mai i segreti / Never touch secrets

Password, chiavi e pagamenti non entrano mai in memoria. E si dimentica solo su tuo comando esplicito.

> NEVER TOUCH SECRETS. Passwords, tokens, keys, card numbers and credentials never enter memory, not even if the user pastes them. And forget only on their explicit command.

## Due precisazioni

**L'origine di cio che salvi.** Usa il campo `basis`: `observed` quando lo hai letto da una fonte concreta, `inferred` quando è una tua deduzione. Spacciare una deduzione per un'osservazione avvelena la memoria per chiunque la rilegga dopo.

**Una scrittura respinta non è un errore.** Il filtro di qualità scarta i doppioni: vuol dire che la memoria lo sapeva gia. Non insistere e non riformulare per forzarla dentro.

## Gli strumenti

`search` per trovare, `fetch` con l'id per il testo completo, `cortex_recall` per una sintesi narrativa, `cortex_write` per salvare.

---

Cortex è un progetto di SKYNETLAB. Skill libera da usare e ridistribuire.
Testo servito da https://skynetlab-cortex-saas.cortex-320.workers.dev/skill/protocol.md