{
  "markdown": "# starship-antigravity\n\n[![CI](https://github.com/martinemde/starship-claude/actions/workflows/ci.yml/badge.svg)](https://github.com/martinemde/starship-claude/actions/workflows/ci.yml)\n\n![starship-antigravity screenshot](screenshot.png)\n\n_Use [Starship](https://starship.rs) for your [Google Antigravity](https://antigravity.google) status line._\n\n## Quick Start\n\nRun the setup wizard in Antigravity:\n\n```\n/starship\n```\n\n![starship-antigravity setup wizard screenshot](setupwizard.png)\n\nThe wizard will guide you through setup:\n\n1. Check if starship is installed (offers to install if missing)\n2. Detect existing configuration and ask what to do\n3. Ask about Nerd Font support\n4. Let you choose a color palette\n5. Let you choose a prompt style\n6. Install the script and generate your config\n7. Update your Google Antigravity settings (`~/.gemini/settings.json`)\n8. Verify everything works\n\n## Manual Install\n\nYou'll need [starship](https://starship.rs/#quick-install) to render the statusline:\n\n```bash\n# If you don't already have starship...\ncurl -sS https://starship.rs/install.sh | sh\n```\n\nYou'll probably want a [Nerd Font](https://www.nerdfonts.com/) (optional) for icons.\n\nWhen you're ready to install, run these in your terminal:\n\n```bash\n# Download the script from this repository\nmkdir -p ~/.local/bin\ncurl -fsSL https://raw.githubusercontent.com/martinemde/starship-claude/main/plugin/bin/starship-antigravity \\\n  -o ~/.local/bin/starship-antigravity && chmod +x ~/.local/bin/starship-antigravity\n\n# Get the config file that you can customize\nmkdir -p ~/.gemini\ncurl -fsSL https://raw.githubusercontent.com/martinemde/starship-claude/main/plugin/templates/minimal-nerd.toml \\\n  -o ~/.gemini/starship.toml\n```\n\nAdd the statusline in your Google Antigravity settings (`~/.gemini/settings.json`):\n\n```jsonc\n{\n  // ... other settings\n  \"statusLine\": {\n    \"type\": \"command\",\n    \"command\": \"~/.local/bin/starship-antigravity\"\n  }\n}\n```\n\nRun it directly to test it out:\n\n```sh\n./plugin/bin/starship-antigravity < test/fixtures/agy_session.json\n```\n\n## Context Window Progress Bar\n\nShow progress bars for context usage percentages in terminals like Ghostty.\n\nWe use [Dex Horthy's \"dumb zone\" (video)][dumb-zone] to start warning at 40%.\n\n- Progress bar scales for 80% compaction.\n  - 0-40%: Normal - You're good.\n  - 40-60%: Warning - Reset if it's not going well.\n  - 60%+: Error - Compacting soon...\n\n[dumb-zone]: https://www.youtube.com/watch?v=rmvDxxNubIg 'YouTube: No Vibes Allowed: Solving Hard Problems in Complex Codebases – Dex Horthy, HumanLayer'\n\n### Customize\n\nAdd options in `~/.gemini/settings.json` if you want to customize behavior:\n\n```jsonc\n{\n  \"statusLine\": {\n    \"type\": \"command\",\n    \"command\": \"~/.local/bin/starship-antigravity --config ~/.gemini/starship.toml\"\n  }\n}\n```\n\nAvailable flags:\n- `--config PATH` - Custom Starship config file location\n- `--no-progress` - Disable terminal context progress bar\n\n### Available Environment Variables\n\nThe statusline script exports `AGY_*` environment variables for use in your `starship.toml`:\n\n- `AGY_MODEL` - Short model display name\n- `AGY_MODEL_NERD` - Model display name with Nerd Font icon\n- `AGY_CONTEXT` - Context window usage percentage (e.g. `14%`)\n- `AGY_QUOTA` - Formatted quota remaining percentage (e.g. `93.8%`)\n- `AGY_SUMMARY` - Session summary\n- `AGY_SESSION_ID` - Session UUID\n- `AGY_CONVERSATION_ID` - Conversation UUID\n- `AGY_TRANSCRIPT_PATH` - Path to session transcript JSONL\n- `AGY_CWD` - Current working directory\n- `AGY_VERSION` - Antigravity version\n- `AGY_PRODUCT` - Product name (\"antigravity\")\n- `AGY_AGENT_STATE` - Agent state (\"idle\", \"thinking\", etc.)\n- `AGY_VCS_BRANCH` - Git branch name\n\n### Running Tests\n\nInstall BATS and run tests:\n\n```bash\n# Run all tests\nnpx -y bats test/\n```\n\n## License\n\nMIT License © 2026 Martin Emde\n",
  "bytes": 3831,
  "sha": "27770b9057382c48c048e5ec5988cc07fdbb1a0cf10ad3c89bba86b8d8a13003",
  "repo_slug": "mastacheata/starship-antigravity",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/plg_mastacheata_starship_antigravity_343c2006/readme"
}