export-timeline-pdf
Export a chat timeline to a PDF using the internal localhost export endpoint and wkhtmltopdf.
от rcarmo★ 25 звёзд на GitHub
Установить export-timeline-pdf в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Export timeline PDF
Export chat history through piclaw's internal localhost HTML export endpoint and render it with wkhtmltopdf.
Steps
Export the last 50 messages:
bun ../../scripts/export-timeline-pdf.ts --chat web:default --last 50Export a date range:
bun ../../scripts/export-timeline-pdf.ts --chat web:default \ --from "2026-03-01T00:00:00Z" --to "2026-03-05T23:59:59Z"Export a specific message range by row ID:
bun ../../scripts/export-timeline-pdf.ts --chat web:default \ --from-row 1234 --to-row 1300Dark theme:
bun ../../scripts/export-timeline-pdf.ts --chat web:default --last 20 --theme dark
Options
| Flag | Description | Default |
|---|---|---|
--chat |
Chat JID to export | web:default |
--from |
Start timestamp (ISO 8601) | (all) |
--to |
End timestamp (ISO 8601) | (all) |
--from-row |
Start message row ID | (all) |
--to-row |
End message row ID | (all) |
--last |
Export only the last N messages | (all) |
--theme |
light or dark |
light |
--out |
Output PDF path | /workspace/exports/timeline-<chat>.pdf |
--port |
Piclaw web port | auto-detect / 8080 |
--auth-key |
Internal export auth key | env/config lookup |
--html-only |
Save HTML sidecar without rendering PDF | off |
Auth
The internal endpoint is only available on localhost and requires an internal auth key. The script resolves it in this order:
--auth-keyPICLAW_EXPORT_AUTH_KEYPICLAW_INTERNAL_SECRETPICLAW_WEB_INTERNAL_SECRETweb.internalSecretfrom/workspace/.piclaw/config.json
Prerequisites
wkhtmltopdfmust be installed and available onPATH- piclaw web server must be running locally
Notes
- The script is read-only: it never opens SQLite and never writes auth/session state.
- The HTML export endpoint is
GET /internal/export/timeline. - The script writes an HTML sidecar next to the PDF for inspection, then renders that local file so bearer tokens are not passed to
wkhtmltopdf.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл export-timeline-pdf?
Export a chat timeline to a PDF using the internal localhost export endpoint and wkhtmltopdf.
Как установить скилл export-timeline-pdf?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл export-timeline-pdf запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
AnthropicUse this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
xlsx
AnthropicUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
pptx
AnthropicUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…