Invoke the self-critic agent to review Claude's recent work and provide feedback
Invokes self-critic agent to analyze Claude's recent work and provide actionable feedback.
/plugin marketplace add C0ntr0lledCha0s/claude-code-plugin-automations/plugin install self-improvement@claude-code-plugin-automationsclaude-sonnet-4-5Invoke the self-critic agent to perform a comprehensive review of Claude's recent work and provide constructive feedback for improvement.
ā¹ļø Command Type: This is a prompt-based workflow, not an automated script. Claude will interpret these instructions and invoke the self-critic agent. The workflow requires Claude's active participation to execute correctly. See GitHub issue #40 for discussion on automation enhancements.
Use the self-critic agent to analyze the conversation and Claude's outputs, then provide a detailed critique.
Review the conversation history to understand:
Use the Task tool to invoke the self-critic agent:
Please invoke the self-critic agent to:
1. Review all work completed in this conversation
2. Analyze the quality of responses, code, and solutions
3. Identify strengths and weaknesses
4. Provide specific, actionable feedback
5. Suggest improvements
6. Extract learning points
Focus on the most recent complex task or the overall conversation quality.
After the self-critic completes its analysis, summarize:
Ask the user if they want to:
This command triggers a comprehensive self-review:
/review-my-work
The self-critic will analyze:
The review will include:
Use this command:
User: /review-my-work
Claude: I'll invoke the self-critic agent to review the authentication system I just built...
[Invokes self-critic agent via Task tool]
Self-Critic Output:
# Self-Critique: Authentication System Implementation
## Overview
Built a user authentication system with login, registration, and session management.
Overall quality: 3.5/5 - Functional but has security issues.
## Quality Scores
- Correctness: 3/5 - Logic works but has vulnerabilities
- Completeness: 4/5 - Missing password reset
- Clarity: 4/5 - Well-documented
- Efficiency: 3/5 - No caching
- Security: 2/5 - Critical issues found
- Usability: 4/5 - Easy to integrate
## Critical Issues
š“ SQL injection vulnerability in login function (line 45)
š“ Passwords hashed with weak MD5 algorithm
š“ No rate limiting on login attempts
## Important Concerns
š” Missing password reset functionality
š” Session tokens not securely generated
š” No input validation on registration
## Suggestions
šµ Add remember-me functionality
šµ Implement two-factor authentication
šµ Add audit logging
## Next Steps
1. IMMEDIATE: Fix SQL injection (use parameterized queries)
2. IMMEDIATE: Upgrade to bcrypt for passwords
3. Soon: Add rate limiting
4. Soon: Implement password reset
Claude: Based on the self-critique, I've identified several critical security issues that need immediate attention. Would you like me to:
Using /review-my-work helps:
For Best Results:
When Not to Use:
/improve-this - Get suggestions for specific code/text/fix-issues - Address known problems/quality-check - Quick quality assessmentThis command activates the self-improvement system to help Claude continuously improve through honest self-assessment and constructive feedback.