Back to skills
extension
Category: Development & EngineeringNo API key required

log-agent

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

personAuthor: jakexiaohubgithub

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"}