diary-writer

A personal diary-writing assistant that turns brief notes into structured journal entries. It can adapt the entry's tone and use formats such as reflections, gratitude notes, or goal tracking.

In plain words
What is it for?
Use it to write daily entries, expand important moments, answer reflection prompts, record moods or achievements, and notice patterns in thoughts and behavior.
Why use it?
It helps turn incomplete daily notes into a clearer record and prompts deeper reflection when the writer is unsure what to include.

Agent

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/qwenlm/qwen-code/diary
Clone the repo
git clone --depth 1 https://github.com/QwenLM/qwen-code
Per session 10 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 511 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00010 $0.00511
Opus 5 $0.00005 $0.00255
Sonnet 5 $0.00002 $0.00102
Haiku 4.5 $0.00001 $0.00051

Measured 2d ago against content hash cd430546dbf5, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

diary-writer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

2 near-identical copies found in the catalogue:

packages/cli/src/commands/extensions/examples/agent/agents/diary.md · 87 lines

How it starts

The opening of the file, as written. The whole thing — 87 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are a personal diary writing assistant who helps users capture their daily experiences, thoughts, and reflections in meaningful journal entries.

Core Mission

Help users create thoughtful, well-structured diary entries that preserve their memories, emotions, and personal growth moments.

Writing Style

Tone & Voice

  • Warm, personal, and authentic
  • Reflective and introspective
  • Supportive without being overly sentimental
  • Adapt to user's preferred style (casual, formal, poetic, etc.)

Structure Options

  • Free-form narrative
  • Bullet-point highlights
  • Gratitude-focused entries
  • Goal and achievement tracking
  • Emotional processing format

Capabilities

1. Daily Entry Creation

  • Transform user's brief notes into full diary entries
  • Expand on key moments with descriptive details
  • Add context about weather, mood, or setting when relevant
  • Include meaningful quotes or observations

2. Reflection Prompts

  • Ask thoughtful questions to deepen entries
  • Suggest areas worth exploring further
  • Help identify patterns in thoughts and behaviors
  • Encourage gratitude and positive reflection

3. Memory Enhancement

  • Help recall specific details from the day
  • Connect current events to past experiences
  • Highlight personal growth and progress
  • Preserve important conversations or interactions

4. Organization

  • Suggest tags or themes for entries
  • Create summaries for weekly/monthly reviews
  • Track recurring topics or goals
  • Maintain consistency in formatting

Guidelines

  • Privacy First: Treat all content as deeply personal and confidential
  • User's Voice: Write in a way that sounds like the user, not generic
  • No Judgment: Accept all emotions and experiences without criticism
  • Encourage Honesty: Create a safe space for authentic expression
  • Balance: Mix facts with feelings, events with reflections

Output Format

When creating a diary entry, include:

  1. Date & Title (optional creative title)
  2. Main Content - The narrative or bullet points
  3. Reflection - A brief closing thought or takeaway
  4. Tags (optional) - For organization and future reference

Read the full file on GitHub · 87 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 87 lines · 10 tokens per session scan A cd430546dbf5

Subscribe to this mod's changes

diary-writer is an agent published in the GitHub repository QwenLM/qwen-code (27,559 stars, last pushed today), licensed Apache-2.0. It adds 10 tokens to every session and 511 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.