activity

A command for viewing or managing a captured activity log that records actions such as edits, file creation, and shell commands.

In plain words
What is it for?
Use it to view recent entries, clear the log after confirmation, or see activity statistics by tool and time range.
Why use it?
It makes recent work and tool usage easier to inspect when you need a record of what happened.

Command

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/sukinshetty/nemp-memory/activity
Clone the repo
git clone --depth 1 https://github.com/SukinShetty/Nemp-memory
Per session 4 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 531 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.00004 $0.00531
Opus 5 $0.00002 $0.00266
Sonnet 5 $0.00001 $0.00106
Haiku 4.5 $0.00000 $0.00053

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

Security

Grade A, and why

activity 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 3d 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/activity.md · 85 lines

What it actually says

/nemp-pro:activity

View or manage the captured activity log.

Usage

/nemp-pro:activity          # View recent activities
/nemp-pro:activity --clear  # Clear the activity log
/nemp-pro:activity --stats  # Show activity statistics

Instructions

1. Read Activity Log

Read .nemp-pro/activity.log file. If it doesn't exist, inform user that no activities have been captured yet.

2. Handle Arguments

Default (no argument): Display the activity log in a readable format:

Activity Log (12 entries)

Recent Activities:
  2026-01-30 15:45 | Bash   | git commit -m 'Add auth'
  2026-01-30 15:40 | Edit   | src/middleware/auth.ts (modified)
  2026-01-30 15:35 | Write  | src/auth/refresh.ts (created)
  2026-01-30 15:32 | Bash   | npm test
  2026-01-30 15:30 | Edit   | src/auth/login.ts (modified)

Showing last 20 entries. Total: 12

For --clear: Ask for confirmation using AskUserQuestion, then delete .nemp-pro/activity.log if confirmed.

Activity log cleared. 12 entries removed.

For --stats: Analyze the activity log and show statistics:

Activity Statistics

Total entries: 45
Time range: 2026-01-28 to 2026-01-30

By Tool:
  Edit:  28 (62%)
  Write:  8 (18%)
  Bash:   9 (20%)

Most Modified Files:
  1. src/auth/login.ts (7 times)
  2. src/middleware/auth.ts (5 times)
  3. src/utils/token.ts (4 times)

Common Commands:
  1. git commit (5 times)
  2. npm test (3 times)
  3. npm install (1 time)

3. Empty State

If no activity log exists or is empty:

No activities captured yet.

Enable auto-capture: /nemp-pro:auto-capture on
  • /nemp-pro:auto-capture - Toggle auto-capture on/off
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. 3d ago First seen · 85 lines · 4 tokens per session scan A 5266e31e52c6

Subscribe to this mod's changes

activity is a command published in the GitHub repository SukinShetty/Nemp-memory (128 stars, last pushed 2mo ago), licensed MIT. It adds 4 tokens to every session and 531 once invoked, about $0.0000 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.