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

sessionwiki-sync

/sessionwiki-sync

Synchronizuje transkrypcje sesji Claude Code z wiki sesji i wprowadza je do bazy wiedzy, gdy ta jest nieaktualna.

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

Brak sygnałów. Repozytorium zmienione 13.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 robi i kiedy

Synchronizuje transkrypcje sesji Claude Code z wiki sesji i wprowadza je do bazy wiedzy, gdy ta jest nieaktualna.

Wyzwalacze z opisu

sync the wikiupdate sessionwikiingest recent sessionsrefresh the knowledge base
Oryginalny opis (EN)

Sync Claude Code session transcripts into the user's sessionwiki and ingest them into the wiki. Use when the user says "sync the wiki", "update sessionwiki", "ingest recent sessions", "refresh the knowledge base", or asks a knowledge question that would benefit from up-to-date sessions. Also use when the user explicitly asks to refresh or rebuild the LLM wiki from their agent history.

Jak działa

  1. What this skill does
  2. When to use
  3. Workflow
  4. Options
  5. Hook installation (optional, for auto-sync)
  6. Troubleshooting
Sekcje z nagłówków SKILL.md, w oryginale · 107 linii, 568 słów
Podgląd SKILL.md
---
name: sessionwiki-sync
description: Sync Claude Code session transcripts into the user's sessionwiki and ingest them into the wiki. Use when the user says "sync the wiki", "update sessionwiki", "ingest recent sessions", "refresh the knowledge base", or asks a knowledge question that would benefit from up-to-date sessions. Also use when the user explicitly asks to refresh or rebuild the LLM wiki from their agent history.
---

# sessionwiki-sync

## What this skill does

The user maintains a Karpathy-style LLM Wiki — a local, file-based knowledge base compiled from their Claude Code (and Codex CLI) session transcripts.

This skill runs the full sync pipeline:

```
~/.claude/projects/*/*.jsonl         (raw session transcripts)
        │
        ▼   python3 -m sessionwiki sync
sessionwiki/raw/sessions/<proj>/*.md     (Karpathy layer 1 — immutable markdown)
        │
        ▼   /wiki-ingest              (Claude in the loop)
sessionwiki/wiki/sources, entities,      (Karpathy layer 2 — LLM-maintained wiki)
              concepts, syntheses
        │
        ▼   python3 -m sessionwiki build
sessionwiki/site/                         (Karpathy layer 3 — static HTML)
```

## When to use

Invoke this skill when the user:

- Says "sync the wiki", "update sessionwiki", "ingest recent sessions", "refresh the knowledge base"
- Asks a knowledge question that would benefit from the latest sessions ("what have I been working on this week?") — run sync first, then `/wiki-query`
- Starts a new project and wants context from past work
- Says "what's new" or "catch me up" in a context where session history matters

Do NOT invoke when:

- The user is asking a question unrelated to their own work
- The tool is not installed (check for `sessionwiki/` directory first)

## Workflow

1. **Locate the sessionwiki install.** Check the current working directory and common locations:
   - `./` (if cwd contains `sessionwiki/` package)
   - `~/Desktop/2026/production-draft/sessionwiki/`
   - `~/sessionwiki/`
   - `$SESSIONWIKI_HOME` (or legacy `$LLMWIKI_HOME`) environment variable

   If you can't find it, tell the user and stop.

2. **Run the converter** (idempotent — safe to re-run):
   ```bash
   cd <sessionwiki-dir>
   python3 -m sessionwiki sync
   ```
   Capture the summary line: `N converted, M unchanged, K live, J filtered, X errors`.

3. **If N == 0**, report that the wiki is up to date and stop.

4. **If N > 0**, ingest the new files into the wiki using the Ingest Workflow from the repo's `CLAUDE.md`. Process one project at a time. If more than 20 new files, ask the user whether to process all or a subset first.

5. **Append to `wiki/log.md`**:
   ```
   ## [YYYY-MM-DD] sync | <N> sessions across <M> projects
   ```

6. **Report** what was converted, which wiki pages were created or updated, and any contradictions flagged.

## Options

The converter supports flags the user may want:

```bash
python3 -m sessionwiki sync --project <substring>       # only one project
python3 -m sessionwiki sync --since 2026-04-01          # only recent
python3 -m sessionwiki sync --include-current           # include <60min live
python3 -m sessionwiki sync --force                     # ignore state, reconvert all
python3 -m sessionwiki sync --dry-run                   # preview without writing
```

## Hook installation (optional, for auto-sync)

If the user wants the converter to run automatically on every Claude Code session start, offer to add this to `~/.claude/settings.json`:

```json
{
  "hooks": {
    "SessionStart": [
      {
        "hooks": [
          {
            "type": "command",
            "command": "(python3 /absolute/path/to/sessionwiki/tools/sessions_to_markdown.py > /tmp/sessionwiki-sync.log 2>&1 &) ; exit 0"
          }
        ]
      }
    ]
  }
}
```

The `( ... &) ; exit 0` pattern ensures the hook runs in the background and never blocks session start.

## Troubleshooting

- **Permission errors on `raw/`**: the converter writes to `sessionwiki/raw/sessions/`. Make sure the repo is writable.
- **Nothing converted, only "live"**: the default 60-minute live filter is skipping recent sessions. Pass `--include-current` to override, or wait an hour.
- **Converter says "module 'tomllib' not found"**: stale source. Update to the current version (`tools/sessions_to_markdown.py` uses `json`, not `tomllib`).
- **Privacy**: the converter redacts username, API keys, tokens, and emails by default. If you see unredacted PII, check `examples/sessions_config.json` → `redaction.real_username`.

Wersje

W bazie nie ma innych skilli o nazwie sessionwiki-sync.

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

  • 100llmwiki-sync
    Synchronizuje transkrypty sesji Claude Code z llmwiki użytkownika i wprowadza je do wiki, odświeżając bazę wiedzy z historii pracy agenta.
  • 90sessionwiki-ingest
    Wprowadza jeden dokument, PDF, plik markdown albo adres URL do wiki sesji i przetwarza go na notatki, gdy użytkownik o to poprosi.
  • 100sessionwiki-query
    Odpowiada na pytania o własną przeszłą pracę, przeszukując najpierw wiki zbudowane z historii sesji, a dopiero potem szukając na zewnątrz.
  • 86wiki-ingest
    Wprowadza wiedzę z sesji agenta do osobistej bazy wiki LLM Meiqiu, gdy użytkownik o to prosi.
  • 100bootstrap
    Zakłada wiki utrzymywane przez LLM dla bieżącego projektu, czyli wiki QMD lub bazę wiedzy o kodzie, dla Claude Code, Codex lub Pi.
  • 100wiki-ingest
    Kompiluje artykuły, dokumenty i notatki w uporządkowaną bazę wiedzy wiki, pojedynczo lub wsadowo.

Uwagi i zgłoszenia

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