Logo van Raw Memory

Raw Memory

Organisatie
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.

Overzicht

Uitgeversystemind-team
RepositoryAICOO-Skills
Skillnaamraw-memory
Sterren
35
Forks
6
Meegeleverde bestanden
Alleen instructies
LicentieMIT
Links
  • Instructies in Markdown

    Een SKILL.md-bestand dat het model laadt wanneer nodig, zodat het alleen tokens kost als een verzoek er daadwerkelijk bij past.

  • Werkt met elk LLM

    AI-skills zijn gewone Markdown, geen aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Compleet zonder extra bestanden

    Alles wat het model nodig heeft, staat in de instructies — geen extra bestanden om te synchroniseren.

  • Open source

    Gepubliceerd door systemind-team op GitHub. Lees de broninhoud voordat je de skill installeert.

Installatie

Installeer de AI-skill Raw Memory in TypingMind om deze met elke LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map — het leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/systemind-team/AICOO-Skills/tree/main/skills/raw-memory
  4. Schakel de skill in elke chat in waarin je deze beschikbaar wilt hebben.
Plug-ins → Skills → Nieuwe skill → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

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
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Raw Memory in een willekeurige chat in TypingMind in en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek erbij past, laadt het model zelf de volledige instructies — je hoeft de skill nooit handmatig aan te roepen en deze kost pas tokens wanneer je de skill daadwerkelijk gebruikt.

Het model laadt Raw Memory automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Raw Memory niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

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.

Veelgestelde vragen

Wat doet de AI-skill 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...

Waarom Raw Memory gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Raw Memory bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model, en je kunt midden in een chat van model wisselen zonder dat de skill niet meer werkt. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Raw Memory in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/systemind-team/AICOO-Skills/tree/main/skills/raw-memory. TypingMind leest het bestand SKILL.md en installeert het als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Raw Memory gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Raw Memory gebruiken?

Zoveel als je wilt. Zolang een model skills ondersteunt, kun je Raw Memory ermee gebruiken: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama en meer. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Raw Memory gratis?

Ja. Deze skill is door systemind-team op GitHub gepubliceerd onder de licentie MIT. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. Deze volgt het open Agent Skills-formaat: een bestand met de naam SKILL.md met een naam en beschrijving, plus eventuele scripts, sjablonen of referentiebestanden die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Toon alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇