Prompt Coach

Analyze Claude Code session logs for prompt quality, tooling usage, and coding patterns.

147|11|Updated Nov 9, 2025
One-click install
npx skills add https://github.com/hancengiz/claude-code-prompt-coach-skill --skill prompt-coach
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Prompt Coach
Source: https://github.com/hancengiz/claude-code-prompt-coach-skill/tree/main/.
Command: npx skills add https://github.com/hancengiz/claude-code-prompt-coach-skill --skill prompt-coach

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Developers using Claude Code often lack clear insights into their AI interactions, leading to suboptimal prompt quality, inefficient tool usage, and unoptimized costs. This Skill automates the analysis of your Claude Code session logs, providing actionable feedback to transform you into a more effective AI-native engineer.

Core Features & Use Cases

  • Elevate Prompt Quality: Get detailed feedback on your prompts, identifying areas for improvement to reduce clarifications and enhance AI responses.
  • Optimize Resource Usage: Track token consumption and costs, discover underutilized tools, and measure session efficiency to save time and money.
  • Understand Coding Patterns: Pinpoint your most productive hours, frequently edited files, and common error patterns to refine your workflow.
  • Use Case: Ask "Analyze my prompt quality from last week" to receive a personalized report with specific examples and recommendations, helping you write clearer, more effective prompts and accelerate your development.

Quick Start

Analyze my prompt quality from last week Show me my productivity patterns

Frequently Asked Questions about Prompt Coach

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

FAQPage Schema
How do I analyze my Claude Code session logs to improve prompt quality?

Prompt Coach analyzes your Claude Code session logs stored locally to identify areas where your prompts can be clearer and more effective. It provides detailed feedback with specific examples, helping you write prompts that reduce clarifications and get better AI responses faster.

What coding patterns and productivity insights can I get from my session logs?

Session log analysis reveals your most productive hours, frequently edited files, common error patterns, and context-switching frequency. These insights help you understand your workflow, identify hotspots, and refine your development habits for better efficiency.

How does analyzing Claude Code logs help optimize costs and token usage?

Prompt Coach tracks token consumption across your sessions, calculates costs, measures cache efficiency metrics, and identifies underutilized tools. This helps you understand spending patterns and discover ways to reduce costs without sacrificing productivity.

Can I analyze logs from multiple projects or focus on a single project?

Yes, Prompt Coach supports analyzing all local projects under ~/.claude/projects/, listing available projects, or targeting a single project for focused reports. You choose the scope based on what insights you need.

What actionable output does a session log analysis report include?

Reports include deduplication metrics, token accounting, cost breakdowns, productivity patterns, and generated templates based on your actual usage. Each report provides specific, actionable recommendations tied to your real Claude Code interactions.

Do I need special setup or dependencies to use session log analysis?

No external dependencies are required. Prompt Coach works directly with your existing Claude Code session logs stored locally, requiring only access to your ~/.claude/projects/ directory to begin analysis.