Marketing i treści · Automatyzacja
capture
/capture
Zapisuje bieżącą sesję Claude Code jako moment Build in Public w dzienniku.
Dla kogo
- Autor
- eclecticv ↗
- Repozytorium
- skills ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 08.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 08.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
Zapisuje bieżącą sesję Claude Code jako moment Build in Public w dzienniku.
Wyzwalacze z opisu
capture thislog this for build in public
Argumenty
/capture [optional note]
Oryginalny opis (EN)
Manually log the current Claude Code session as a Build in Public moment. Use when the user says "capture this", "log this for build in public", or wants to save a notable session highlight to the journal right now.
Jak działa
- Step 1: Gather session context
- Step 2: Invoke the capture script
- Step 3: Read the journal to confirm
- Step 4: Confirm to the user
- Notes
Sekcje z nagłówków SKILL.md, w oryginale · 74 linii, 540 słów
Podgląd SKILL.md
---
name: capture
description: Manually log the current Claude Code session as a Build in Public moment. Use when the user says "capture this", "log this for build in public", or wants to save a notable session highlight to the journal right now.
argument-hint: "[optional note]"
allowed-tools: Bash, Read
---
You are capturing the current Claude Code session as a Build in Public journal entry on demand.
## Step 1: Gather session context
Run the following to locate the session transcript. The session id is available as the skill substitution `${CLAUDE_SESSION_ID}` (expanded before the bash runs — do NOT use it as a shell variable `$CLAUDE_SESSION_ID`):
```bash
transcript=$(find "$HOME/.claude/projects" -type f -name "${CLAUDE_SESSION_ID}.jsonl" 2>/dev/null | head -1)
echo "CWD: $(pwd)"
echo "SESSION_ID: ${CLAUDE_SESSION_ID}"
echo "TRANSCRIPT: $transcript"
```
- `cwd`: the current working directory (from `$(pwd)`)
- `session_id`: the value of the skill substitution `${CLAUDE_SESSION_ID}` (expanded in this file; not a shell env var)
- `transcript_path`: the result of the `find` above — may be empty if the transcript is not yet flushed to disk; that is acceptable graceful degradation
## Step 2: Invoke the capture script
Pipe a JSON object to the capture script via stdin. Build the JSON safely using Python's `json.dumps` to handle any special characters in the values. Substitute `${CLAUDE_SESSION_ID}` directly in the heredoc (it is expanded by the skill runtime before bash executes):
```bash
python3 -c "
import json, subprocess, os, sys
payload = {
'session_id': '${CLAUDE_SESSION_ID}',
'cwd': os.getcwd(),
'transcript_path': os.environ.get('_TRANSCRIPT', ''),
}
proc = subprocess.run(
['python3', os.path.join(os.environ.get('CLAUDE_PLUGIN_ROOT', ''), 'scripts', 'capture_session.py')],
input=json.dumps(payload),
text=True,
capture_output=True,
env={**os.environ, '_TRANSCRIPT': '$transcript'},
)
sys.stdout.write(proc.stdout)
sys.stderr.write(proc.stderr)
sys.exit(proc.returncode)
"
```
If `transcript_path` is empty, the capture script will still run and record a repo-only digest from `cwd`. Tell the user "transcript signals were unavailable" in that case.
## Step 3: Read the journal to confirm
After the script exits, read the last line of the journal to confirm the entry was written:
```bash
tail -1 "${BUILD_IN_PUBLIC_HOME:-$HOME/.build-in-public}/journal.jsonl"
```
Parse the JSON line and extract `ts`, `repo`, and `signals`.
## Step 4: Confirm to the user
Report back with a one-line summary in this format:
> Captured — repo: **`<repo>`**, signals: `[<signal1>, <signal2>]`, logged at `<ts>`.
If the user provided an optional `[note]` argument, append it as a parenthetical:
> Captured — repo: **`<repo>`**, signals: `[shipped]`, logged at `<ts>`. *(Note: "<their note>")*
If the journal line was not written (i.e., `tail -1` returns a line older than now, or the file doesn't exist), tell the user: "Nothing was captured — no signals were detected and no repo could be determined from the current directory. Try running from inside a project directory, or make sure the session transcript contains share-worthy keywords (shipped, fixed, learned, etc.)."
## Notes
- The script appends a journal entry only when it detects at least one signal keyword OR can derive a repo name from `cwd`. If neither condition holds, no line is written and you should surface the guidance above.
- `${CLAUDE_PLUGIN_ROOT}` is a skill substitution (not a shell env var) expanded by the Claude Code plugin runtime to the directory containing `plugin.json`. The capture script lives at `${CLAUDE_PLUGIN_ROOT}/scripts/capture_session.py`.
- `${CLAUDE_SESSION_ID}` is likewise a skill substitution, expanded in this file before bash executes. Do NOT reference it as `$CLAUDE_SESSION_ID` in shell — it will be empty. There is no `$CLAUDE_TRANSCRIPT_PATH` env var in Claude Code; the transcript is located via `find "$HOME/.claude/projects" -name "${CLAUDE_SESSION_ID}.jsonl"`.
- Do not pass the user's note into the stdin JSON — the script has no `note` field. The note is for your confirmation message only.
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · eclecticv/skills | 100 | MIT |
| wenlan-app/wenlan | 100 | Apache-2.0 |
| wenlan-app/wenlan | 100 | Apache-2.0 |
| optimiziramsi/skills | 100 | MIT |
| Kolibee-GmbH/m2b | 100 | MIT |
| davepoon/buildwithclaude | 100 | MIT |
| aw3-technology/vibehub-plugins | 100 | MIT |
| anurag-rivora/product-brain-starter | 100 | MIT |
| borghei/Claude-Skills | 100 | MIT |
Migawka bazy z 13.11.2026 · wersja paczki 01fdc3e1c9bf (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
- 100journal-this
Zapisuje pracę z sesji Claude w prywatnym dzienniku Markdown poza repozytorium Git, z decyzjami, wnioskami i pomysłami na treści. - 100seed
Czyta surowy log aktywności sesji Claude Code i pomaga zamienić go na materiał do wpisu na X. - 100session-log
Zapisuje raport z sesji jako stronę HTML, wyciąga decyzje, dopisuje kontekst z vaulta i podaje polecenie rename. - 100draft
Tworzy tygodniowe posty Build in Public do X i LinkedIn z wybranych momentów, przechodzi filtr prywatności i zapisuje gotowe szkice do przeglądu. - 100flow-next-capture
Zapisuje bieżącą rozmowę jako specyfikację z oznaczeniem źródeł, a potem proponuje jej przegląd lub edycję. - 90sessionlog:export
Eksportuje bieżącą sesję Claude Code jako plik JSON w standardzie rozmów LLM oraz jako czytelny zapis tekstowy TXT.