journal

journal is a command for Claude Code from JubaKitiashvili/context-mem. It costs 20 tokens per session (195 once invoked), scanned A, original, MIT.

A command that displays the activity journal for the current and earlier coding-agent sessions. The journal records file edits, commands, and other actions.

In plain words
What is it for?
Use it to review recent work, show only edits or commands, and see summary counts for journal entries and touched files.
Why use it?
It makes it easier to see what changed or what actions were taken without checking each session separately.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the context-mem plugin — 1 skill, 6 commands, 5 hooks, 1 MCP server shipped together

Good fit Use it to review recent work, show only edits or commands, and see summary counts for journal entries and touched files.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/jubakitiashvili/context-mem/journal
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.

Clone the repo
git clone --depth 1 https://github.com/JubaKitiashvili/context-mem

Made for: Claude Code.

Or install context-mem, the plugin that ships this one along with the rest of its 1 skill, 6 commands, 5 hooks, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for journal

README.md
[![agentmods](https://agentmods.dev/badge/commands/jubakitiashvili/context-mem/journal.svg)](https://agentmods.dev/commands/jubakitiashvili/context-mem/journal)
Your own site
<a href="https://agentmods.dev/commands/jubakitiashvili/context-mem/journal"><img src="https://agentmods.dev/badge/commands/jubakitiashvili/context-mem/journal.svg" alt="Measured on agentmods" height="20"></a>
Per session 20 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 195 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00020 $0.00195
Opus 5 $0.00010 $0.00097
Sonnet 5 $0.00004 $0.00039
Haiku 4.5 $0.00002 $0.00019

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

Security

Grade A, and why

journal 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 8d 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.

commands/journal.md · 24 lines

What it actually says

Display the activity journal that tracks all actions performed across sessions.

  1. Read the journal file:

    .context-mem/journal.md
    
  2. If the file doesn't exist, tell the user: "No activity journal yet. The journal starts recording after your first tool use (edit, read, bash command)."

  3. If the file exists, present its contents organized by session:

    • Show the most recent 30 entries by default
    • Highlight EDIT entries (these show what code changed)
    • Group by time blocks if entries span multiple sessions
    • Show summary stats: total entries, files touched, edits made
  4. If the user asks for a specific filter (e.g., "show only edits" or "show bash commands"), filter accordingly.

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. 8d ago First seen · 24 lines · 20 tokens per session scan A e6ec9f7305f2

Subscribe to this mod's changes

journal is a command published in the GitHub repository JubaKitiashvili/context-mem (18 stars, last pushed 4mo ago), licensed MIT. It adds 20 tokens to every session and 195 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.