session-logging

Community

Capture every agent session with structured logs.

Authorj-mckerracher
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Agent session logging enables reliable, structured logs for every spawned agent in multi-agent workflows, reducing debugging time and ensuring auditable traces.

Core Features & Use Cases

  • Standard log file naming convention using {CHANGE-ID}/logs/{agent_name}/{YYYYMMDD_HHMMSS}_session.json
  • Required log fields including log_type, timestamp, change_id, iteration, session_summary, decisions_made, issues_encountered, and notes
  • Log content guidelines detailing input/output artifacts, librarian queries, and key decisions with rationale
  • Automated initialization via scripts/init-session-log.py to create properly named log files
  • Use Case: For every agent spawn in a workflow, generate and store a session log to support debugging and auditing

Quick Start

Run the init-session-log.py script to create a timestamped session JSON log under the change's logs directory.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: session-logging
Download link: https://github.com/j-mckerracher/agent-research/archive/main.zip#session-logging

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.