Przejdź do treści
Biblioteka skilli
AI i agenci · Integracja z narzędziem

brain

/brain

Dostraja profile pamięci adaptacyjnej, sprawdza wagi przywołań i przypisuje profile do wywołujących aktorów.

Repozytorium
khive ↗
Licencja
Apache-2.0
Ostatnia zmiana repozytorium
27.10.2026

Ocena i bezpieczeństwo

84/ 100Klasa: dobry
Format9 / 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
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

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

Licencja

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

Co robi i kiedy

Dostraja profile pamięci adaptacyjnej, sprawdza wagi przywołań i przypisuje profile do wywołujących aktorów.

Oryginalny opis (EN)

Tune adaptive recall with brain profiles — inspect profiles and posteriors, manage lifecycle (activate/deactivate/archive/reset), emit feedback (brain.feedback / brain.auto_feedback) to shift recall weights, and wire actors to profiles via bind/unbind/resolve/bindings. Use whenever recall behavior feels off, a new tuning profile is needed, or you need to confirm which profile serves a given caller.

Jak działa

  1. The pattern
  2. Anti-patterns
Sekcje z nagłówków SKILL.md, w oryginale · 108 linii, 480 słów
Podgląd SKILL.md
---
description: Tune adaptive recall with brain profiles — inspect profiles and posteriors, manage lifecycle (activate/deactivate/archive/reset), emit feedback (brain.feedback / brain.auto_feedback) to shift recall weights, and wire actors to profiles via bind/unbind/resolve/bindings. Use whenever recall behavior feels off, a new tuning profile is needed, or you need to confirm which profile serves a given caller.
---

# Tune adaptive recall with brain profiles

The brain pack is the adaptive layer that adjusts how `memory.recall` ranks results. It holds
Bayesian profiles whose posteriors shift with every feedback signal. The verbs are
`brain.create_profile`, `brain.profiles`, `brain.profile`, `brain.activate`, `brain.deactivate`,
`brain.archive`, `brain.reset`, `brain.feedback`, `brain.auto_feedback`, `brain.resolve`,
`brain.bind`, `brain.unbind`, and `brain.bindings`. Per-verb param detail is one `help=true` away:
`request(ops="brain.feedback(help=true)")`.

## The pattern

### 1. Orient: which profile is active and who does it serve?

Start every session with a single batch call to see the current state:

```
request(ops="[brain.profiles(lifecycle=\"active\"), brain.resolve(consumer_kind=\"recall\")]")
```

The built-in profile is `balanced-recall-v1`. Inspect current posterior values (relevance,
salience, temporal weights) with:

```
request(ops="brain.profile(profile_id=\"balanced-recall-v1\")")
```

### 2. Feed signal back after recall

After `memory.recall` returns results, emit a signal on each result you can evaluate. The
convenience verb handles the common case:

```
request(ops="brain.auto_feedback(query=\"<the recall query>\", results=[{\"id\":\"<uuid-1>\"}], target_id=\"<uuid-1>\", signal=\"implicit_positive\")")
```

Both `query` (the recall query that produced the results) and `results` are required. A supplied
signal also requires `target_id` to exactly match one result; rank position never creates a
judgment. Omit `signal` to abstain without emitting a feedback event. For direct per-item control, use
`brain.feedback`. Eight signals are available: `useful`,
`not_useful`, `wrong`, `explicit_positive`, `explicit_negative`, `implicit_positive`,
`implicit_negative`, `correction`. Batch across multiple results in one call:

```
request(ops="[brain.feedback(id=\"<uuid-1>\", signal=\"useful\"), brain.feedback(id=\"<uuid-2>\", signal=\"not_useful\")]")
```

### 3. Manage lifecycle when behavior drifts

Posteriors that have drifted can be reset without losing event history:

```
request(ops="brain.reset()")
```

To pause live updates while inspecting a profile, deactivate it first:

```
request(ops="brain.deactivate(profile_id=\"balanced-recall-v1\")")
```

Then reactivate when ready:

```
request(ops="brain.activate(profile_id=\"balanced-recall-v1\")")
```

To retire a profile permanently, deactivate it before archiving — the runtime rejects a direct
`active` to `archived` transition:

```
request(ops="brain.deactivate(profile_id=\"balanced-recall-v1\") | brain.archive(profile_id=$prev.profile_id)")
```

### 4. Wire a new profile to actors or namespaces

When you need a separate tuning profile for a specific actor or context, create it (starts
`Inactive`), activate it, then bind it:

```
request(ops="brain.create_profile(name=\"research-v1\", consumer_kind=\"recall\")")
request(ops="brain.activate(profile_id=\"research-v1\")")
request(ops="brain.bind(profile_id=\"research-v1\", actor=\"researcher\", consumer_kind=\"recall\")")
```

Confirm the binding resolves correctly before relying on it:

```
request(ops="brain.resolve(consumer_kind=\"recall\", actor=\"researcher\")")
```

Resolution priority: exact (actor+namespace+consumer_kind) then namespace wildcard, actor
wildcard, and finally global wildcard. `NotFound` means no binding covers that combination.

## Anti-patterns

- **Ambiguous prefix in `brain.feedback`.** `id` accepts a full UUID or a globally unique
  hex prefix of at least eight characters; prefer the full UUID from recall when available.
- **Archiving the only active profile.** If `balanced-recall-v1` is the sole active binding for
  `recall`, archiving it makes `brain.resolve(consumer_kind="recall")` return `NotFound` for all
  callers until a replacement is bound and activated.
- **Calling `brain.unbind()` with no args.** At least one filter (`profile_id`, `actor`,
  `namespace`, or `consumer_kind`) is required. A bare call is rejected.
- **Resetting mid-session.** `brain.reset` discards posteriors accumulated in the current session.
  Reset between sessions or after deliberate behavioral experiments, not while actively recalling.
- **Binding before activating.** A binding to an `Inactive` profile is valid but the profile will
  not receive live updates until `brain.activate` is called.

Wersje

RepozytoriumWynikLicencja
Ta strona · ohdearquant/khive84Apache-2.0
jeremylongshore/tons-of-skills-marketplace100MIT
coco-research/coco100MIT
jeremylongshore/bobs-big-brain-registrar100Apache-2.0
onetest-ai/echo100AGPL-3.0
johantor/brain100Apache-2.0
guangshinhaha/shinstack100MIT
atlasatakahraman/knowledge-skeleton100GPL-3.0
kayossouza/brain-template100MIT

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

  • 98claude-brain-builder
    Buduje lub weryfikuje bazę transkryptów rozmów z Claude w katalogu domowym, z indeksem wektorowym i lokalnym serwerem przywołań.
  • 100brain-recall
    Przywołuje wszystko, co brain wie o jednej encji: bieżący profil, pełną oś czasu bitemporalną, sąsiadów w grafie i nierozstrzygnięte sprzeczności.
  • 94captn-brain
    Optymalizuje kontekst i zużycie tokenów w CLI CaptN-BRAIN, najpierw metodami deterministycznymi.
  • 100brain-recall
    Odpowiada na pytania o wcześniejsze rozmowy z Claude, wyszukując w zapisanych transkryptach przez serwer wektorowy, z cytatami.
  • 87project-brain
    Zakłada i wczytuje pamięć projektu w folderze brain/, by wznowić pracę nad projektem lub sprawdzić jego stan po zmianie okna.
  • 100team-brain-sync
    Regeneruje plik BRAIN.md i opcjonalnie pliki .cursorrules oraz AGENTS.md z wpisów wiedzy zespołu.

Uwagi i zgłoszenia

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