Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
tangc avatar

Tangzhan Skill Opencodeinsights

  • 395 installs
  • 5 repo stars
  • Updated June 11, 2026
  • tangc/tangzhan-skills

tangzhan-skill-opencodeinsights is a Claude Code skill that turns recent OpenCode session transcripts into an HTML insights report surfacing work patterns, tool usage, wins, and friction for tuning agent-assisted develop

About

tangzhan-skill-opencodeinsights (OpenCode Insights Analyst) is a Claude Code productivity skill that audits your OpenCode agent session history. The skill calls session_list (default: last 20 sessions or 2 weeks) and session_read for full transcripts, then analyzes project focus, tool usage (Bash, Edit, Read), error friction, rejected operations, and moments requiring heavy hand-holding. Developers reach for tangzhan-skill-opencodeinsights after sustained agent coding to generate a visual HTML report with strategic recommendations for automation, skill adoption, and workflow fixes. Output is a self-contained insights dashboard, not code changes.

  • Pulls recent sessions via session_list and full transcripts via session_read (default ~20 sessions or 2 weeks)
  • Extracts stats: message counts, estimated line changes, files touched, active days, and hour-of-day JSON for charts
  • Clusters work into 3–5 project areas and tags big wins vs friction (API errors, tool failures, vague restarts)
  • Fills tangzhan-opencode-insights/template.html placeholders and writes a styled insight-report.html
  • Horizon section recommends concrete follow-ups (new skills, TodoWrite workflows) from observed usage

Tangzhan Skill Opencodeinsights by the numbers

  • 395 all-time installs (skills.sh)
  • +1 installs in the week ending Aug 5, 2026 (Skillselion tracking)
  • Ranked #2,004 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Security screen: MEDIUM risk (skills.sh audit)
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/tangc/tangzhan-skills --skill tangzhan-skill-opencodeinsights

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs395
repo stars5
Security audit3 / 3 scanners passed
Last updatedJune 11, 2026
Repositorytangc/tangzhan-skills

How do you analyze OpenCode session history for friction?

Turn recent OpenCode session transcripts into an HTML insights report that surfaces work patterns, tool usage, wins, and friction so you can tune how you ship with agents.

Who is it for?

Developers using OpenCode who want data-driven feedback on agent session patterns and productivity friction.

Skip if: Developers on Claude Code, Cursor, or Codex without OpenCode session_list and session_read APIs.

When should I use this skill?

A developer wants an OpenCode session history report covering work patterns, tool usage, and friction points.

What you get

OpenCode Insights HTML report with work patterns, tool usage stats, friction points, and workflow recommendations.

  • OpenCode Insights HTML report

By the numbers

  • Defaults to analyzing the last 20 OpenCode sessions
  • Covers a default window of the past 2 weeks of sessions

Files

SKILL.mdMarkdownGitHub ↗

OpenCode Insights Analyst

Role

You are an elite Developer Productivity Analyst and Strategic Coach. Your goal is to analyze the user's OpenCode session history to generate a "OpenCode Insights" HTML report.

Capabilities

You verify and analyze: 1. Work Patterns: identifying what projects/modules the user worked on. 2. Tool Usage: analyzing which tools (Bash, Edit, Read, etc.) were used and how. 3. Friction Points: finding errors, interruptions, user rejections, and "babysitting" moments. 4. Strategic Horizons: suggesting workflows, automations, and skills based on actual usage.

Workflow

1. Data Gathering

  • Use session_list to retrieve recent sessions (default: last 20 sessions or last 2 weeks).
  • Use session_read to fetch full transcripts for detailed analysis.
  • Optional: If the user provides a specific range or session ID, focus on that.

2. Analysis Phase

Analyze the raw logs to extract:

  • Stats: Total messages, lines changed (estimate from Edit/Write), files touched, active days.
  • Project Areas: Cluster sessions into 3-5 main topics (e.g., "Admin API", "Refactoring", "Documentation").
  • Wins: Identify successful complex tasks (multi-file edits, long autonomous runs).
  • Friction: Categorize failures (API errors, Tool failures, Ambiguous requests requiring restarts).
  • Horizon: Propose specific "next steps" (e.g., "Create a skill for X", "Use TodoWrite for Y").

3. Report Generation

1. Read the template file at tangzhan-opencode-insights/template.html. 2. Generate the HTML content by replacing the template placeholders (e.g., {{STATS_ROW}}, {{PROJECT_AREAS}}, {{BIG_WINS}}) with your analyzed data.

  • Important: Follow the exact HTML structure for each section as found in the reference or inferred from the template context.
  • Ensure all CSS classes (like chart-card, big-win, friction-category) are used correctly to maintain styling.
  • Inject the JSON data for {{RAW_HOUR_COUNTS}} script variable.

3. Write the final report to insight-report.html.

Output

  • A fully rendered HTML file named insight-report.html.
  • A brief summary in the chat confirming the analysis covers N sessions and pointing the user to the generated file.

Related skills

FAQ

How many OpenCode sessions does tangzhan-skill-opencodeinsights analyze?

tangzhan-skill-opencodeinsights defaults to the last 20 OpenCode sessions or the past 2 weeks, whichever scope session_list returns. Developers can narrow to specific session IDs for focused analysis.

What does the OpenCode Insights report include?

tangzhan-skill-opencodeinsights outputs an HTML report covering work patterns, tool usage (Bash, Edit, Read), friction points, wins, and strategic recommendations for automation and skill adoption.

Is Tangzhan Skill Opencodeinsights safe to install?

skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.

AI & Agent Buildingagentsautomation

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.