adapter-antigravity

adapter-antigravity is a skill for Claude Code from Tyox-all/Weave_Protocol. It costs 132 tokens per session (1,248 once invoked), scanned A, original, Apache-2.0.

An adapter that applies WARD.md security rules to Google Antigravity, an AI agent tool, through its pre-tool-use hooks.

In plain words
What is it for?
Use it to install, inspect, test, disable, or enforce the same WARD policy across Antigravity surfaces.
Why use it?
It helps stop the agent from reading or using protected credentials, keys, and paths across Antigravity’s desktop, command-line, and SDK interfaces.

Skill for Claude Code

Written for Claude Code: PreToolUse hook event. Also seen: mentions subagents; mentions Claude Code; mentions AGENTS.md.

Good fit Use it to install, inspect, test, disable, or enforce the same WARD…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tyox-all/weave_protocol/adapter-antigravity
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Tyox-all/Weave_Protocol --skill adapter-antigravity
Clone the repo
git clone --depth 1 https://github.com/Tyox-all/Weave_Protocol

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for adapter-antigravity

README.md
[![agentmods](https://agentmods.dev/badge/skills/tyox-all/weave_protocol/adapter-antigravity.svg)](https://agentmods.dev/skills/tyox-all/weave_protocol/adapter-antigravity)
Your own site
<a href="https://agentmods.dev/skills/tyox-all/weave_protocol/adapter-antigravity"><img src="https://agentmods.dev/badge/skills/tyox-all/weave_protocol/adapter-antigravity.svg" alt="Measured on agentmods" height="20"></a>
Per session 132 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,248 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00132 $0.01248
Opus 5 $0.00066 $0.00624
Sonnet 5 $0.00026 $0.00250
Haiku 4.5 $0.00013 $0.00125

Measured 6d ago against content hash ed3d14c54c4b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

adapter-antigravity scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

The scan reads SKILL.md. This mod also ships 5 executable files (src/cli.ts, src/config.ts, src/hook.ts, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

adapter-antigravity/SKILL.md · 89 lines

How it starts

The opening of the file, as written. The whole thing — 89 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Google Antigravity adapter for Weave Protocol

The @weave_protocol/adapter-antigravity package enforces WARD.md policies inside Google Antigravity via the PreToolUse hook system. The same hook installation protects Antigravity 2.0 desktop, the agy CLI, and the Antigravity SDK because they share one agent harness with synced settings.

When to use

  • User runs Antigravity (desktop or agy) and wants visibility/control over what it does
  • User has a WARD.md and wants it enforced inside Antigravity (not just on MCP servers or Claude Code)
  • User wants to lock down GCP credentials, SSH keys, or specific paths from being read by the agent
  • User wants the same policy to work across desktop, CLI, and SDK surfaces
  • User has a global ~/.gemini/antigravity-cli/WARD.md they want applied to every session

Commands

weave-antigravity init [--matcher=X] [--fail-closed]    # Install hook
weave-antigravity disable                                # Remove hook
weave-antigravity status                                 # Show config + active policy
weave-antigravity test <tool> [--input=JSON]             # Dry-run a tool call
weave-antigravity help

WARD resolution order

When the hook fires:

  1. $WEAVE_WARD_PATH — explicit override
  2. <cwd>/WARD.md — project root
  3. <cwd>/.agents/WARD.mdco-located with AGENTS.md in the agent definition folder
  4. <cwd>/.weave/WARD.md — alternate location
  5. ~/.gemini/antigravity-cli/WARD.md — user-global fallback

First match wins. If none exists, the hook passes through silently.

The .agents/ location is significant — that's where AGENTS.md and project skills already live for Antigravity. Co-locating WARD.md there keeps all three policy files (AGENTS.md, SKILL.md, WARD.md) in one version-controlled directory.

Tool mapping

Antigravity tool → WARD capability:

  • Bashshell_exec (also scans command string heuristically, including for ~/.config/gcloud)
  • Edit, MultiEdit, Writefile_write
  • Readfile_read
  • Grep, LS, Globfile_read / file_list
  • WebFetchhttp_request (checks url)
  • WebSearchweb_search
  • Task, Subagentsubagent
  • RunCodeexecute_code
  • Pluginplugin_invoke

Read the full file on GitHub · 89 lines

Files

What ships with it

10 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 89 lines · 132 tokens per session scan A ed3d14c54c4b

Subscribe to this mod's changes

adapter-antigravity is a skill published in the GitHub repository Tyox-all/Weave_Protocol (0 stars, last pushed 13d ago), licensed Apache-2.0. It adds 132 tokens to every session and 1,248 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

panguard

AI agent security platform — audit skills, scan for threats, and run 24/7 protection with 9,700+ detection rules.

panguard-ai/panguard-ai · 30 tokens

blockchain-solana

Use this skill when asked about Solana blockchain, Solana architecture, Proof of History, Solana programming, Anchor framework, Solana runtime, Solana CLI tools, Solana DeFi, Jupiter, Raydium, Metaplex, SPL tokens, and the Solana ecosystem. Covers Solana protocol architecture (PoH, Tower BFT, Turbine, Gulf Stream…

j4flmao/agent-skills · 142 tokens

lictor-security-check

Pre-release security audit for ANY project — AI-built or hand-written, web or mobile. Scans the codebase for the full range of real-world risks that get apps breached: leaked API & AI-provider keys, exposed configs/secrets, broken auth & access control (IDOR), injection (SQL/XSS/command), SSRF, open databases & cloud…

Raffa-jarrl/Lictor-AI · 135 tokens

lictor-rotate

Walks the user through rotating a leaked API key — step by step, provider-specific. Knows the exact URL to visit, the exact button to click, and how to verify the rotation worked. Supports Stripe, OpenAI, Anthropic, Google Cloud / AI Studio, GitHub, AWS, Slack, Supabase, Firebase, Postmark, and generic OAuth providers.

Raffa-jarrl/Lictor-AI · 80 tokens

alchemy-agentic-gateway

Use when accessing Alchemy APIs for RPC calls, token balances, NFT metadata, asset transfers, transaction simulation, or Alchemy-specific features. Also use when the user mentions "SIWE", "SIWS", "x402", "MPP", "mppx", or "agentic gateway" — this skill covers wallet-based auth flows for Alchemy's x402 and MPP…

moonpay/skills · 101 tokens

alchemy-api

Integrates Alchemy blockchain APIs using an API key. Requires $ALCHEMYAPIKEY to be set; if unavailable, use the alchemy-agentic-gateway skill instead. Use when user asks about EVM JSON-RPC calls, token balances, NFT ownership or metadata, transfer history, token prices, portfolio data, transaction simulation…

moonpay/skills · 100 tokens