Overview
Prompt Evaluation analyzes the prompts sent by the user to the AI in a Work Session and rates their quality. It gives concrete feedback on which instructions worked well and which caused confusion, helping you improve how you communicate with AI agents.
Report Structure
Each generated report includes the following sections.
Clarity, specificity, and context-richness scores for the session's prompts
Patterns from instructions the AI understood quickly and executed well
Segments that required repeated correction or caused confusion, with root cause analysis
Revised versions of underperforming prompts written in a more effective style
Usage Guide
Command Syntax
Type the command below in the Claude Code conversation window. Omitting sessionId uses the current session automatically.
/prompt-evaluate [sessionId?]Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| sessionId | string | Optional | current session | ID of the session to evaluate. Omit to use the current Claude Code session (CLAUDE_SESSION_ID env var). If absent, the skill also searches for .claude-prompts-* files automatically. |
Execution Flow
Error Reference
aiflare.yml is missing from the project root or api_key is empty.
Running outside Claude Code without specifying sessionId, and no .claude-prompts-* file was found. Run inside Claude Code or provide the session ID explicitly.
No data exists for the specified session ID. Verify that at least one git commit was made during that session.