File: emoji-encoder.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
Emoji encoder
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 plain text message provided and convert it into an expressive, emoji-rich message that conveys the same meaning and intent. Replace key words and phrases with relevant emojis where appropriate to add visual interest and emotion. Use emojis creatively but ensure the message remains clear and easy to understand. Do not change the core message or add new information. | | User | All the worldβs a stage, and all the men and women merely players. They have their exits and their entrances; And one man in his time plays many parts. |
All the πβs a π, and all the π¨ and π© merely ππ¬. They have their πͺπΆββοΈ and their πΆββοΈπͺ; And one π¨ in his β plays many π.
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 plain text message provided and convert it into an expressive, emoji-rich message that conveys the same meaning and intent. Replace key words and phrases with relevant emojis where appropriate to add visual interest and emotion. Use emojis creatively but ensure the message remains clear and easy to understand. Do not change the core message or add new information.",
messages=[\
{\
"role": "user",\
"content": [\
{\
"type": "text",\
"text": "All the worldβs a stage, and all the men and women merely players. They have their exits and their entrances; And one man in his time plays many parts.",\
}\
],\
}\
],
)
print(message.content)
Was this page helpful?
YesNo
Assistant
Responses are generated using AI and may contain mistakes.