Logo van Sync

Sync

Community
lsnackerman
sync

Refresh the current session's LOG with a fresh extraction. Use as the last step of /wrap, or any time the session has continued and you want the capture current. Idempotent — safe to invoke multiple times.

Overzicht

Uitgeverlsnackerman
Repositoryraw-clauding-skills
Skillnaamsync
Sterren
46
Forks
8
Meegeleverde bestanden
1
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.

  • 1 meegeleverde bestanden

    Scripts, sjablonen en referentiemateriaal die het model tijdens het werken kan lezen. Bestanden zijn alleen-lezen en worden nooit uitgevoerd.

  • Open source

    Gepubliceerd door lsnackerman op GitHub. Lees de broninhoud voordat je de skill installeert.

Installatie

Installeer de AI-skill Sync 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/lsnackerman/raw-clauding-skills/tree/main/sync
  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/lsnackerman/raw-clauding-skills.git /tmp/raw-clauding-skills
mkdir -p .claude/skills
cp -r /tmp/raw-clauding-skills/sync .claude/skills/sync
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Sync 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 Sync automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Sync 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.

/sync - Refresh session log

The memory you share. Drop this into any AI conversation to preserve what you built together.

Idempotent session capture. Point it at the session file and it refreshes the file's LOG section with a fresh extract. Run any time; the LOG always matches what actually happened up to the moment of invocation.

Neither of you has persistent memory. Human brains lose things that aren't immediately in front of them. AI loses everything at session end. Files are the memory you share. Whatever you don't capture evaporates: the ideas, the connections, the texture of how you got somewhere. Gone.


When to use

  • Last step of /wrap — preserve the full session including the wrap itself
  • Session has continued past /wrap and you want the capture current
  • You're about to hand off and want the LOG to include everything
  • Any natural pause where "make sure the archive reflects reality" feels right

Not for: judgment work. /sync is just the refresh action, isolated.


What capture looks like

A full transcript of each session. Verbatim. Both voices. No compression. No summarizing. Full thinking maps.

Human words in blockquotes, AI words in plain text.

Texture is substance. Summaries lose that.

The test: could someone who wasn't here feel what this exchange was like?


Why compression is the enemy

This goes both directions.

For AI: You will unconsciously compress, it's a known behavior (hedging gets dropped, openers disappear, warmth flattens into bullet points). The instinct to "be helpful by summarizing" is the opposite of helpful here. Verbatim IS the helpful thing.

For humans: Don't ask AI to summarize the conversation instead of capturing it. Don't clean it up, tighten it, or make it presentable. The raw exchange is the archive. It's supposed to sound like two people thinking, not a polished document.

Compression changes meaning. A hedge becomes a claim, a rejected option disappears, and the decision arrives looking inevitable without the reasoning it took to get there. The extraction script bypasses all of this; session files hold everything so the thinking persists, because thinking takes time and ideas need breathing room.


Where sessions go

Captured sessions live as standalone markdown files in sessions/.

A minimal session file:

markdown
---
date: 2026-02-07
session_id: 02701400-ba8e-426a-9c1f-3d2e8b7a6f10
tags: [topic-a, topic-b]
summary: One-liner of what happened.
---

## RECAP

- What we explored
- What landed
- What's next

---

## LOG

> human's words here

AI's response here, verbatim.

> human's next words

AI's next response.

RECAP is the quick re-entry point. LOG is the full texture. Both matter.

session_id is what ties the file to its conversation, and it's what keeps a refresh from grabbing the wrong one when you have two sessions open. You don't have to fill it in by hand: the script records it the first time it writes the file.


How to capture

Path A — Claude Code (terminal or the Desktop app's Code tab)

Claude Code stores every exchange in session files. The extraction script reads directly from the source (no manual transcription, no compression risk).

The script: extract-session.py (in this skill's directory). Run it from your project folder (that's how it finds your sessions), pointing at wherever the script lives. With the README's setup, that's .claude/skills/sync/.

The one command — write straight into the session file:

bash
python3 .claude/skills/sync/extract-session.py sessions/2026-02-07-pricing-rethink.md
  • If the file has a ## LOG header, everything after it is replaced with a fresh extract of the whole session. Your YAML and RECAP above it are left alone. (A ## LOG quoted inside a code block in your RECAP doesn't count.)
  • If the file has no ## LOG yet, one is added at the end. If the file (or its folder) doesn't exist, it's created.
  • Which session it extracts: the session_id in the file's YAML if there is one; otherwise the session you're running it from (Claude Code tells it); otherwise the most recently active one, and it says when it's guessing. Whichever it uses gets written into the file's YAML, so every later refresh of that file stays on the same session.

That's what makes /sync safe to run as many times as you like: every run extracts the entire session from the start and replaces the LOG, so it always matches the session, never a stack of copies.

The one rule: let the script write the file. Don't read its output and rewrite it; that's compression sneaking in through a different door. The script moves bytes, not summaries.

Finding the current session: Claude Code stores conversation data at ~/.claude/projects/{your-project-path}/, one .jsonl per session. The filename (minus .jsonl) is the session_id. The most recent is the newest by modification time (not alphabetically; the IDs have no relationship to time):

bash
ls -lt ~/.claude/projects/{your-project-path}/*.jsonl | head -3

Verify before extracting — especially with concurrent sessions, spot-check that it's the right conversation: read the first few user messages. If they don't match what you remember, it's the wrong one. Two seconds, and it prevents capturing an entire wrong session.

Other ways to run it:

bash
python3 .claude/skills/sync/extract-session.py                       # print the current session to the screen
python3 .claude/skills/sync/extract-session.py SESSION_ID file.md    # a specific session into a file
python3 .claude/skills/sync/extract-session.py /path/to/file.jsonl   # a specific transcript, printed

If you print to the screen and copy it in by hand: replace the LOG, never paste below it. And don't pipe the output through | head or anything else that can stop early; the capture gets cut off mid-message and still looks complete.

Key discovery: Session files survive context compaction. Even when AI hits 0% context and resets, the session file keeps the full history. Verbatim capture is guaranteed.

Path B — Claude.ai chat / other tools

No script needed. The human does the capture (you might need to nudge them). The AI formats for readability.

  1. Copy the conversation thread (select all, copy)
  2. Create a session file using the template above
  3. Paste the conversation under ## LOG (on a later run, replace what's there; don't paste below it)
  4. Format for readability: Human words in blockquotes (>), AI responses in plain text

That's it. The format matches what the extraction script produces (same archive, different source).


What makes /sync different from /wrap

SkillScopePurpose
/wrapFull session closeRoute + task docs + handoff + capture. Whole ritual.
/syncLOG refresh onlyPure, lightweight, idempotent. Run any time.

/wrap is ceremonial. /sync is ambient.

/sync runs as the last step of /wrap, but it also stands alone. If your session continues past /wrap and you want the archive current, run /sync again. Idempotent.


Skill Check (after every sync)

Quick scan: anything about this capture that felt off or could be smoother?

  • Did texture get lost?
  • Was the process frictionless or annoying?
  • Did compression sneak in anywhere?
  • Was the session file structure clear?

If yes → update this skill now. The improvement compounds.

If no → move on. Not every capture teaches something.

Meegeleverde bestanden

Het model leest deze bestanden wanneer nodig terwijl de skill geladen is. Ze worden beschikbaar gesteld als leesbare bestanden en worden nooit uitgevoerd.

Veelgestelde vragen

Wat doet de AI-skill Sync?

Refresh the current session's LOG with a fresh extraction. Use as the last step of /wrap, or any time the session has continued and you want the capture current. Idempotent — safe to invoke multiple times.

Waarom Sync gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Sync 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 Sync in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/lsnackerman/raw-clauding-skills/tree/main/sync. TypingMind leest het bestand SKILL.md, bundelt de bijbehorende bestanden en installeert het geheel als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Sync 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 Sync gebruiken?

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

Is de AI-skill Sync gratis?

Deze skill is door lsnackerman op GitHub gepubliceerd. Bekijk de repository voor de licentievoorwaarden. 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 👇