Przejdź do treści
Biblioteka skilli
AI i agenci · Analiza

memory

/memory

Redukuje sesje agenta do małej, przeszukiwalnej pamięci faktów: decyzji, preferencji, poprawek i otwartych próśb, każdy fakt sprawdzając w źródle.

Repozytorium
skills ↗
Licencja
MIT
Ostatnia zmiana repozytorium
09.11.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
6
Skrypty
2
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

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

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co sprawdzić przed instalacją
  • 2 skrypty w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.

Skrypty: scripts/interface.ts, scripts/memory.ts

Co robi i kiedy

Redukuje sesje agenta do małej, przeszukiwalnej pamięci faktów: decyzji, preferencji, poprawek i otwartych próśb, każdy fakt sprawdzając w źródle.

Wyzwalacze z opisu

memorymemória reduzidaextrai a memória da sessãoresume essa sessão em fatosprocessa as sessões do bot
Oryginalny opis (EN)

Reduce an agent (all sessions of its folder) or one session to a small searchable memory (facts.jsonl) of decisions, preferences, corrections, durable facts and open requests, with the Devin SDK judging windows of the conversation and deterministic code validating every fact against its source. Use when the owner says "memory", "memória reduzida", "extrai a memória da sessão", "resume essa sessão em fatos", "processa as sessões do bot".

Jak działa

  1. Arguments
  2. Options
  3. Environment
  4. Output
  5. Behaviour
  6. Examples
Sekcje z nagłówków SKILL.md, w oryginale · 60 linii, 396 słów
Podgląd SKILL.md
---
name: memory
description: Reduce an agent (all sessions of its folder) or one session to a small searchable memory (facts.jsonl) of decisions, preferences, corrections, durable facts and open requests, with the Devin SDK judging windows of the conversation and deterministic code validating every fact against its source. Use when the owner says "memory", "memória reduzida", "extrai a memória da sessão", "resume essa sessão em fatos", "processa as sessões do bot".
metadata:
  version: 0.2.1
---

# memory

```
bun run <skill dir>/scripts/memory.ts [<agent folder> | <session>] [options]
```

## Arguments

| Argument | Meaning |
|---|---|
| `<agent folder>` | The agent's folder: reads all its sessions in time order. The default is the current folder. |
| `<session>` | One session only: id, an unambiguous id prefix, or a path to the `.jsonl`. |

## Options

| Option | Default | Meaning |
|---|---|---|
| `--last N` | none | Only the last N owner messages and what follows them. Starts from an empty memory and overwrites `--out`. |
| `--out DIR` | `.memory/<scope>`, or `.memory/<scope>-last` with `--last` | Where the memory lives. Reuse the same folder to continue. |
| `--every N` | `MEMORY_EVERY` or `20` | Close a window every N owner messages. |
| `--model ID` | `MEMORY_MODEL` or `swe-2-high` | Model id advertised by the Devin session. |
| `--rules FILE` | none | The agent's current rules, usually its `AGENTS.md`. They outrank older facts. |
| `--limit N` | all | Process at most N windows in this run. |

## Environment

| Variable | Default | Meaning |
|---|---|---|
| `DEVIN_BIN` | `devin` | The logged-in Devin CLI. No API key is used. |
| `MEMORY_EVERY` | `20` | Default for `--every`. |
| `MEMORY_MODEL` | `swe-2-high` | Default for `--model`. |

## Output

| Path | Content |
|---|---|
| `<out>/facts.jsonl` | The memory, one fact per line: `ts`, `type`, `title`, `fact`, `source`, `supersedes`. |
| `<out>/memory.json` | The cursor: how many messages are already absorbed. |
| `<out>/work/` | Files of the last window, for inspection. |

Stdout prints the path of `facts.jsonl`; progress goes to stderr. Exit code is `0` on success and `1` on any failure.

## Behaviour

- A run reads only what comes after the cursor, so run it again on the same `--out` after the session grows.
- Each window gets up to two repair turns. If violations remain, the run stops with exit `1` and keeps the last good memory.
- Messages after the last owner message wait for the next run.

## Examples

```
bun run scripts/memory.ts <agent folder> --last 10
bun run scripts/memory.ts <agent folder> --rules <agent folder>/AGENTS.md
bun run scripts/memory.ts <session id> --out <dir>
bun run scripts/memory.ts ./session.jsonl --every 10 --limit 1
```

The extraction prompt is [resources/prompt.md](resources/prompt.md). The domain contract is [scripts/interface.ts](scripts/interface.ts).
Pliki w paczce (6)
  • CHANGELOG.md 1 KB
  • README.md 1 KB
  • SKILL.md 3 KB
  • resources/prompt.md 2 KB
  • scripts/interface.ts 5 KB
  • scripts/memory.ts 15 KB

Wersje

RepozytoriumWynikLicencja
Ta strona · biliboss/skills100MIT
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

Migawka bazy z 13.11.2026 · wersja paczki 991d2a5672a0 (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

  • 90agentsmd
    Tworzy, migruje lub audytuje AGENTS.md i pamięć projektu, przenosząc zmienne dane, np. status, do pliku STATE.md.
  • 100anchored
    Używa narzędzi pamięci Anchored (anchored_context, anchored_search, anchored_save, kg_query, kg_add) jako stale włączonej pamięci między narzędziami, przy odwołaniach do wcześniejszej pracy i preferencji.
  • 100handoff
    Porządkuje długą sesję agenta Hermes w tmux: zapisuje ją do JSONL, przenosi kopię do nowej karty i czyści oryginał.
  • 96project-memory
    Zapisuje trwałe fakty o projekcie, takie jak decyzje i pułapki, w pliku pamięci, by kolejne sesje nie odkrywały ich od nowa.
  • 100memory-extraction
    Na koniec sesji zapisuje trwałe fakty z bieżącej sesji do .claude/memory/, w głównym agencie na podstawie transkryptu w kontekście i istniejącej pamięci, po sygnale z hooka Stop.
  • 100agent-memory-discipline
    Uczy, kiedy przywoływać pamięć długoterminową przed działaniem i kiedy zapisywać trwałe decyzje, poprawki i porażki, dla dowolnego backendu pamięci.

Uwagi i zgłoszenia

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