Bucurenciu-Cristian

Claude User Input Logger — Development skill for Claude Code

Development community

A Claude Code hook that captures and logs all user inputs with timestamps and session tracking.

How to install Claude User Input Logger

This entry records only its repository, not the path inside it, so there is no exact command to give. Open Bucurenciu-Cristian/claude-user-input-logger and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Claude User Input Logger does

A Claude Code hook that captures and logs all user inputs with timestamps and session tracking.

Alternatives in Development

  • Claude Usage — A local dashboard for tracking your Claude Code token usage, costs, and session history 864 ★
  • /install-hook - Install Generated Hook To Settings — Install a generated hook to Claude Code settings (user-level or project-level) 618 ★
  • Taskmaster — Stop hook for Claude Code that keeps the agent working until all plans and user requests are 100% complete 494 ★

README

Claude User Input Logger 📋

A powerful and lightweight hook for [Claude Code](https://claude.ai/code) that captures and logs all your user inputs with timestamps, session tracking, and organized storage. Perfect for tracking your conversations, analyzing usage patterns, and maintaining a searchable history of your interactions with Claude.

[![Version](https://img.shields.io/badge/version-1.0.0-blue.svg)](https://github.com/Bucurenciu-Cristian/claude-user-input-logger) [![License](https://img.shields.io/badge/license-MIT-green.svg)](LICENSE) [![Python](https://img.shields.io/badge/python-3.6+-blue.svg)](https://python.org) [![Claude](https://img.shields.io/badge/Claude-Compatible-purple.svg)](https://claude.ai/code)

✨ Features

  • 🎯 Smart Message Extraction: Captures your actual messages from Claude Code conversation transcripts
  • ⏰ Timestamp Tracking: Every message logged with precise timestamps
  • 🔄 Session Management: Tracks different Claude Code sessions across restarts
  • 📊 Usage Statistics: Detailed analytics about your interactions and tool usage
  • 📅 Daily Logs: Separate daily log files for easy organization
  • 🔧 Configurable: Easy to customize logging behavior and retention policies
  • ⚡ Lightweight: Minimal performance impact on Claude Code
  • 🛡️ Safe: Fails gracefully without breaking Claude Code functionality

🚀 Quick Start

Installation

  1. **Clone this repository:**

    git clone https://github.com/Bucurenciu-Cristian/claude-user-input-logger.git
    cd claude-user-input-logger
  2. **Run the installation script:**

    chmod +x install.sh
    ./install.sh
  3. **Restart Claude Code** to activate the hook.

Manual Installation

  1. **Copy the hook file:**

    cp log-user-inputs.py ~/.claude/hooks/
    chmod +x ~/.claude/hooks/log-user-inputs.py
  2. **Update your Claude settings:** Add this configuration to `~/.claude/settings.json`:

    {
      "ho