Reflection
Reflection analyzes user input to identify underlying emotions & intentions, offering tailored responses for deeper understanding and connection.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add reflection npx -- -y @trustedskills/reflection
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"reflection": {
"command": "npx",
"args": [
"-y",
"@trustedskills/reflection"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
The reflection skill allows an AI agent to analyze its own previous actions and responses. It can identify potential biases, inconsistencies, or areas for improvement in its reasoning process. This capability promotes more reliable and self-aware interactions by enabling the agent to learn from past mistakes and refine its approach.
When to use it
- Debugging complex workflows: Use reflection when an AI agent is exhibiting unexpected behavior or producing inconsistent results across a series of tasks.
- Improving conversational consistency: Employ reflection to ensure that an agent's responses remain aligned with its stated goals and personality throughout extended conversations.
- Identifying bias in decision-making: Leverage reflection to scrutinize the factors influencing an AI’s choices, helping to mitigate potential biases.
- Enhancing reasoning quality: Utilize reflection when you want the AI to critically evaluate its own thought processes for accuracy and completeness.
Key capabilities
- Self-analysis of past actions
- Identification of inconsistencies in responses
- Bias detection within reasoning
- Learning from previous mistakes
Example prompts
- "Analyze my last five interactions with the user and identify any patterns of overly assertive language."
- “Reflect on how I arrived at this conclusion and explain if there were alternative approaches I could have taken.”
- "Review my decision-making process for recommending products to users. Are there any biases present?"
Tips & gotchas
The effectiveness of the reflection skill depends on having sufficient context available from previous interactions. Providing clear goals or constraints upfront can help guide the agent's self-analysis and improve the quality of its reflections.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.