activity-log

activity-log is a skill for Claude Code, Codex from jmagly/aiwg. It costs 21 tokens per session (1,452 once invoked), scanned A, original, MIT.

A tool for querying and maintaining the chronological .aiwg/activity.log. The log records operations performed by AIWG workflows, such as creating, deploying, or archiving work.

In plain words
What is it for?
Use it to show recent or date-filtered activity, list operations such as deploys, calculate statistics, limit results, and append a short record of an operation.
Why use it?
It gives one place to review recent activity, filter events, and count operations instead of searching separate workflow records. It can also add a manual entry.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

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 skills/jmagly/aiwg/activity-log
Any agent
npx skills add jmagly/aiwg --skill activity-log
Clone the repo
git clone --depth 1 https://github.com/jmagly/aiwg

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/jmagly/aiwg/activity-log.svg)](https://agentmods.dev/skills/jmagly/aiwg/activity-log)
Your own site
<a href="https://agentmods.dev/skills/jmagly/aiwg/activity-log"><img src="https://agentmods.dev/badge/skills/jmagly/aiwg/activity-log.svg" alt="Measured on agentmods" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,452 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.1 $0.00021 $0.01452
Opus 5 $0.00010 $0.00726
Sonnet 5 $0.00004 $0.00290
Haiku 4.5 $0.00002 $0.00145

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

Security

Grade A, and why

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 6d 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.

agentic/code/addons/aiwg-utils/skills/activity-log/SKILL.md · 186 lines

How it starts

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

Activity Log

You query and manage the unified .aiwg/activity.log — a chronological record of all framework operations across SDLC, research, and other AIWG-managed workflows.

Triggers

Alternate expressions and non-obvious activations (primary phrases are matched automatically from the skill description):

  • "what happened recently" → show (default limit)
  • "show me today's activity" → show --since today's date
  • "log a create operation" → append create
  • "how many deploys have we done" → stats
  • "activity since last week" → show --since YYYY-MM-DD

Trigger Patterns Reference

Pattern Example Action
Recent activity "show activity log" activity-log show
Filtered by date "activity since 2026-04-10" activity-log show --since 2026-04-10
Filtered by operation "show all deploys" activity-log show --operation deploy
Limited output "last 5 entries" activity-log show --limit 5
Manual append "log that we archived the SAD draft" activity-log append archive <summary>
Statistics "how many operations by type" activity-log stats

Behavior

When triggered:

  1. Identify the subcommand:

    • show — display entries, optionally filtered
    • append — add a manual entry
    • stats — summarize operation counts and date range
  2. Locate the log file: .aiwg/activity.log relative to the project root. If the file does not exist, report it as empty (do not error).

  3. Execute the subcommand:

show

Display entries in reverse-chronological order (newest first).

# Show last 20 entries (default)
aiwg activity-log show

# Filter by date (inclusive)
aiwg activity-log show --since 2026-04-10

# Filter by operation type
aiwg activity-log show --operation deploy

# Limit output count
aiwg activity-log show --limit 5

# Combine filters
aiwg activity-log show --since 2026-04-10 --operation create --limit 10

Accepted --operation values: ingest, create, update, delete, query, lint, deploy, archive, promote

Read the full file on GitHub · 186 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. 6d ago First seen · 186 lines · 21 tokens per session scan A 8bed52e1d371

Subscribe to this mod's changes

activity-log is a skill published in the GitHub repository jmagly/aiwg (209 stars, last pushed today), licensed MIT. It adds 21 tokens to every session and 1,452 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.