google-antigravity
Use Google Antigravity for consent-gated direct Google OAuth login, Code Assist chat (multimodal/tool-calls/streaming), writing, models, diagnostics, and capability-gated grounding or images.
- License 许可
- MIT
- 所属仓库
- Meapri/agent-hub
- 最近更新
- 2026-08-04
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- google-antigravity
- description
- Use Google Antigravity for consent-gated direct Google OAuth login, Code Assist chat (multimodal/tool-calls/streaming), writing, models, diagnostics, and capability-gated grounding or images.
03 SKILL.md 正文
Google Antigravity
Use the google-antigravity-codex MCP tools for Antigravity workflows.
Consent
Check google_antigravity_consent_status before an authenticated integration.
If consent is absent, tell the user to run this themselves:
python3 scripts/google_antigravity_consent.py grant --i-understand-and-consent
Never grant or modify consent through MCP.
Direct Google login (preferred for grounding / image)
Same PKCE browser flow as Hermes hermes auth add google-antigravity.
google_antigravity_login_status— is a direct OAuth token present?- If not ready:
google_antigravity_login_start→ show the userauth_url. - User signs in with Google and pastes the redirect URL or
code=. google_antigravity_login_completewith{ "code_or_url": "..." }- default
probe: trueverifies tokens vialist_models(or a tiny chat).
- default
- After success, provider auto-selects
agy-oauth(Code Assist HTTP).
CLI equivalent:
python3 scripts/google_antigravity_login.py interactive
Never print tokens, client secrets, or raw pending OAuth state.
Auth status
google_antigravity_login_status/whoami/logoutgoogle_antigravity_agy_auth_status/_refresh— plugin OAuth token file only
Model selection
google_antigravity_list_models— live/static catalog.google_antigravity_get_model_prefs/set_model/clear_model_prefs— persist default or per-task model (chat,code,writing, …).google_antigravity_route_model— task routing; respects saved prefs.- After set, omit
modelon chat/write/search/image to use the preference.
Model tools
google_antigravity_provider_statusbefore uncertain model calls.google_antigravity_chat— text, multimodal data: images, tool-calls, optionalstream: true.google_grounded_search/google_antigravity_generate_image— requireagy-oauth.google_antigravity_write— prose; readme/technical-doc are durable (fact pack, no git diary). Multi-step README → Agent Hub V2agent_hub_plan→agent_hub_start→agent_hub_continue.- release snapshot/draft, list/route models, quota.
Chat notes
messagesmay include OpenAI-styleimage_urlwithdata:image/...;base64,...(remote URLs are not fetched).- Assistant
tool_callsandrole: toolfunction results map to Gemini functionCall/functionResponse. stream: trueemits MCPnotifications/messagedeltas then a final tool result (agy-oauth only; falls back if stream fails).
Safety
Never print tokens, authorization headers, cookies, or raw credential files. Do not read the official CLI keyring. Treat warnings as operational signals.
04 同仓库更多 Skills
grok-doctor
Diagnose Grok Codex consent, API key, and MCP readiness.
grok-codex
Use the Grok Codex leaf MCP for consent-gated xAI chat, model listing, and provider status.
claude-doctor
Diagnose Claude Codex consent, API key, and MCP readiness.
claude-codex
Use the Claude Codex leaf MCP for consent-gated Anthropic chat, model listing, and provider status.
release-copilot
Use when the user asks Codex to prepare a release, PR description, changelog, release notes, tag plan, GitHub release plan, version summary, or release checklist from a local git repository. This integrated version uses google_antigravity_release_snapshot, google_antigravity_release_draft, and optional google_antigravity_write polishing.
google-grounded-search
Use consent-gated Google-grounded search for current facts, source checks, versions, policies, prices, schedules, and verification.