Use this guide when Antigravity loads too many skills for the current task and starts failing with truncation, context, or trajectory-conversion errors.
Typical symptoms:
Use the activation scripts to keep the full library archived while exposing only the bundles or skills you need in the live Antigravity directory.
Examples:
./scripts/activate-skills.sh "Web Wizard" "Integration & APIs"
./scripts/activate-skills.sh --clear
./scripts/activate-skills.sh brainstorming systematic-debugging
What the script does:
skills/ tree into ~/.agents/skills_library~/.agents/skills--clear archives the current live directory first, then restores the selected setOptional environment overrides:
AG_BASE_DIR=/custom/antigravity ./scripts/activate-skills.sh --clear Essentials
AG_REPO_SKILLS_DIR=/path/to/repo/skills ./scripts/activate-skills.sh brainstorming
If Antigravity is stuck in a restart loop on Windows, use the Windows-specific recovery guide instead:
That guide covers the browser/app storage cleanup needed when the host keeps reopening the same broken session.