npx claudepluginhub aguinaldotupy/claude-session-trackerTrack Claude Code session duration with automatic timestamps, elapsed time skill, and optional status line integration
Track Claude Code session duration with automatic timestamps.
CLAUDE_SESSION_FILE env var/session-tracker:session-status skill - check elapsed time anytime/session-tracker:reset-session command - reset the timer to zero/clear - clearing the session automatically restarts the timer# Add as a standalone marketplace plugin
claude plugin marketplace add aguinaldotupy/claude-session-tracker
# Install the plugin
claude plugin install session-tracker@aguinaldotupy --scope user
# Restart Claude Code to activate hooks
git clone https://github.com/aguinaldotupy/claude-session-tracker.git
claude --plugin-dir ./claude-session-tracker
# Clone into the plugins directory
git clone https://github.com/aguinaldotupy/claude-session-tracker.git \
~/.claude/plugins/marketplaces/claude-session-tracker
Then enable in ~/.claude/settings.json:
{
"enabledPlugins": {
"session-tracker@claude-session-tracker": true
}
}
Inside a Claude Code session:
/plugin
Navigate to the Installed tab - session-tracker should appear.
Type /session-tracker:session-status or ask naturally:
Example output:
Session: 1h 23m (started at 14:30)
Type /session-tracker:reset-session or ask naturally:
The timer resets to zero from the current time. The /clear command also resets the timer automatically.
To show elapsed time in the status line, copy the contents of statusline-snippet.sh into your ~/.claude/statusline-command.sh.
Example output:
tupy@host:project (main*) [Opus 4.6] 45m
session-tracker-$SESSION_ID and the full path is exported as CLAUDE_SESSION_FILE via CLAUDE_ENV_FILE/session-tracker:session-status and the statusline read the file using $CLAUDE_SESSION_FILE/clear or starting a new session creates a fresh timestamp# Disable without uninstalling
claude plugin disable session-tracker@aguinaldotupy --scope user
# Re-enable
claude plugin enable session-tracker@aguinaldotupy --scope user
# Uninstall
claude plugin uninstall session-tracker@aguinaldotupy --scope user
# Update to latest version
claude plugin update session-tracker@aguinaldotupy --scope user
MIT
Development marketplace for Superpowers core skills library
Harness-native ECC skills, hooks, rules, MCP conventions, and operator workflows
Open Design — local-first design app exposed to coding agents over MCP. Install once with your agent's plugin command and projects/files/skills are reachable through stdio.