Refresh Android Studio Local Environment
Follow these steps to refresh Gemini in Android Studio's local environment, ensuring that agent skills are fully up-to-date.
Gemini in Android Studio expects skills to be located at ~/.agents/skills.
List Available Skills: Identify all Firebase skills available in the repository:
npx -y skills add firebase/agent-skills --listCheck Currently Installed Skills: Check the contents of the skills directory to see what is currently installed:
ls -la ~/.agents/skillsAdd Missing Skills: Use the
skillsCLI to add skills. If the CLI supports anandroid_studioagent identifier, you can run:npx -y skills add firebase/agent-skills --agent android_studio --skill "*" --yesIf the
skillsCLI does not support Android Studio directly, you can manually copy or symlink the desired skills from your local clone offirebase/agent-skillsto~/.agents/skills.Update Existing Skills: To update skills, you can try:
npx -y skills update --agent android_studio --yesIf manual installation was used, pull the latest changes from the
firebase/agent-skillsrepository and copy the updated files to~/.agents/skills.