Generate HTML file to view work session. Use when user asks to view content as HTML (e.g., 'view as HTML', 'export to HTML', 'create HTML file', 'save as HTML').
Generates an HTML report of your work session when you request to view or export as HTML. It asks about scope, collects conversation history and code changes, then opens the formatted report in your browser.
/plugin marketplace add devstefancho/claude-plugins/plugin install session-reporter-plugin@devstefancho-claude-pluginsThis skill is limited to using the following tools:
reference.mdtemplates/report.htmlGenerate an HTML file that visualizes your current work session, including conversation history, code changes, and execution results. The HTML file is automatically opened in your default browser.
Follow these steps to generate a session report:
Use the AskUserQuestion tool to determine what content to include:
Question: "What scope of session content should be included in the HTML?"
Options:
- "Last activity only" (most recent task/conversation)
- "Full session" (entire conversation from start)
- "Custom" (ask user to specify what to include)
Based on the user's choice, gather the following information:
Work Summary:
Conversation:
Code Changes:
Execution Results:
Use the template at templates/report.html to create the HTML file:
{{TITLE}} - Report title (e.g., "Session Report - 2025-11-15"){{TIMESTAMP}} - Generation timestamp{{SUMMARY}} - Work summary section{{CONVERSATION}} - Conversation content{{CHANGES}} - Code changes section{{RESULTS}} - Execution results section/tmp/session-report-{timestamp}.html
session-report-YYYYMMDD-HHMMSS.htmlsession-report-20251115-143022.htmlAfter generating the HTML file:
open /tmp/session-report-{timestamp}.html
file:///tmp/session-report-{timestamp}.html
Tell the user:
User: View as HTML
Claude: [Uses AskUserQuestion to confirm scope]
User: Last activity only
Claude: [Generates HTML with recent changes only, opens in browser]
User: Create an HTML file with the full session
Claude: [Uses AskUserQuestion to confirm]
User: Full session
Claude: [Generates comprehensive HTML with all conversation and changes]
<pre><code> tags