agent-daily-journal
БесплатноЗапускает вложенные скриптыНе проверенWrite a daily journal from the agent's own activity.
от alexhuiyi193 установки в других каталогахОб этом скилле
Agent Daily Journal Skill
Writes a daily journal from what the agent actually did. A zero-token collector turns Hermes'
state.db plus workspace mtimes into a compact per-day digest; the agent then writes one short
first-person entry per digest block. A linter proves the entry covers every event before it lands.
Two rules carry the whole design:
- The digest is material, the writer owns the voice. No prose templates in the collector.
- Coverage is checked, not trusted. A rich digest easily produces a thin entry that reads fine.
scripts/journal_lint.pycompares the entry against the digest's###headings and fails on a missing event.
Everything runs locally. The only tokens spent are the writer's.
When to Use
- A recurring journal/diary of the agent's own work, cron-driven or manual.
- Backfilling entries for past days, or re-voicing existing ones.
- Do not use for: work logs or commit summaries (the entry is deliberately not a report), or for anything the user wants in structured form — this produces prose.
Prerequisites
- Hermes with
state.dbat$HERMES_HOME/state.db(HERMES_HOMEdefaults to%LOCALAPPDATA%/hermeson Windows,~/.hermeselsewhere). Override with--state-db. - Python 3.10+ (stdlib only for both scripts).
- Optional, for cheaper and smarter digests: a local Ollama with
qwen3-embedding:0.6b(prompt dedupe) andqwen3:1.7b(per-session compression). Both are detected at runtime; without them the collector falls back to character-overlap dedupe and raw prompts. SetJOURNAL_LOCAL=offto skip the probe entirely. - The writer needs a journal file with a header; nothing else. Example:
memory/journal/journal.mdstarting with# 日记and two>lines.
How to Run
Collect what is owed (one digest per unmarked 04:00→04:00 window):
python scripts/journal_collect.py --config config/journal.json
Machine-readable, and forced to one window (this is how the tests and the linter get input):
python scripts/journal_collect.py --config config/journal.json --only 2026-10-25 --json
Write the entry with write_file/patch (append only), then lint it:
python scripts/journal_lint.py --digest digest.md --journal memory/journal/journal.md
Exit code 1 means an event is missing, the marker is absent, or the entry is over the ceiling.
--strict additionally fails on imagery, abstract wrap-ups and near-verbatim reuse.
Procedure
- Collect. Run the collector. It prints either
Nothing owed ...(stop, report that one line) or a digest with a## Window <date>block per owed window and one### <session>block per session. Completion criterion: you know the###count per window. - Write. For each window, oldest first: read the style file, then write one entry that names
every
###block in one inventory clause, spends the rest on feeling, and ends with<!-- window:YYYY-MM-DD -->. Append, never rewrite. Completion criterion: one new entry per window, each with a marker. - Lint. Run
scripts/journal_lint.py --journal <journal>against the digest markdown you collected. Completion criterion: exit 0 andcoverage N/Nequals the digest's###count. - Report. One line per window: date, character count, coverage.
Wire it to a schedule with cronjob_manage(action='create', ...): a file-toolset job whose
script is the collector and whose prompt is the writer contract in
references/writer-and-prompt.md. The 04:00 tick plus a catch-up run is in
references/deployment.md.
Quick Reference
| Task | Command |
|---|---|
| What is owed? | python scripts/journal_collect.py --config config/journal.json |
| One window as JSON | ... --only 2026-10-25 --json |
| Lint the newest entry | python scripts/journal_lint.py --digest d.md --journal journal.md |
| Lint, strict | ... --strict |
| Skip embeddings | python scripts/journal_lint.py ... --no-semantic |
| Tests | python -m unittest discover -s tests |
| Publish gate | python scripts/check_package.py |
Pitfalls
- "Summarize what happened in one sentence" destroys coverage. Measured on a 4-session day: a
prompt saying "one sentence about what was done" produced 0 of 4 events named; the same
digest with an explicit per-
###coverage rule produced 4 of 4. If entries feel thin, fix the prompt's structure, not the character ceiling — entries usually sit far below it. - Examples get cloned. A sample sentence in the prompt or style file reappears near-verbatim in later entries for weeks and homogenises the journal. Encode shape as fill-in slots and list banned tones instead.
- Style duplicated in two places always drifts. The style file is the single authority on voice; the cron prompt carries flow and coverage only.
- **The ladder is coverage > feeling > len
Установить agent-daily-journal в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл agent-daily-journal?
Write a daily journal from the agent's own activity.
Как установить скилл agent-daily-journal?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл agent-daily-journal запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic