SkillWeaver is a Python framework that enables web agents to self-improve by autonomously discovering and synthesizing reusable skills as APIs through environment exploration.