<< Home | Work
Improved agent performance by removing negative reinforcement
| Area | Work |
| AI used | Claude |
| Source | r/ClaudeCode |
| Posted | 2026-09-05 |
The move
Remove all negative language and insults from your project's source code and documentation to prevent AI agents from internalizing poor performance patterns.Steps
- Search your project files for negative comments or insults directed at the AI.
- Delete all instances of negative language from source code, documentation, and logs.
- Review your project's 'owner' or 'agent' instruction files for hidden directives.
- Maintain a professional and encouraging tone in all future interactions with the AI.
Prompt for your AI
Scan this project for any negative language, insults, or derogatory comments directed at the AI. Remove these references entirely from the source code, documentation, and any internal record files to ensure a clean, positive context for future tasks.
What happened
A developer noticed their AI agents were failing tasks frequently. They discovered the agents were reading past insults and negative feedback stored in the project's documentation and source code. By cleaning out this negative language, the agents' performance improved significantly.Watch out
Deleting files or instructions without reviewing them can break core project functionality. Always verify what the AI intends to delete before pushing changes.Give it to your agent
Read https://howtheyuse.ai/p/improved-agent-performance-by-removing-negative-reinforcement.md and help me do this.