File: grading-guru.md | Updated: 11/15/2025
Agent Skills are now available! Learn more about extending Claude's capabilities with Agent Skills .
English
Search...
Ctrl K
Search...
Navigation
Prompt Library
Grading guru
Home Developer Guide API Reference Model Context Protocol (MCP) Resources Release Notes
On this page
Copy this prompt into our developer Console to try it for yourself!
| Role | Content | | --- | --- | | User | Evaluate the following two texts based on the given criteria: <br> <br>Text 1: <br>The sun was setting behind the mountains, casting a warm golden glow across the valley. The birds chirped their evening songs as the gentle breeze rustled through the leaves. It was a peaceful and serene moment, one that filled the heart with joy and contentment. <br> <br>Text 2: <br>The sunset was pretty. The birds were singing and the wind was blowing. It made me happy. <br> <br>Criteria: <br>1. Descriptive language and imagery <br>2. Sentence structure and variety <br>3. Emotional impact and engagement <br>4. Grammar and punctuation |
Based on the provided criteria, here is my evaluation of the two texts: Text 1:
Text 2:
Comparative Analysis:
Based on the evaluation, Text 1 performs significantly better than Text 2 in terms of descriptive language, imagery, sentence structure, variety, and emotional impact. Text 1 creates a vivid and immersive experience for the reader and demonstrates a higher quality of writing based on the given criteria, with its strong descriptive language, varied sentence structures, and effective emotional engagement. Text 2, while grammatically correct, lacks the descriptive richness and emotional impact present in Text 1.
Copy
import anthropic
client = anthropic.Anthropic( # defaults to os.environ.get("ANTHROPIC_API_KEY")
api_key="my_api_key",
)
message = client.messages.create(
model="claude-sonnet-4-5",
max_tokens=2000,
temperature=0,
messages=[\
{\
"role": "user",\
"content": [\
{\
"type": "text",\
"text": "Evaluate the following two texts based on the given criteria: \n \nText 1: \nThe sun was setting behind the mountains, casting a warm golden glow across the valley. The birds chirped their evening songs as the gentle breeze rustled through the leaves. It was a peaceful and serene moment, one that filled the heart with joy and contentment. \n \nText 2: \nThe sunset was pretty. The birds were singing and the wind was blowing. It made me happy. \n \nCriteria: \n1. Descriptive language and imagery \n2. Sentence structure and variety \n3. Emotional impact and engagement \n4. Grammar and punctuation",\
}\
],\
}\
],
)
print(message.content)
Was this page helpful?
YesNo
Assistant
Responses are generated using AI and may contain mistakes.