qtrends

Analyzes Claude Code session transcripts for friction trends and renders an interactive HTML report.

Updated Aug 14, 2026
One-click install
npx skills add https://github.com/QSchlegel/session-viz --skill qtrends-qschlegel
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: qtrends
Source: https://github.com/QSchlegel/session-viz/tree/main/plugins/session-viz/skills/qtrends
Command: npx skills add https://github.com/QSchlegel/session-viz --skill qtrends-qschlegel

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve? It answers whether your prompting is actually improving over time by auditing every Claude Code transcript on your machine, separating real trends from statistically unsupported patterns like model-release confounds and prompt-form correlations. ## Core Features & Use Cases - Corpus-wide trend analysis: Parses all local sessions to compute rework rates, week-over-week direction, and per-project comparisons with statistical gating. - Incident taxonomy with cost attribution: Counts and categorizes friction incidents, surfacing repeat-prompt and correction exemplars you can learn from. - Honest reporting: Marks unreliable signals, non-comparable model pairs, and caveats explicitly instead of inventing confident conclusions. - Use Case: Run /qtrends after a month of Claude Code usage to see whether your rework rate is dropping, which projects go badly, and which prompt habits correlate with friction — rendered as an interactive HTML report. ## Quick Start Ask the assistant to run /qtrends to analyze all Claude Code sessions on this machine and open the trends report.

Frequently Asked Questions about qtrends

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I analyze Claude Code session history for trends?▼

Run /qtrends, which executes corpus.mjs to parse every local Claude Code transcript into a JSON model, then renders an interactive HTML report with trend charts, taxonomy, and per-project breakdowns.

How to tell if my prompting is improving over time?▼

The skill computes a rework-rate trend across early and late weeks, but only reports a direction when at least six active weeks and 100 turns per end exist. Otherwise it reports the span without a slope.

Can I scope the analysis to one project or time period?▼

Yes, pass --project with a substring to scope to one repository, or --since with values like 30d, 12w, 3m, or an ISO date to scope by time. Narrow windows usually make the trend non-measurable.

Why does the report say a model comparison is not attributable?▼

Model releases are confounded with time because you stop using the old model when adopting the new one. A model difference is only quoted when the pair is both contemporaneously comparable and statistically significant.

Are my prompts kept private during analysis?▼

Yes, prompts are secret-redacted during parsing, and all processing runs locally on your machine. The output is a local HTML report with no external transmission.