For the complete documentation index, see llms.txt. This page is also available as Markdown.

Gravity Skill

Official Agent Skill that teaches AI coding tools how to build on Gravity.

The Gravity Skill is an official Agent Skill that loads Gravity's chain knowledge into your AI coding assistant on demand — network params, the system-contract address map, the native on-chain oracle, the cross-chain G token bridge, safe on-chain randomness, and the canonical EVM preinstalls.

It's written in the standard Agent Skills (SKILL.md) format, so any agent that understands skills — Claude Code, Cursor, Codex, and 50+ others — can use it. Source: Galxe/gravity-skills.

Install

The easiest way is the skills CLI, which installs into whichever agent you use (Claude Code, Cursor, Codex, OpenCode, Cline, Copilot, and more):

npx skills add https://github.com/Galxe/gravity-skills

Then ask your agent anything about building on Gravity and it loads the skill on demand. Re-run npx skills update to pull the latest.

Claude Code plugin — add the marketplace and install:

/plugin marketplace add Galxe/gravity-skills
/plugin install gravity@gravity-skills

Manual — point any SKILL.md-aware agent at the skills/gravity/ directory, or copy it into your agent's skills folder.

What it covers

Skill
What it covers

gravity

Core reference for writing, deploying, and integrating smart contracts on Gravity L1: network parameters, the system-contract address map, the native oracle ABI, the cross-chain G token bridge (including a copy-paste cast permit recipe), safe on-chain randomness, and the canonical EVM preinstalls (Multicall3, Permit2, CreateX, ERC-4337).

Each skill uses progressive disclosure: a short SKILL.md entry point that links into focused references/ docs and runnable examples/ (e.g. OracleConsumer.sol, RandomnessConsumer.sol, and the G-bridge walkthrough).

Sources of truth

Addresses and ABIs in the skill are distilled from the canonical Gravity repositories. When in doubt, defer to:

See also

Last updated

Was this helpful?