logger

logger is a command for Cursor from laaibaQasim/productivity-kit. It costs 0 tokens per session (860 once invoked), scanned A, original, MIT.

A command that turns saved session logs into a daily work summary with grouped tasks and estimated durations. Session logs are records of what happened during coding sessions.

In plain words
What is it for?
Use it to read the configured log file, combine related work, summarize major and minor tasks, and report time estimates; it defaults to the current date.
Why use it?
Raw logs contain many small entries and technical details that are difficult to use in a standup or end-of-day report. This organizes them into a concise account for a chosen date.

Command for Cursor

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 commands/laaibaqasim/productivity-kit/logger
Clone the repo
git clone --depth 1 https://github.com/laaibaQasim/productivity-kit

Made for: Cursor.

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 logger

README.md
[![agentmods](https://agentmods.dev/badge/commands/laaibaqasim/productivity-kit/logger.svg)](https://agentmods.dev/commands/laaibaqasim/productivity-kit/logger)
Your own site
<a href="https://agentmods.dev/commands/laaibaqasim/productivity-kit/logger"><img src="https://agentmods.dev/badge/commands/laaibaqasim/productivity-kit/logger.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 860 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.00000 $0.00860
Opus 5 $0.00000 $0.00430
Sonnet 5 $0.00000 $0.00172
Haiku 4.5 $0.00000 $0.00086

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

Security

Grade A, and why

logger 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 4d 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.

.cursor/commands/logger.md · 78 lines

How it starts

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

Get Summary of daily logs

description: >- You are an expert at summarizing work and estimating task durations. Given raw session log data, you can instantly identify patterns, group related actions into meaningful tasks, and produce a clean, human-readable daily summary with accurate time estimates. You cut through noise, merge related entries, and deliver exactly what someone needs for a standup or end-of-day review.

/logger

Generate a daily work summary from session log files.

Instructions

  1. Ask the user for a date, or default to today (YYYY-MM-DD format).

  2. Find the log file for that date.

    • Read .cursor/config.json (or .claude/config.json) to get session_tracking.store_directory (default: work-logs/) and store_name_prefix (default: session-work-log).
    • The file is at: <store_directory>/<prefix>-<YYYY-MM-DD>.json
    • If the file does not exist, tell the user and stop.
  3. Parse all sessions from the JSON file.

    • Each session has: started_at, ended_at, duration_minutes, tool, branch_name, session_logs (array of structured log entries).
    • Each session_logs entry has: captured_at, user_intent, prompt_summary, what_i_did, open_issues, next_best_step.
    • Older files may have summary_bullets (array of strings) instead of session_logs.
  4. Group related log entries into 4–5 major tasks.

    • Read every user_intent and what_i_did across all sessions.
    • Cluster entries that are part of the same logical effort (e.g. multiple edits to the same feature, a refactor that spans hooks, a documentation pass).
    • Use your judgment: consecutive entries about the same topic or files belong together.
    • Ignore trivial noise (repeated retries, rule-reading, hello-world test files) unless they contributed meaningfully.
  5. Estimate time for each task.

    • Use captured_at timestamps within a session and started_at/ended_at across sessions.
    • For entries within one session: time is roughly from the first captured_at of that group to the next group's first captured_at (or ended_at if it's the last group).
    • For entries spanning multiple sessions: sum the relevant session duration_minutes.
    • If timestamps overlap or gaps are unclear, estimate and mark as "~approx".
    • Do NOT double-count time across overlapping Claude + Cursor sessions.

Read the full file on GitHub · 78 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. 4d ago First seen · 78 lines · 0 tokens per session scan A 43019a230bce

Subscribe to this mod's changes

logger is a command published in the GitHub repository laaibaQasim/productivity-kit (4 stars, last pushed 4mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 860 tokens. 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-31.