agy-setup
Health Uyari
- No license — Repository has no license file
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Community trust — 13 GitHub stars
Code Basarisiz
- fs module — File system access in core-skills/security-audit/validate-coverage-ledger.cjs
- spawnSync — Synchronous process spawning in core-skills/security-audit/validate-coverage-ledger.test.cjs
- fs.rmSync — Destructive file system operation in core-skills/security-audit/validate-coverage-ledger.test.cjs
- fs module — File system access in core-skills/security-audit/validate-coverage-ledger.test.cjs
- fs module — File system access in core-skills/security-audit/validate-findings.cjs
- spawnSync — Synchronous process spawning in core-skills/security-audit/validate-findings.test.cjs
- fs.rmSync — Destructive file system operation in core-skills/security-audit/validate-findings.test.cjs
- fs module — File system access in core-skills/security-audit/validate-findings.test.cjs
Permissions Gecti
- Permissions — No dangerous permissions requested
Bu listing icin henuz AI raporu yok.
Token-optimized Antigravity setup: 6 Orchestrator presets, Context Guardian, zero global MCP bloat, and a skill router with 24 skills. Windows, macOS, Linux.
Antigravity (AGY) Token-Optimized CLI & IDE Setup
A portable, token-disciplined configuration for Google Antigravity (CLI, App, and IDE) across Windows, macOS, and Linux featuring configurable Orchestrator Mode presets, pruned MCP tool schemas, Progressive Disclosure skills, Context Guardian auto-compact advisor, and a Global Skill Router backed by a categorized 21-skill library.
Setup Presets (Choose Your Token vs. Quality Combo)
Pick the profile that matches your task, model family (Argon, Neon, or Carbon), and credit budget (defined in settings/presets.json):
| Series | Preset | Flag / Alias | Planner Model | Executor Model | Context Guardian (Yellow / Red) | Best For |
|---|---|---|---|---|---|---|
| Argon | Setup 1: Argon Balanced | --preset 1 / balanced / argon-balanced |
Gemini 4 Argon (Medium) |
Gemini 4 Hydrogen (Medium) |
75 / 120 steps (85k / 135k tokens) |
Balanced Argon planning with token-efficient Hydrogen Medium execution |
| Argon | Setup 2: Argon / Hydrogen Ultra Saver | --preset 2 / ultra-saver / argon-saver |
Gemini 4 Hydrogen (High) |
Gemini 4 Hydrogen (Low) |
50 / 85 steps (60k / 95k tokens) |
Tight token/credit budgets, repetitive edits, quick scripts |
| Argon | Setup 3: Argon Max Quality | --preset 3 / max-quality / argon-max |
Gemini 4 Argon (High) |
Gemini 4 Hydrogen (High) |
100 / 150 steps (110k / 160k tokens) |
Complex system architecture, deep debugging, multi-service refactors |
| Neon | Setup 4: Neon Balanced (Recommended / Default) | --preset 4 / neon-balanced / neon |
Gemini 4 Neon (High) |
Gemini 4 Hydrogen (Medium) |
75 / 120 steps (85k / 135k tokens) |
Daily full-stack coding: best balance of Neon reasoning and token efficiency |
| Neon | Setup 5: Neon Ultra Saver | --preset 5 / neon-saver / neon-ultra-saver |
Gemini 4 Neon (Medium) |
Gemini 4 Hydrogen (Low) |
55 / 90 steps (65k / 100k tokens) |
Lightweight Neon planning with tighter compaction thresholds |
| Neon | Setup 6: Neon Max Quality | --preset 6 / neon-max / neon-max-quality |
Gemini 4 Neon (XHigh) |
Gemini 4 Hydrogen (XHigh) |
100 / 150 steps (110k / 160k tokens) |
Peak Neon reasoning depth for complex architecture and deep debugging |
| Carbon | Setup 7: Carbon Balanced | --preset 7 / carbon-balanced / carbon |
Gemini 4 Carbon (Medium) |
Gemini 4 Hydrogen (Medium) |
75 / 120 steps (85k / 135k tokens) |
Daily coding with Gemini 4 Carbon planner and Hydrogen Medium executor |
| Carbon | Setup 8: Carbon Ultra Saver | --preset 8 / carbon-saver / carbon-ultra-saver |
Gemini 4 Carbon (Low) |
Gemini 4 Hydrogen (Low) |
55 / 90 steps (65k / 100k tokens) |
Lightweight Carbon planning with early compaction reminders |
| Carbon | Setup 9: Carbon Max Quality | --preset 9 / carbon-max / carbon-max-quality |
Gemini 4 Carbon (High) |
Gemini 4 Hydrogen (High) |
100 / 150 steps (110k / 160k tokens) |
High-depth Carbon architecture and multi-module refactoring |
Architecture Highlights
- Orchestrator Mode (Plan-Execute):
- Separates planning and execution models according to your selected preset (
1–3Argon,4–6Neon, or7–9Carbon), avoiding wasted tokens from trial-and-error loops.
- Separates planning and execution models according to your selected preset (
- Zero Global MCP Context Bloat:
- Keeps global
mcp_config.jsonempty ({"mcpServers": {}}) so unused MCP tool schemas are never injected into every turn. - Project-specific MCP servers (such as Supabase, Wordcraft, or Jupyter) belong inside
<project>/.agents/mcp_config.json(seesettings/mcp_templates.example.json).
- Keeps global
- Global Rules (
GEMINI.md):- Enforces targeted line-range reads (
StartLine/EndLine), batched parallel tool calls, subagent delegation (research) for noisy exploration,.ipynbraw-read guard (preventing base64/output bloat), concise responses, and automatic skill routing. - Integrates
graphify(~/GEMINI.md) to query codebase knowledge graphs before raw file reads.
- Enforces targeted line-range reads (
- Global Skill Router + Categorized Skill Library (21 Skills):
- Only
skill-router(plus 4 core skills) is registered globally in~/.gemini/config/skills/. - Domain skills live in
~/.gemini/skill-library/<category>/<skill>/SKILL.md, indexed intoINDEX.mdviaagy-index-skills. graphify/SKILL.mduses Progressive Disclosure (2.2 KB fast-path +references/full-pipeline.md).
- Only
- Context Guardian (
PreInvocationAuto-Compact Advisor):- Monitors step count and active tokens (
input_tokens + cache_read_tokens) using your selected preset thresholds in~/.gemini/config/hooks/preset.json, with cooldown and automatic reset after/compact. - Enforces Never Compact Mid-Task: warns against compacting mid-fix, generates copy-paste
/compact <context + next step>commands after milestones, and provides New Session Handoff prompts when tasks finish or reach the Red Zone.
- Monitors step count and active tokens (
- Antigravity CLI v1.5.15–1.5.16 Compatibility:
- Supports
AGY_CLI_AUTO_COMPACT_OVERRIDE(e.g.,80%,800K) for CLI-native auto-compaction tuning alongside Context Guardian. - Sets
"showThinking": falseby default (toggle live thinking with/thinking), and preserves user-global~/.agents/skillsdiscovery while keeping~/.gemini/config/skills/clean.
- Supports
Skill Library Catalog (21 Skills Across 7 Categories)
| Category | Skills |
|---|---|
backend |
fastapi-pydantic-v2, laravel13-specialist, saas-multitenant-highperf-api |
frontend |
nextjs-react19-best-practices, tailwind-v4-shadcn-ui, high-end-visual-taste, saas-dashboard-ux, design-system-microinteractions |
database |
drizzle-orm-postgres, supabase-ssr-rls |
testing |
playwright-e2e-rbac, vitest-rtl-testing, laravel-phpunit-tdd |
devops |
docker-compose-cicd-cloud |
data-ai |
colab-jupyter-notebooks, python-data-ml-scraping, python-modern-workflow, rag-llm-agents-embeddings, reverse-engineering-appsec |
docs-office |
office-docs-guidebook-automation, copywriting |
Quick Setup with Agent CLI (Zero Manual Config)
Run agy (or any AI coding CLI) on a new machine (Windows, macOS, or Linux) and paste this single prompt (optionally specify preset 1–9—if omitted, the agent will ask you to choose):
Clone https://github.com/rizalkr/agy-setup.git to ~/Projects/agy-setup (or pull latest if it exists), then read and execute AGENT_SETUP.md to install the setup. Ask me which preset I want (Argon: 1 Balanced, 2 Ultra Saver, 3 Max Quality; Neon: 4 Neon Balanced [Recommended/Default], 5 Neon Ultra Saver, 6 Neon Max Quality; Carbon: 7 Carbon Balanced, 8 Carbon Ultra Saver, 9 Carbon Max Quality) before running the installer.
Or specify your preset directly in one shot:
Clone https://github.com/rizalkr/agy-setup.git to ~/Projects/agy-setup (or pull latest if it exists), then read and execute AGENT_SETUP.md with preset 4 (neon-balanced).
Manual Installation
Linux / macOS (Bash/Zsh)
Interactive preset menu (choose 1–9 across Argon, Neon, or Carbon series):
git clone https://github.com/rizalkr/agy-setup.git ~/Projects/agy-setup
cd ~/Projects/agy-setup
./install.sh --choose
Or install a specific preset non-interactively (--full defaults to Preset 4 neon-balanced):
./install.sh --preset 4 # Neon: 4/neon-balanced (default) | 5/neon-saver | 6/neon-max
./install.sh --preset 1 # Argon: 1/balanced | 2/ultra-saver | 3/max-quality
./install.sh --preset 7 # Carbon: 7/carbon-balanced | 8/carbon-saver | 9/carbon-max
Minimal setup (rules & skills only, without merging CLI settings):
./install.sh
Ensure ~/.local/bin is in your PATH so agy-index-skills works globally.
Windows (PowerShell)
Requires Python 3 (py or python) installed on PATH.
Interactive preset menu (choose 1–9 across Argon, Neon, or Carbon series):
git clone https://github.com/rizalkr/agy-setup.git "$env:USERPROFILE\Projects\agy-setup"
cd "$env:USERPROFILE\Projects\agy-setup"
powershell -ExecutionPolicy Bypass -File .\install.ps1 --choose
Or install a specific preset directly (--full defaults to Preset 4 neon-balanced):
powershell -ExecutionPolicy Bypass -File .\install.ps1 --preset 4 # or 1..9
Minimal setup (rules & skills only):
powershell -ExecutionPolicy Bypass -File .\install.ps1
Switching Presets Later
You can switch between Argon (1–3), Neon (4–6), and Carbon (7–9) presets anytime without losing permissions or workspaces:
./install.sh --preset 4 # Linux/macOS: Neon Balanced (Default)
./install.sh --preset carbon-balanced # Linux/macOS: Carbon Balanced
.\install.ps1 --preset 4 # Windows PowerShell: Neon Balanced
.\install.ps1 --preset 7 # Windows PowerShell: Carbon Balanced
Optional Templates
settings/mcp_templates.example.json-> copy individual servers (Supabase, Wordcraft, or Jupyter) into<project>/.agents/mcp_config.json
Adding New Skills & Syncing
- Drop any new skill into
~/.gemini/skill-library/<category>/<skill-name>/SKILL.md. - Refresh the index:
agy-index-skills - Sync local changes back into this repository and push:
- Linux / macOS:
./sync.sh && git add -A && git commit -m "chore: update skills" && git push - Windows (PowerShell):
.\sync.ps1; git add -A; git commit -m "chore: update skills"; git push
- Linux / macOS:
Yorumlar (0)
Yorum birakmak icin giris yap.
Yorum birakSonuc bulunamadi