Skip to content
Back to skills

Memvid Backup

ASecurity

Usar cuando se crea un backup portable de la memoria externa de Savia.

  • 50 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 27, 2026
ai-agentspythongobashgit

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

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

Scanned September 28, 2026

npx -y skills add gonzalezpazmonica/savia --skill memvid-backup --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Memvid Backup?

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

Security grade badge for Memvid Backup
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/gonzalezpazmonica-memvid-backup/badge)](https://www.skillsdirectory.com/skills/gonzalezpazmonica-memvid-backup)

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
---
layer: peripheral
name: memvid-backup
description: Usar cuando se crea un backup portable de la memoria externa de Savia.
allowed-tools: [Read, Bash, Write]
metadata:
  # --- metadata.savia.* (SE-333) ---
  savia.agent: architect
  savia.maturity: stable
  savia.category: memory
  savia.context: fork
  savia.disable-model-invocation: false
  savia.priority: low
  savia.summary: "Wrapper backup para memoria externa. Intenta memvid (.mv2) si disponible, fallback a tar-gzip con SHA256 integrity. 3 subcomandos: pack, restore, verify. Integrable con travel-pack / vault-export."
  savia.tags: "backup, memvid, portable, travel, integrity"
  savia.user-invocable: True
---

# Skill: Memvid Backup

> Evalua memvid como formato portable para memoria externa.
> Ref: SE-041, docs/propuestas/SE-041-memvid-portable-memory.md.

## Cuando usar

- Backup de `.claude/external-memory/` antes de cambios estructurales
- Travel-pack para llevar memoria a otra maquina
- Verificar integridad de un backup antes de restaurar
- Experimentar con formato memvid vs tar-gzip

## Cuando NO usar

- Backup de repos git (usa git)
- Backup de datos de produccion criticos (hay herramientas dedicadas)
- Snapshots frecuentes (<1h) — overhead innecesario

## Subcomandos

### pack

Empaqueta un directorio a fichero portable:

```bash
python3 scripts/memvid-backup.py pack \
  --src ~/.claude/external-memory/auto \
  --out /tmp/memory-backup-$(date +%Y%m%d).tar.gz \
  --json
```

Output: `format`, `size_bytes`, `sha256`, `latency_ms`.

### restore

Restaura un backup a directorio:

```bash
python3 scripts/memvid-backup.py restore \
  --src /tmp/memory-backup-20260422.tar.gz \
  --out /tmp/memory-restored \
  --json
```

Output: `format`, `files_extracted`, `latency_ms`.

### verify

Verifica integridad (sin extraer):

```bash
python3 scripts/memvid-backup.py verify \
  --src /tmp/memory-backup-20260422.tar.gz \
  --json
```

Output: `format`, `size_bytes`, `sha256`, `members`.

## Formato automatico

Con `--format auto` (default en pack):
- Si `memvid` instalado → intenta .mv2 (fallback si falla)
- Si no instalado → tar-gzip con SHA256

Forzar formato: `--format tar-gzip` o `--format memvid`.

## Integracion con travel-pack

Para uso en travel-pack workflow:

```bash
# Pre-travel: backup local
python3 scripts/memvid-backup.py pack --src ~/.claude/external-memory --out $USB/memory.tar.gz

# Post-travel: restore en nueva maquina
python3 scripts/memvid-backup.py verify --src $USB/memory.tar.gz
python3 scripts/memvid-backup.py restore --src $USB/memory.tar.gz --out ~/.claude/external-memory
```

## Criterios acceptance SE-041

- [ ] Pack 100 engrams reales < 30s → pendiente eval real
- [ ] Round-trip byte-identical → SHA256 check implementado
- [ ] Portabilidad single-file → tar-gzip cumple, memvid .mv2 pendiente

## Instalacion (opcional)

```bash
pip install memvid  # ~15k stars, Apache 2.0
```

Zero-install default: tar-gzip siempre funciona.

## Costes

- Sin deps: 0 MB extra, tar-gzip nativo
- Con memvid: ~200MB (incluye BGE-small ONNX 384d)
- Egress: solo si memvid descarga modelo ONNX

## Referencias

- Spec: `docs/propuestas/SE-041-memvid-portable-memory.md`
- Script: `scripts/memvid-backup.py`
- Probe: `scripts/memvid-probe.sh`
- Tests: `tests/test-memvid-backup.bats`

Files in this skill

  • DOMAIN.md3 KB
  • SKILL.md3.3 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…