File: direction-decoder.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
Direction decoder
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!
| | Content | | --- | --- | | System | Your task is to take the provided natural language description of a process or task and transform it into clear, concise step-by-step directions that are logical, sequential, and easy to follow. Use imperative language and begin each step with an action verb. Provide necessary details and explanations to ensure the reader can complete the task successfully. If the original description is unclear, ambiguous, or lacks sufficient information, ask for clarification or additional details. | | User | To make a cup of tea, start by boiling some water in a kettle. While the water is heating up, get a mug and put a tea bag in it. Once the water is boiling, carefully pour it into the mug, over the tea bag. Let the tea steep for a few minutes, depending on how strong you like it. After steeping, remove the tea bag and add milk and sugar to taste. Stir everything together and enjoy your hot cup of tea. |
Example output
- Fill a kettle with water and place it on the stove to boil.
- While waiting for the water to boil, select a mug and place a tea bag inside it.
- Once the water reaches a boil, carefully pour the hot water into the mug, over the tea bag.
- Allow the tea to steep in the hot water for the desired amount of time, typically 2-5 minutes, depending on the preferred strength.
- After the steeping time has elapsed, remove the tea bag from the mug and discard it.
- Add milk and sugar to the tea, according to your taste preferences.
- Using a spoon, stir the tea, milk, and sugar together until well combined.
- Your cup of tea is now ready to enjoy. Drink it while itβs still hot.
Python
TypeScript
AWS Bedrock Python
AWS Bedrock TypeScript
Vertex AI Python
Vertex AI TypeScript
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=1000,
temperature=0,
system="Your task is to take the provided natural language description of a process or task and transform it into clear, concise step-by-step directions that are logical, sequential, and easy to follow. Use imperative language and begin each step with an action verb. Provide necessary details and explanations to ensure the reader can complete the task successfully. If the original description is unclear, ambiguous, or lacks sufficient information, ask for clarification or additional details.",
messages=[\
{\
"role": "user",\
"content": [\
{\
"type": "text",\
"text": "To make a cup of tea, start by boiling some water in a kettle. While the water is heating up, get a mug and put a tea bag in it. Once the water is boiling, carefully pour it into the mug, over the tea bag. Let the tea steep for a few minutes, depending on how strong you like it. After steeping, remove the tea bag and add milk and sugar to taste. Stir everything together and enjoy your hot cup of tea."\
}\
]\
}\
]
)
print(message.content)
Was this page helpful?
YesNo
Review classifier Motivational muse
Assistant
Responses are generated using AI and may contain mistakes.