# Install Metasploit Framework in Google Antigravity

Source: https://github.com/sickn33/antigravity-awesome-skills/tree/main/skills/metasploit-framework
Listing: https://www.antigravityskills.org/skill/metasploit-framework
Safety review (2026-10-21): Markdown command reference for an offensive-security tool; no code of its own, but it directs an agent to run exploitation commands. Authorised use and a lab 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. Download the repository

```bash
git clone --depth 1 https://github.com/sickn33/antigravity-awesome-skills.git /tmp/ag-skills && git -C /tmp/ag-skills log -1 --format=%h
```

   We reviewed commit 32b8ad9. If the second command prints a different hash, the skill may have changed since our review. Only continue if you have authorisation to test the systems you will point it at.
2. Copy the skill into this project (workspace skill)

```bash
mkdir -p .agents/skills && cp -r /tmp/ag-skills/skills/metasploit-framework .agents/skills/
```

   Run from your project root. Antigravity reads workspace skills from .agents/skills/<folder>/; this folder holds one file, SKILL.md. Prefer a workspace skill for a security skill so it is not active in every project.
3. Or install it for all projects (global skill)

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

   Use this instead of the previous step. We do not recommend a global install for an offensive-security skill.
4. Check that Antigravity sees it
   Antigravity app: start a new conversation and ask "What skills do you have?"; metasploit-framework should be listed. Antigravity CLI: run /skills (/skills reload in a session that was already open). The skill does not install Metasploit; that is a separate step from Rapid7's own documentation.

Note: The skill is a text file, but it steers an agent toward running penetration-testing commands. Keep the confirmation gate in the file intact and use it only in a lab or an authorised engagement.

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).
