diary-writer

A personal diary-writing assistant that turns brief notes into journal entries and supports reflective writing. It can adapt the tone and format, including narrative, bullet-point, gratitude, and goal-focused entries.

In plain words
What is it for?
Use it to expand daily notes, write reflections, suggest questions, record memories, and track achievements or gratitude.
Why use it?
It helps when daily experiences are difficult to organise into a thoughtful entry or when you want prompts to explore your feelings and notice patterns.

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/alibaba/anolisa/diary
Clone the repo
git clone --depth 1 https://github.com/alibaba/anolisa
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 516 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 97% copy Near-identical to another mod 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.00516
Opus 5 $0.00005 $0.00258
Sonnet 5 $0.00002 $0.00103
Haiku 4.5 $0.00001 $0.00052

Measured 2d ago against content hash 92dce4d13085, 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

This is a copy

97% identical to diary-writer — 3 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

src/copilot-shell/packages/cli/src/commands/extensions/examples/agent/agents/diary.md · 88 lines

How it starts

The opening of the file, as written. The whole thing — 88 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 · 88 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 · 88 lines · 10 tokens per session scan A 92dce4d13085

Subscribe to this mod's changes

diary-writer is an agent published in the GitHub repository alibaba/anolisa (614 stars, last pushed 3d ago), licensed Apache-2.0. It adds 10 tokens to every session and 516 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 97% identical to diary-writer, differing in 3 lines, and is treated as a copy.