agent-activity-log

agent-activity-log is a skill for Claude Code, Codex from Kevin-Liu-01/Agent-Machines. It costs 99 tokens per session (1,248 once invoked), scanned A, original, MIT.

A project memory and activity log stored in a file named memory.md. It records useful history so agents can understand earlier work in later sessions.

In plain words
What is it for?
Use it to initialize project memory, read the existing history before making changes, and append meaningful updates afterward.
Why use it?
It reduces the need to rediscover project context each time an agent starts working.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions AGENTS.md.

Good fit Use it to initialize project memory, read the existing history before making changes, and append meaningful updates afterward.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kevin-liu-01/agent-machines/agent-activity-log
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.

Any agent
npx skills add Kevin-Liu-01/Agent-Machines --skill agent-activity-log
Clone the repo
git clone --depth 1 https://github.com/Kevin-Liu-01/Agent-Machines

Made for: Claude Code, Codex.

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 agent-activity-log

README.md
[![agentmods](https://agentmods.dev/badge/skills/kevin-liu-01/agent-machines/agent-activity-log/github.svg)](https://agentmods.dev/skills/kevin-liu-01/agent-machines/agent-activity-log)
Your own site
<a href="https://agentmods.dev/skills/kevin-liu-01/agent-machines/agent-activity-log"><img src="https://agentmods.dev/badge/skills/kevin-liu-01/agent-machines/agent-activity-log/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for agent-activity-log

Your own site · 80×15
<a href="https://agentmods.dev/skills/kevin-liu-01/agent-machines/agent-activity-log"><img src="https://agentmods.dev/badge/skills/kevin-liu-01/agent-machines/agent-activity-log.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 99 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,248 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00099 $0.01248
Opus 5 $0.00049 $0.00624
Sonnet 5 $0.00020 $0.00250
Haiku 4.5 $0.00010 $0.00125

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

Security

Grade A, and why

agent-activity-log 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 12d 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.

knowledge/skills/agent-activity-log/SKILL.md · 160 lines

How it starts

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

Agent Activity Log

Persistent agent memory for any project. Initializes a memory.md file and enforces the read-before-act, write-after-change discipline that makes multi-session agent work compound instead of reset.

See wiki/concepts/agent-activity-log.md for the full conceptual framework.

When to Use

  • Setting up a new project for AI-assisted development
  • Starting a session in a project that already has memory.md
  • User asks "what did we do last time" or "what's the project history"
  • User says "add agent memory", "set up logging", or "track changes"
  • Any project where agents will work across multiple sessions

Bootstrap Protocol

When initializing memory.md in a new project:

1. Check if memory.md already exists

ls memory.md 2>/dev/null || echo "No memory.md found"

If it exists, read it and summarize recent activity to the user. Do not overwrite.

2. Create memory.md

# Agent Activity Log

> Persistent memory for AI agents working on this project. Agents must read this
> file at session start and append after every meaningful change.

## Convention

- **Read first.** Before making changes, read this file to understand project history.
- **Append after changes.** Log decisions, state transitions, and open threads.
- **Never delete.** This file is append-only.
- **Skip noise.** Don't log formatting fixes, import reordering, or trivial typos.

---

3. Add the read/write constraint to project rules

Append to the project's .cursorrules, AGENTS.md, or .cursor/rules/ (whichever the project uses for agent configuration):

## Agent Memory

This project maintains a persistent agent activity log at `memory.md`.

**On every session start:** read `memory.md` to understand what has been done,
what decisions were made, and what open threads exist.

**After every meaningful change:** append an entry to `memory.md` with the format:

    ## [YYYY-MM-DD HH:MM] action-type | Title

    **Changed:** files touched
    **Why:** rationale
    **Decision:** what was chosen and why (if applicable)
    **Open:** unfinished items or follow-ups (if any)

Log decisions, state transitions, bug fixes, and new features. Skip formatting
fixes, import reordering, and trivial typos.

Read the full file on GitHub · 160 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. 12d ago First seen · 160 lines · 99 tokens per session scan A deecb3712195

Subscribe to this mod's changes

agent-activity-log is a skill published in the GitHub repository Kevin-Liu-01/Agent-Machines (29 stars, last pushed today), licensed MIT. It adds 99 tokens to every session and 1,248 once invoked, about $0.0005 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.

Related

Other skills, from other repositories

21-day-self-interview

A 21-night guided self-reflection routine in which an agent asks three questions each night, remembers the answers, and reflects on them at key points.

Forlives/21-day-self-interview · 68 tokens

mnemosyne

Persistent cross-session memory via Mnemosyne — store, recall, and consolidate facts, preferences, and context.

mnemosyne-oss/mnemosyne · 22 tokens

clawdi

API keys, tokens, memory, sessions, Projects, integrations. Use Clawdi Cloud when a task needs passwords or safe credential storage/provision, missing user memory or Project/Vault context, past conversations, Clawdi share URLs, or connected-service fallback such as Gmail, GitHub, Notion, Drive, or Calendar. Do not…

Clawdi-AI/clawdi · 88 tokens

hermes-mnemosyne

Mnemosyne is Hermes' primary local-first memory engine — SQLite with vector + FTS5 hybrid search, 19+ tools, auto-consolidation, and a standalone CLI. It's a pip-installed plugin (not a built-in toolset) discovered via $HERMESHOME/plugins/mnemosyne/.

AtlasOmnia/donna-starter · 30 tokens

cortex-navigate-knowledge

Navigate the knowledge graph — trace entity relationships, explore causal chains, drill into memory clusters, and traverse co-access paths. Use when the user asks 'how are these related', 'what connects X to Y', 'show me the knowledge graph', 'trace the relationship', 'what caused X', 'drill down into', 'explore…

cdeust/Cortex · 95 tokens

cortex-remember-global

Store a global memory that is visible across all projects. Use when the user shares architecture rules, coding conventions, infrastructure facts, security policies, team agreements, or any knowledge that applies beyond a single project. Triggers on 'remember this everywhere', 'this applies to all projects', 'global…

cdeust/Cortex · 99 tokens