Deploying Skills in Antigravity
SkillCloud & infraDownloads, installs, and relocates new agent skills to the global Antigravity shared directory (`~/.gemini/config/skills/`) to make them available across all tools. Use when the user requests to download, install, import, setup, or update new agent skills, or asks to relocate installed skills.
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the Deploying Skills in Antigravity skill
What this skill tells your AI
The instructions your AI receives, as published by derailed-dash/dazbo-agent-skills in skills/deploy-skills-in-antigravity/SKILL.md and read by ahel’s review.
This skill provides a structured workflow for downloading, installing, and relocating new agent skills. It first checks for the availability of the find-skills skill to handle skill discovery, installation, or upgrades. If find-skills is unavailable, it falls back to direct CLI installation commands.
After installation or upgrade, if operating within an Antigravity environment (where ~/.gemini exists), it prompts the user to confirm whether they want the skills relocated to ~/.gemini/config/skills/ so they become available across all Antigravity tools.
Table of Contents
- Triggers
- Prerequisites
- Installation and Relocation Workflow
- OS-Specific Relocation Commands
- Verification Loop
Triggers
This skill MUST trigger whenever:
- The user asks to download, install, import, setup, or update a new agent skill.
- The user mentions adding a skill from a repository or a specific branch/commit.
- The user or agent refers to CLI commands such as
npx skills add,skills add,skills install, ornpx skills. - The user provides a repository URL (e.g.
https://github.com/...) and asks to "add" or "integrate" its skills.
Prerequisites
- Node.js: The system must have
npxavailable to run theskillstool. - Access Permissions: Ensure you have directory write permissions for
~/.agents/skills/and, if relocating,~/.gemini/config/skills/.
Installation and Relocation Workflow
Copy this checklist and track your progress:
Skill Deployment Progress:
- [ ] Step 1: Check for `find-skills` availability
- [ ] Step 2: Install or upgrade skills
- [ ] Step 3: Check for Antigravity environment and prompt user for relocation
- [ ] Step 4: Relocate skills (if confirmed)
- [ ] Step 5: Verify that files are correctly positioned
- [ ] Step 6: Sync & Register with `skills.json`
Step 1: Check for find-skills availability
Before initiating an installation or upgrade:
- Check if the
find-skillsskill is available in your active agent skills context. - If
find-skillsis present, use it for discovering, installing, or upgrading skills in Step 2. - If
find-skillsis NOT present, proceed to Step 2 using the direct CLI fallback commands detailed in this skill.
Step 2: Install or upgrade skills
Depending on find-skills availability:
- When
find-skillsIS available:- Delegate skill search, selection, installation, or updates to
find-skills. - For new skill installation: execute
npx skills add <package> -g -y(or specific repository URL/branch flags). - For skill upgrades: execute
npx skills update -g -y(ornpx skills check).
- Delegate skill search, selection, installation, or updates to
- When
find-skillsis NOT available:- Parse the user's request to identify the target repository URL, skill name, or branch.
- Execute direct CLI commands using
run_command:- Repository installation:
npx skills add https://github.com/username/repo-name -y -g - Specific skill installation:
npx skills add https://github.com/username/repo-name -y -g --skill skill-name - Skill upgrade:
npx skills update -g -y
- Repository installation:
Step 3: Check for Antigravity environment and prompt user for relocation
[!IMPORTANT] MANDATORY USER CONFIRMATION GATE You MUST STOP and ask the user using
ask_questionor a direct prompt before running any relocation script. Do NOT execute the relocation command until the user explicitly confirms.
Default skill installation via npx skills places files into ~/.agents/skills/.
Before relocating files:
- Check if
~/.geminiexists: Verify if the target environment is Antigravity by checking for the existence of~/.gemini(e.g.[ -d "$HOME/.gemini" ]on Linux/macOS orTest-Path "$HOME\.gemini"on Windows).- If
~/.geminidoes not exist, skip relocation. Installed skills will remain in~/.agents/skills/.
- If
- Prompt the User: If
~/.geminidoes exist, explicitly ask the user whether they want the newly installed/updated skills relocated to~/.gemini/config/skills/to make them available across all Antigravity tools.- If the user confirms: proceed to Step 4 to perform the relocation.
- If the user declines: leave the skills in
~/.agents/skills/.
Step 4: Relocate skills (if confirmed)
If the user confirmed relocation and ~/.gemini exists:
- Use the OS-specific relocation command detailed in the OS-Specific Relocation Commands section to move skills from
~/.agents/skills/to~/.gemini/config/skills/.
Step 5: Verify that files are correctly positioned
Perform the checks outlined in the Verification Loop to ensure the skill is functional and correctly placed.
Step 6: Sync & Register with skills.json
If operating in an Antigravity environment (~/.gemini exists) and skills were relocated to ~/.gemini/config/skills/:
- Check if
~/.gemini/config/skills.jsonexists. - Read
skills.jsonand check if the newly installed/updated skills are listed in theexcludearray. - For any newly relocated skill missing from
skills.json:- Prompt the user or evaluate context to decide whether the skill should be enabled by default (
"//skill-name") or disabled ("skill-name"). - Insert the skill into the
excludearray. - Sort the
excludearray alphabetically and write the updatedskills.jsonback to disk.
- Prompt the user or evaluate context to decide whether the skill should be enabled by default (
OS-Specific Relocation Commands
Depending on the operating system, execute the appropriate shell command or script:
Linux & macOS (Bash/Zsh)
Run this clean replacement script. It removes any existing versions in ~/.gemini/config/skills/ before moving the newly installed versions:
mkdir -p "$HOME/.gemini/config/skills/" && [ -d "$HOME/.agents/skills" ] && for d in "$HOME/.agents/skills"/*/; do [ -d "$d" ] && rm -rf "$HOME/.gemini/config/skills/$(basename "$d")" && mv "$d" "$HOME/.gemini/config/skills/"; done
Windows (PowerShell)
If operating on a Windows host environment, run the following PowerShell command:
$sourceDir = "$HOME\.agents\skills"
$destDir = "$HOME\.gemini\config\skills"
if (-not (Test-Path $destDir)) { New-Item -ItemType Directory -Path $destDir -Force }
Get-ChildItem -Path $sourceDir -Directory | ForEach-Object {
$target = Join-Path $destDir $_.Name
if (Test-Path $target) { Remove-Item -Path $target -Recurse -Force -ErrorAction SilentlyContinue }
Move-Item -Path $_.FullName -Destination $destDir -Force
}
Verification Loop
Before completing the task, the agent MUST run the following verification sequence:
1. Folder Existence and Relocation Verification
Confirm the skill directory path (either ~/.gemini/config/skills/ if relocated, or ~/.agents/skills/ if not):
- Linux/macOS:
ls -la ~/.gemini/config/skills/(orls -la ~/.agents/skills/) - Windows:
Get-ChildItem "$HOME\.gemini\config\skills"(orGet-ChildItem "$HOME\.agents\skills")
2. Frontmatter & Integrity Check
Verify that the SKILL.md file exists in the target directory and has a valid YAML frontmatter block:
- Command: Read the first 10 lines of
SKILL.mdand confirm it starts with---and contains validnameanddescriptionkeys.
3. Subdirectory Validation
For complex skills, ensure that nested folders (such as references/, evals/, or scripts/) are present and populated:
- Command: Verify that critical folders are present and not empty.
4. Global Registry Check
Confirm the Skills CLI successfully registers and lists the skill:
- Command:
npx skills ls -g(ornpx skills ls -g --json) - Success Criteria: The output must list the skill name alongside its absolute path.
5. Permission & Readability Check
Ensure that the skill files are readable by the active shell process to prevent loader failures during execution.
Signals
- GitHub stars
- 24
- Forks
- 2
- Last commit
- Sep 2026
Advanced
- Catalog kind
- skill
- Gateway key
deploy-skills-in-antigravity- Source
- github.com/derailed-dash/dazbo-agent-skills