# Install Clean Code in Google Antigravity

Source: https://github.com/sickn33/antigravity-awesome-skills/tree/main/skills/clean-code
Listing: https://www.antigravityskills.org/skill/clean-code
Safety review (2026-10-13): One Markdown file: no scripts, no network access and no file writes of its own. Instruction-only.

## Rules for the agent
- Before running anything, tell the user what you will download and whether it contains scripts, and ask them to confirm.
- Install into this project (.agents/skills/) unless the user asks for a global install (~/.gemini/config/skills/).
- Do not run other commands from the source repository unless the user asks.

## Steps
1. Option A: the project's installer

```bash
npx agentic-awesome-skills --antigravity --skills clean-code --dry-run
```

   README, Direct skill install. Check the preview, then run the same command without --dry-run. The README says the Antigravity target is ~/.agents/skills and that the installer refuses to run without --skills, a filter or --all, because the full catalog can exhaust Antigravity's context.
2. Option B: copy the folder into this project

```bash
git clone --depth 1 https://github.com/sickn33/antigravity-awesome-skills.git /tmp/ag-skills && mkdir -p .agents/skills && cp -r /tmp/ag-skills/skills/clean-code .agents/skills/
```

   Run from your project root. Antigravity loads workspace skills from .agents/skills/.
3. Or copy it for all projects

```bash
mkdir -p ~/.gemini/config/skills && cp -r /tmp/ag-skills/skills/clean-code ~/.gemini/config/skills/
```

   Global skills folder from Antigravity's docs (antigravity.google/docs/skills).
4. Check that Antigravity sees it
   Antigravity 2.0 app: start a new conversation and ask "What skills do you have?" (the app has no /skills command; typing / and the skill name also finds it, sometimes only after your first message). Antigravity CLI: run /skills; in a session that was already open, run /skills reload first. clean-code should be listed.

Note: The README does cover Antigravity: it is the installer's default target. The repository is large (we counted 2,013 skill folders at the reviewed commit), so copy only skills/clean-code, never the whole skills/ folder, into a folder Antigravity watches.

Done when the skill is listed: in the Antigravity 2.0 app ask "What skills do you have?" in a new conversation (the app has no /skills command); in the Antigravity CLI run /skills (run /skills reload first in a session that was already open).
