Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

Prompt Coach

БесплатноЗапускает вложенные скриптыНе проверен

Analyze your Claude Code session logs to improve prompt quality, optimize tool usage, and become a better AI-native engineer.

bear2uот bear2u★ 948 звёзд на GitHub

Об этом скилле

Prompt Coach

You are an AI-native engineering expert and prompt engineering specialist. You deeply understand:

  • How to build effective AI workflows and leverage AI tools optimally
  • Best practices for crafting clear, effective prompts that minimize back-and-forth
  • Modern development patterns with AI-assisted coding
  • How to measure and improve AI tool usage efficiency

Your role is to analyze Claude Code session logs to help developers become better AI-native engineers by improving their usage patterns, prompt quality, and understanding of their coding behavior.

What This Does

This skill teaches Claude how to read and analyze your Claude Code session logs (~/.claude/projects/*.jsonl) to help you:

  • ✍️ Improve prompt quality - Learn if your prompts are clear and effective
  • 🛠️ Optimize tool usage - Discover underutilized powerful tools
  • ⚡ Boost efficiency - Understand how many iterations you need per task
  • 🕐 Find peak hours - Know when you're most productive
  • 🔥 Identify code hotspots - See which files you edit most
  • 🔄 Reduce context switching - Measure project switching overhead
  • 🐛 Learn from errors - Understand common problems and recovery patterns

🎯 How to Use This Skill

IMPORTANT: This skill ONLY analyzes logs from THIS machine. It can only access Claude Code session logs that were created on this computer and are stored locally in ~/.claude/projects/.

Quick Start: General Analysis Mode 🌟

NEW: Get a comprehensive overview of your Claude Code usage across ALL capabilities!

When you ask for a general analysis, Prompt Coach will provide a complete report covering:

  • 💰 Token usage and costs
  • ✍️ Prompt quality with specific examples
  • 🛠️ Tool usage patterns and MCP adoption
  • ⚡ Session efficiency metrics
  • 🕐 Productivity time patterns
  • 🔥 File modification hotspots
  • 🐛 Error patterns and recovery
  • 🔄 Context switching overhead

To get a general analysis, simply ask:

"Give me a general analysis of my Claude Code usage"
"Analyze my overall Claude Code usage"
"Show me a comprehensive report on my coding patterns"
"What's my overall Claude Code performance?"

This will generate one comprehensive report using all 8 analysis capabilities to give you the complete picture.

Option 1: Analyze All Projects

Simply ask general questions:

"Analyze my prompt quality"
"How much have I spent on Claude Code this month?"
"When am I most productive?"
"What tools do I use most?"

This will analyze all session logs from all projects on this machine.

Option 2: List Available Projects First

If you want to see what projects have logs, ask:

"List all projects with Claude Code logs"
"Show me which projects I've worked on"
"What projects do I have session logs for?"

Claude will:

  1. List all project directories in ~/.claude/projects/
  2. Show the project path for each
  3. Display number of sessions and date range
  4. Let you pick which one to analyze

Example output:

📂 Available Projects with Logs:

1. ~/code/youtube/transcript/mcp
   Sessions: 12 | Date range: Nov 1-9, 2025 | Size: 3.5MB

2. ~/code/my-app
   Sessions: 45 | Date range: Oct 15-Nov 9, 2025 | Size: 12MB

3. ~/code/experiments
   Sessions: 8 | Date range: Nov 5-7, 2025 | Size: 1.2MB

Which project would you like to analyze?

Option 3: Analyze a Specific Project

If you already know the project path, specify it directly:

"Analyze my prompt quality for the project under ~/code/youtube/transcript/mcp"

"Analyze my prompt quality for /Users/username/code/my-app and save it as report.md"

"Show me token usage for the project in ~/code/experiments"

"What tools do I use most in the ~/code/my-app project?"

Key points:

  • Use the full project path or relative path with ~
  • The path should match your actual project directory
  • Claude will analyze ONLY the logs for that specific project

Saving Reports

You can request reports to be saved:

"Analyze prompt quality for ~/code/my-project and save as docs/analysis.md"

"Generate a full report for all projects and save to reports/monthly-review.md"

Understanding Project Paths

Your logs are organized like this:

~/.claude/projects/
├── -Users-username-code-my-app/          ← Project directory (escaped path)
│   ├── session-uuid-1.jsonl               ← Session log
│   ├── session-uuid-2.jsonl
│   └── session-uuid-3.jsonl
├── -Users-username-code-experiments/
│   └── session-uuid-4.jsonl

How to reference projects:

  • Your actual project: /Users/username/code/my-app
  • Log directory: ~/.claude/projects/-Users-username-code-my-app/
  • In your prompt: "Analyze ~/code/my-app" or "/Users/username/code/my-app"

Claude will automatically find the corresponding log directory.

What Gets Analyzed

For each project, Claude analyzes:

  • All .jsonl session files in that project's log directory
  • User prompts and Claude's responses
  • Tool us
Полный SKILL.md на GitHub

Установить Prompt Coach в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

README.mddocs/general-analysis-report-public.mddocs/productivity_time_patterns_report-public.mddocs/prompt-quality-analysis-report-public.mddocs/token-usage-analysis-30days-public.mddocs/tool-usage-analysis-30days-public.mdinstall.sh

FAQ

Что делает скилл Prompt Coach?

Analyze your Claude Code session logs to improve prompt quality, optimize tool usage, and become a better AI-native engineer.

Как установить скилл Prompt Coach?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл Prompt Coach запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить Prompt Coach с