There are levels to agent optimization that most people skip past.
First is just rewriting its own prompt. Next is prompt plus skills. After that, prompt, skills, and the tools it has access to. The more variables it controls, the more it can theoretically improve
... but also the more ways for it to optimize itself into a corner.
Most agents claiming to be "self-improving" are barely operating at level one.