Collects a day's work from local git repositories, Cursor transcripts, OpenCode sessions, and a Telegram allowlist. Only a confirmed block is appended to the Obsidian daily note.
The raw dump stays outside the vault. An empty day does not change the note.
## 🤖 Итоги дня
### Сделано
- **billing** — сузил окно повторной оплаты до одного счёта
### Решения и обоснования
Оставили повтор по idempotency-key. Повтор всей корзины отбросили: он списывал деньги второй раз.uv tool install day-recapRun day-recap init in your own terminal, not in the agent chat. Do not
type api_id or api_hash into the chat. init asks qr or code. qr
prints a code to scan: Settings → Devices → Link desktop device. code waits
for the login code in the Telegram service chat. --login qr or --login code
skips the question. --relogin signs in again.
day-recap chats prints a table and ready [[telegram.chats]] blocks.
Paste the blocks you want into the [telegram] section. Only those chats are
read into the raw dump.
| Section | What it sets |
|---|---|
[notes] |
Where to write the daily note. |
[state] |
Where raw dumps are stored. |
[git] |
Which directories to walk and whose commits to take. |
[transcripts] |
Cursor JSONL roots and how messages are trimmed. |
[opencode] |
OpenCode database and the same trim. |
[telegram] |
Whether the source is on, and the allowlist. |
[summary] |
Size threshold. |
Keys and defaults ship in the package as app/config.example.toml.
- The size threshold is 100000 bytes.
- Raw dumps are kept for 14 days.
~/.config/day-recap/.envis mode 600.
Copy SKILL.md to ~/.agents/skills/day-recap/SKILL.md.
/day-recap
/day-recap yesterday
/day-recap 2026-10-05
The date is today, yesterday, or YYYY-MM-DD. With no date, the window
runs from local midnight to the moment you start.
The skill shows a draft and asks what you decided and what you rejected. The note changes only after a separate yes. An empty day does not change the note. With no Telegram session the other sources are still collected, and the block contains the line «Telegram недоступен, чаты не учтены».
collect stores a raw dump. show prints the day status, or one source when
you name it. The source is optional: git, transcripts, opencode, or
telegram. Both take --date (today, yesterday, or YYYY-MM-DD) and
--config PATH.
write reads the block from stdin. It needs --date YYYY-MM-DD and
--body -, and takes --config PATH. Without --apply the note stays
unchanged.
day-recap collect --date yesterday
day-recap show git --date 2026-10-05
day-recap write --date 2026-10-05 --body - --applyFrom a checkout of this repository:
uv tool install --editable .
just lint # ruff
just fmt # ruff format
just types # mypy
just test # pytest