Przejdź do treści
Biblioteka skilli
AI i agenci · Integracja z narzędziem

memory

/memory

Zapisuje i przywołuje fakty operacyjne z okresem ważności, decyzje i relacje między encjami w pamięci NetClaw opartej na SQLite i ChromaDB, z wyszukiwaniem semantycznym.

Repozytorium
netclaw ↗
Licencja
Apache-2.0
Ostatnia zmiana repozytorium
25.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 25.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

Co robi i kiedy

Zapisuje i przywołuje fakty operacyjne z okresem ważności, decyzje i relacje między encjami w pamięci NetClaw opartej na SQLite i ChromaDB, z wyszukiwaniem semantycznym.

Oryginalny opis (EN)

NetClaw's native persistent memory (spec 033) — structured facts with temporal validity, semantic search across past sessions, decision logging, and entity relationships, backed by SQLite + ChromaDB at ~/.openclaw/memory/. This is the primary, GAIT-integrated memory system referenced by SOUL Principle #9. Use when recording or recalling operational facts, past decisions, or entity relationships across sessions. For the alternate community MemPalace tool (wing/room/drawer model with its own knowledge graph), see `mempalace` instead — the two stores don't share data, so pick one per fact rather

Jak działa

  1. Overview
  2. Capabilities
  3. MCP Tools
  4. Usage Examples
  5. Data Storage
  6. Integration
  7. Prerequisites
  8. Troubleshooting
Sekcje z nagłówków SKILL.md, w oryginale · 122 linii, 545 słów
Podgląd SKILL.md
---
name: memory
description: "NetClaw's native persistent memory (spec 033) — structured facts with temporal validity, semantic search across past sessions, decision logging, and entity relationships, backed by SQLite + ChromaDB at ~/.openclaw/memory/. This is the primary, GAIT-integrated memory system referenced by SOUL Principle #9. Use when recording or recalling operational facts, past decisions, or entity relationships across sessions. For the alternate community MemPalace tool (wing/room/drawer model with its own knowledge graph), see `mempalace` instead — the two stores don't share data, so pick one per fact rather than writing to both."
license: Apache-2.0
user-invocable: true
metadata:
  { "openclaw": { "requires": { "bins": ["python3"] } } }
---

# Skill: Persistent Memory

**Purpose**: Provide persistent context across NetClaw sessions through structured facts, semantic search, and entity relationships.

## Overview

The Memory skill enables NetClaw to remember information about your network across sessions. Instead of re-explaining your topology, device names, and past issues every time, NetClaw builds a memory that grows smarter with each interaction.

> **Memory vs. the RAG Knowledge Base**: Memory (`memory_*` tools, `~/.openclaw/memory/`) holds NetClaw's OWN experience — facts, session summaries, decisions, entity relationships. Document content lives in the separate RAG knowledge base (`rag` skill, `rag_*` tools, `~/.openclaw/rag/`). "Remember this PDF / URL / standard" routes to `rag_ingest`, not `memory_record_fact`; "what does the vendor guide say" routes to `rag_search`, not `memory_recall`. Operational facts ("PE2 is in maintenance until Friday"), past-session questions, and decision history stay here. Neither store writes into the other.

## Capabilities

### 1. Structured Fact Storage
Store precise facts about network entities with temporal validity:
- Device states, configurations, IP addresses
- Maintenance windows, change history
- Performance baselines, thresholds

### 2. Semantic Recall
Search past sessions using natural language:
- "What was that BGP issue last month?"
- "Show me troubleshooting related to MTU"
- "Find sessions about PE2"

### 3. Decision Logging
Record operational decisions with rationale:
- Why a route was changed
- Why a device was quarantined
- Links to ServiceNow change requests

### 4. Entity Relationships
Track network topology and dependencies:
- PE2 peers_with RR1
- Service-X depends_on Device-Y
- Impact analysis for changes

## MCP Tools

| Tool | Purpose |
|------|---------|
| `memory_record_fact` | Store a fact with temporal validity |
| `memory_get_facts` | Query current facts for an entity |
| `memory_invalidate` | Mark a fact as no longer current |
| `memory_timeline` | Query historical facts |
| `memory_store_session` | Store session summary for semantic search |
| `memory_recall` | Semantic search across past sessions |
| `memory_record_decision` | Log a decision with rationale |
| `memory_get_decisions` | Query past decisions |
| `memory_link_entities` | Create relationship between entities |
| `memory_query_graph` | Query entity relationships |

## Usage Examples

### Record a Fact
```
memory_record_fact entity="PE2" key="bgp_state" value="established" metadata={"peer": "10.0.0.1"}
```

### Query Facts
```
memory_get_facts entity="PE2"
```

### Semantic Search
```
memory_recall query="BGP flapping problem" top_k=5
```

### Record a Decision
```
memory_record_decision context="PE2 BGP session flapping" decision="Increased hold timer to 180s" rationale="Reduce flap frequency" entities=["PE2", "RR1"] cr_number="CHG0001234"
```

### Link Entities
```
memory_link_entities subject="PE2" predicate="peers_with" object="RR1"
```

## Data Storage

All memory data persists in `~/.openclaw/memory/`:
- `memory.db` - SQLite database (facts, decisions, links)
- `chroma/` - ChromaDB vector store (session embeddings)

Data is automatically pruned after 1 year.

## Integration

### With GAIT
All memory write operations log to GAIT for audit trail.

### With HEARTBEAT
Memory enables pattern detection in health checks:
> "3rd BGP flap on PE2 this week - want me to investigate?"

### With SOUL
Memory directly fulfills Principle #9: "Get smarter every session."

## Prerequisites

- Memory MCP server enabled (`./scripts/memory-enable.sh`)
- ~500MB disk space for 1 year of data
- First run downloads embedding model (~80MB)

## Troubleshooting

### Server Won't Start
```bash
uvx --from netclaw-memory-mcp memory-mcp-server --help
```

### Check Data Directory
```bash
ls -la ~/.openclaw/memory/
```

### Verify Database
```bash
sqlite3 ~/.openclaw/memory/memory.db "SELECT COUNT(*) FROM facts;"
```

Wersje

RepozytoriumWynikLicencja
Ta strona · automateyournetwork/netclaw100Apache-2.0
rjmurillo/ai-agents100MIT
rjmurillo/ai-agents100MIT
topoteretes/cognee-integrations100Apache-2.0
topoteretes/cognee-integrations100Apache-2.0
topoteretes/cognee-integrations100Apache-2.0
thebtf/engram100MIT
stxrmik/antigravity-plus100MIT
boshu2/agentops100Apache-2.0

Identyczna treść występuje jeszcze w 1 innych folderach na GitHubie. Tu pokazujemy jedną, najlepiej ocenioną kopię.

Migawka bazy z 13.11.2026 · wersja paczki fc451836572d (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100agent-memory
    Dodaje trwałą pamięć agentom kodującym: systemy plikowe, wektorowe i z wyszukiwaniem semantycznym (MEMORY.md, SQLite z embeddingami, ChromaDB, Pinecone) przeżywające między sesjami.
  • 100chromadb
    Zarządza bazą wektorową ChromaDB przechowującą trwałą pamięć ekosystemu: sprawdza zajętość, robi kopie zapasowe, przeszukuje i usuwa wpisy oraz resetuje bazę.
  • 100engram
    Zapewnia agentom AI trwałą pamięć z wyszukiwaniem semantycznym i grafem wiedzy w lokalnej bazie SQLite, przydatną do przypominania decyzji i wykrywania sprzeczności między sesjami.
  • 100mempalace-recall
    Przeszukuje pałac MemPalace przed odpowiedzią o wcześniejszej pracy, osobach, projektach i decyzjach, wymagając serwera mempalace-mcp.
  • 90mempalace-recall
    Przeszukuje MemPalace przed odpowiedzią o dawnej pracy, ludziach, projektach i podjętych decyzjach; wymaga serwera mempalace-mcp.
  • 90fact-memory
    Zapisuje, aktualizuje i przywołuje trwałe fakty, opisując ich budowę, cykl życia i sposób pomiaru.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.