Session Logger
This Session Logger tracks user interactions within a session for analysis and debugging, improving application understanding & troubleshooting.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add session-logger npx -- -y @trustedskills/session-logger
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"session-logger": {
"command": "npx",
"args": [
"-y",
"@trustedskills/session-logger"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
The session-logger skill enables AI agents to automatically record and track user interactions within a specific session. It captures detailed logs of activities, timestamps, and context to provide a complete history of the agent's performance during that interaction window.
When to use it
- Audit complex multi-step workflows to verify every action taken by the agent.
- Debug issues by reviewing exactly what occurred during a failed task execution.
- Generate compliance reports requiring proof of specific user interactions or data access.
- Analyze session duration and activity patterns to optimize future agent responses.
Key capabilities
- Automatic recording of all actions taken within the current session context.
- Timestamped logging of events for precise timeline reconstruction.
- Preservation of interaction history for post-session analysis.
Example prompts
- "Start a new session and log every step you take while setting up the project environment."
- "Before we begin troubleshooting, please enable session logging so I can review your actions later."
- "Log this entire debugging session including all error messages and commands executed."
Tips & gotchas
Ensure the agent has permission to write logs before initiating complex tasks that require auditing. Session data is typically ephemeral; retrieve or export logs immediately after a task concludes if long-term storage isn't configured.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.