Receber por email
← Voltar para o catálogo

memem-mine

Opt in to memem's event-triggered mining. New sessions are mined automatically via the Stop hook.

34estrelas
Atualizado há 3 meses

Ver no GitHub ↗ Licença: MIT

Como adicionar

/plugin marketplace add TT-Wang/memem

O comando exato pode variar conforme o repositório. Confira o README no GitHub.

Para o autor da skill

Cole no README do seu repo

Mostra que sua skill está catalogada na Skillteca, gera backlink e tráfego rastreável.

[![Skillteca](https://www.skillteca.com.br/api/badge/memem-mine/svg)](https://www.skillteca.com.br/skills/memem-mine)

Skills relacionadas

Ver todas de Dados e Análise →

Alerta por categoria

Receba novas skills de Dados e Análise toda segunda

1 email curto, só com as skills novas de Dados e Análise. 4 minutos de leitura, sem spam, cancela com 1 clique.

Você confirma o email no primeiro envio. Sem spam. Cancela com 1 clique.

Ler descrição completa

Opt in to memem mining. In v2.1.0+ mining is event-triggered: it fires on every Claude Code Stop event when the opt-in marker exists. There is no daemon to start.

  1. Create the opt-in marker:
mkdir -p ~/.memem && touch ~/.memem/.miner-opted-in
  1. Tell the user:
  2. Mining is now active — every Stop event spawns a detached mine_delta subprocess that extracts memories from new turns since the last invocation
  3. Hook overhead is ~50ms; the Haiku call runs in background
  4. Run /memem-status to check Stop-hook registration, opt-in marker, and last mine run
  5. Safety net: SessionStart fires a stale-session sweep for any JSONLs > 10 min old not yet in ~/.memem/.mined_sessions (catches sessions where Stop never fired)
  6. To opt out: rm ~/.memem/.miner-opted-in (no daemon to stop — the hook just no-ops)

For backfilling pre-existing sessions, use /memem-mine-history.

Compartilhar X LinkedIn