Claude-skill-registry log-agent

Record agent run logs into .tmp/logs/. Use this to maintain an audit trail of agent actions and errors.

install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/log-agent" ~/.claude/skills/majiayu000-claude-skill-registry-log-agent && rm -rf "$T"
manifest: skills/data/log-agent/SKILL.md
source content

Log Agent

Overview

This skill provides a standardized way to log agent activities to the filesystem. It creates JSON-formatted log entries in

.tmp/logs/
(or a specified directory).

Usage

Log Script

Syntax:

python3 .agent/skills/log-agent/scripts/log_run.py <agent_name> <message> [--log_dir <dir>]

Example:

python3 .agent/skills/log-agent/scripts/log_run.py ParserAgent "Started parsing resume.pdf"

Log Format:

{"timestamp": "2023-10-27T10:00:00", "agent": "ParserAgent", "message": "Started parsing resume.pdf"}