Logotipo de Raw Memory

Raw Memory

Organización
systemind-team
raw-memory

Use this skill when the user wants their coding sessions automatically captured and uploaded to Aicoo — enable, verify, or manage the Raw Memory collector that records completed Claude Code / Codex sessions as redacted, client-encrypted, immutable Notes Raw records. Triggers on: 'enable raw memory', 'raw memory', 'capture my sessions', 'record my coding sessions', 'auto-upload my sessions', 'session capture', 'raw memory status', 'stop capturing my sessions', '自动上传会话记录', '开启 raw memory', or after the user sees the Raw Memory integration card in Aicoo Settings → Integrations. NOTE: this is AUTOMATIC hook-driven capture of whole sessions; to manually sync chosen files or notes use context-sync.

Descripción general

Editorsystemind-team
RepositorioAICOO-Skills
Nombre de la habilidadraw-memory
Estrellas
35
Forks
6
Archivos incluidos
Solo instrucciones
LicenciaMIT
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando una petición es realmente relevante.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • Todo en las instrucciones

    Todo lo que necesita el modelo está en las instrucciones: no hay archivos adicionales que sincronizar.

  • Código abierto

    Publicada por systemind-team en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Raw Memory en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/systemind-team/AICOO-Skills/tree/main/skills/raw-memory
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → Desde URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/systemind-team/AICOO-Skills.git /tmp/AICOO-Skills
mkdir -p .claude/skills
cp -r /tmp/AICOO-Skills/skills/raw-memory .claude/skills/raw-memory
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Raw Memory en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición es relevante, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Raw Memory automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Raw Memory no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición relevante, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo seguirá.

Raw Memory — automatic session capture

You help the user enable and manage the Raw Memory collector (@aicoo/raw-memory on npm). Once enabled, completed Claude Code and Codex sessions are captured into encrypted, immutable Notes Raw records in Aicoo — automatically, on session end.

Explain the model to the user in one or two lines when relevant:

  • A one-time enable authorizes the device and installs SessionEnd hooks for Claude Code and Codex.
  • From then on, every finished session is redacted (Gitleaks) → client-encrypted (AES-256-GCM) → signed → queued with retry → uploaded. No manual steps.
  • Capture fails closed: if secret scanning, encryption, or signing cannot complete, nothing is uploaded. An occasional missing session is the protection working, not a bug.
  • This skill is not a sync loop. Never schedule cron/loop jobs for Raw Memory — the installed hooks do all the work.

Prerequisites

bash
node --version                      # need >= 18
gitleaks version 2>/dev/null || echo "MISSING gitleaks — brew install gitleaks (macOS)"

No API key is required: enable uses browser authorization. If AICOO_API_KEY (or legacy PULSE_API_KEY) is exported it is used instead of the browser flow — the right path for headless/remote machines.

Step 1: Enable

bash
npx @aicoo/raw-memory enable

Optional flags: --name "<device name>" (default: hostname), --base-url <url> or AICOO_BASE_URL env (default https://www.aicoo.io/).

What happens, and what you must do:

  1. Browser authorization (when no API key env var is set): the CLI prints Open this URL to authorize Raw Memory: followed by a URL on stderr, and tries to auto-open the browser. Relay that URL to the user as a clickable link — the auto-open can fail. The user approves in the browser; the CLI polls for up to 10 minutes and the link expires after that — so relay it immediately and ask the user to approve right away. Do NOT send the user to register elsewhere or hunt for an API key.

  2. On success the CLI prints one line of JSON on stdout:

    json
    {"command":"enable","enabled":true,"deviceId":"…","recoveryCode":"…","recoveryCodeStatus":"created","recoveryCodeCommand":null}
  3. Recovery code (critical) — if recoveryCode is non-null (first enrollment for this account), show it to the user once and tell them to store it outside this computer (e.g. a password manager). It is the only way to recover encrypted records if the device keys are lost. NEVER write the recovery code into notes, memory files, Aicoo, or anything persistent. If recoveryCodeStatus is "existing", account keys already exist and no new code is shown — it can be rotated with recovery-code below.

Step 2: Codex only — trust the hook

Codex requires reviewing and trusting the newly installed hook from /hooks before its first run. Claude Code needs no extra step; the hook is active for new sessions (the session that ran enable was already started, so it may not be captured).

Step 3: Verify

bash
npx @aicoo/raw-memory status
# → {"command":"status","configured":true,"enabled":true,"deviceId":"…"}

Server-side check (requires auth — OAuth token or AICOO_API_KEY):

bash
curl -s "https://www.aicoo.io/api/v1/raw-memory/devices" \
  -H "Authorization: Bearer $AICOO_API_KEY" | jq .

The enrolled device should be listed. The user can also see the device (and manage it) in Aicoo Settings → Integrations → Raw Memory. For an end-to-end test: finish a short session, then confirm a new Notes Raw record appears.

Manage

bash
npx @aicoo/raw-memory status         # local collector state
npx @aicoo/raw-memory disable        # remove hooks, delete stored credential, stop capture
npx @aicoo/raw-memory recovery-code  # rotate: prints a NEW code, the old one stops working

recovery-code output goes through the same handling as Step 1: show once, store outside this machine, never persist.

Revoke a device server-side (e.g. a lost laptop):

bash
curl -X DELETE "https://www.aicoo.io/api/v1/raw-memory/devices/{deviceId}" \
  -H "Authorization: Bearer $AICOO_API_KEY"

Troubleshooting

SymptomCause / fix
Enable fails, gitleaks not foundInstall Gitleaks (brew install gitleaks), re-run enable
Raw Memory collector belongs to another accountDevice was enrolled under a different Aicoo account — run disable first, or sign in as the original account
Browser never opensUse the URL the CLI printed; on headless boxes export AICOO_API_KEY and re-run
Authorization link expiredPairing links are single-use with a ~10-minute window — relay the URL the moment it prints and have the user approve right away; re-run enable for a fresh link
Enable fails in a sandboxed agent (e.g. Codex): network blocked, or EACCES on ~/.npmSandbox restrictions, not this machine. Run from a normal terminal, or allow network and point npm's cache inside the workspace: npm_config_cache=./.npm-cache npx @aicoo/raw-memory enable
A session didn't uploadFail-closed by design (redaction/encryption/signing failed), or the retry queue is backing off — check status, don't force anything
Codex sessions not capturedHook not trusted yet — run /hooks in Codex and approve it
No Raw Memory card in SettingsDeployment may be behind; the CLI path above still works

Guardrails

  • Never store, repeat into notes/memory, or upload the recovery code anywhere. Show once, instruct the user to save it off-machine.
  • Never schedule sync jobs for Raw Memory; capture is hook-driven by design.
  • Records are encrypted and immutable by design — do not attempt decryption or recovery workflows unless the user explicitly asks.
  • enable is idempotent for the same account/device — safe to re-run after partial failures.

Preguntas frecuentes

¿Qué hace la habilidad de IA Raw Memory?

Use this skill when the user wants their coding sessions automatically captured and uploaded to Aicoo — enable, verify, or manage the Raw Memory collector that records completed Claude Code / Codex sessions as redacted, client-encrypted, immutable Notes Raw records. Triggers on: 'enable raw memory', 'raw memory', 'capture my sessions', 'record my coding sessions', 'auto-upload my sessions', 'session capture', 'raw memory status', 'stop capturing my sessions', '自动上传会话记录', '开启 raw memory', or after the user sees the Raw Memory integration card in Aicoo Settings → Integrations. NOTE: this is A...

¿Por qué usar Raw Memory en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Raw Memory está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Raw Memory en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/systemind-team/AICOO-Skills/tree/main/skills/raw-memory. TypingMind lee su archivo SKILL.md y la instala como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Raw Memory?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Raw Memory?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Raw Memory con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Raw Memory?

Sí. systemind-team la ha publicado en GitHub bajo la licencia MIT. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver todos

Crea ya tu propio espacio de trabajo IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇