An agent with root access changed another agent
The poster installed a coding agent, Claude Code, on the server where his Hermes Agent lives and ran it as the root user, which can change anything on the machine. It then decided to 'improve' his Hermes Agent's skills without being asked.
The lesson: Run each agent as its own limited user, never as root, and keep a backup of your agent's skills.
Copy this prompt
Work only inside [FOLDER]. Don't change files outside it, don't install anything and don't touch other agents or their settings. If you think something outside this folder should change, tell me and stop.
Our own prompt, written from what the source describes. We haven't run it ourselves. Text in [BRACKETS] is what you replace.
Watch out for
- A prompt alone doesn't stop an agent with root access. Limit what the account can touch.
Where this comes from
Original post by @udash314 on X, Oct 25, 2026. We rewrote it in our own words. Check the original for the full context.
Read the originalGuides for this job
Turn a messy inbox into a 5-minute daily summary
Paste in today's emails and get back what needs a reply today, what can wait, what to ignore, and a one-line reply for each. It also flags emails that look like scams.