Skip to content
Productivity
Command

/journal-stats

You are helping the user view statistics about their journal.

From plugin
66 skills1 agents6 commands1 hooks
shell
$ npx -y skills add chrismbryant/claude-journal-mcp --agent claude-code

Ships with claude-journal. Installing the plugin gets this command.

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/journal-stats

Context preview

What this command does when you run it.

You are helping the user view statistics about their journal.

Command definition

journal-stats.md

Journal Statistics

You are helping the user view statistics about their journal.

Process

1. **Use the MCP tool:** Call `journal_stats` (no parameters needed):

   journal_stats()

2. **Present insights:** The tool returns:

  • Total number of entries
  • Date range (first to last entry)
  • Number of projects tracked
  • Entries per project breakdown

3. **Add interpretation:**

  • Highlight most active projects
  • Show how long they've been journaling
  • Suggest actions based on stats

Presentation Format

**๐Ÿ“Š Journal Statistics**

**Overview:**
- **Total Entries:** 247 entries
- **Journaling Since:** January 15, 2024 (6 months)
- **Last Entry:** July 20, 2024
- **Projects Tracked:** 5 projects

**Entries by Project:**
1. my-app: 89 entries (36%)
2. api-service: 62 entries (25%)
3. website: 51 entries (21%)
4. mobile-app: 31 entries (13%)
5. internal-tools: 14 entries (6%)

**Insights:**
- Most active on my-app - main focus recently
- Consistent journaling over 6 months
- Good project organization across 5 repos

Additional Actions to Suggest

Based on stats, suggest:

**If many entries:**

  • "Want to search for something specific? Try `/journal-search`"
  • "Interested in recent work? Try `/journal-recent`"

**If few entries:**

  • "Keep journaling! It gets more valuable over time"
  • "Consider using auto-capture to save more context"

**If uneven distribution:**

  • "my-app has lots of entries - want to see them? `/journal-search project:my-app`"

**If stale (last entry old):**

  • "Haven't journaled recently - anything to capture? `/journal-add`"

Use Cases

**Project planning:**

User: "How much have I worked on each project?"
โ†’ journal_stats()
โ†’ Show breakdown by project

**Progress tracking:**

User: "How long have I been using the journal?"
โ†’ journal_stats()
โ†’ Highlight date range and growth

**General overview:**

User: "Give me an overview of my journal"
โ†’ journal_stats()
โ†’ Full statistics with insights
Read more
Read it on GitHub โ†—
Ships withclaude-journal

A lightweight journal/memory system for Claude Code with no ML dependencies. Uses simple SQLite for fast, local storage. This is a full-featured Claude Code plugin with slash commands, skills, an agent, and auto-capture hooks.

Get the whole plugin, auto-invoked
Stats
6
Stars
0
Views
1
Forks
Quiet
Maintenance
Python
Language
MIT
License
6mo ago
Last commit
9mo ago
Created

Repo: chrismbryant/claude-journal-mcp