[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7ECMWPJB3AGMB10WXQQYJ8Y":3,"skill-same:01M7ECMWPJB3AGMB10WXQQYJ8Y":49},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":20,"frontMatter":21,"refName":22,"commitSha":23,"skillDirectory":24,"forksCount":13,"repositoryHtmlUrl":25,"repositoryHomepageUrl":6,"ownerHtmlUrl":26,"ownerBlogUrl":6,"ownerDescription":27,"updatedAt":28,"install":29,"resources":42},"01M7ECMWPJB3AGMB10WXQQYJ8Y","antigravity-cli",null,"jonahthan433\u002FCortexOS","jonahthan433","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F211465495?v=4","01M7ECH9HPHGA89DCXHHJBTS3C","jonah.ai","01M7ECH9JCEM45DZMWPT7148S1",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fimported\u002Fautonomous-ai-agents\u002Fantigravity-cli\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"# antigravity-cli\n\n# Antigravity CLI (`agy`)\n\nOperator guide for the Antigravity CLI, invoked as `agy`. Run all `agy`\ncommands through the Hermes `terminal` tool; inspect its config and logs with\n`read_file`. This skill is reference + procedure — it does not wrap a network\nAPI, so there is nothing to authenticate from Hermes itself.\n\n## When to Use\n\n- Installing, updating, or smoke-testing the `agy` binary\n- Driving non-interactive `agy --print` \u002F `agy -p` one-shots\n- Debugging Antigravity auth, sandbox, permissions, or plugin state\n- Reading Antigravity settings, keybindings, conversations, or logs\n\n## Mental model\n\nAntigravity has two layers — keep them distinct or the guidance will be wrong:\n\n1. **Shell wrapper commands** — `agy help`, `agy install`, `agy plugin`,\n   `agy update`, `agy changelog`. Run these through the `terminal` tool.\n2. **Interactive in-session slash commands** — `\u002Fconfig`, `\u002Fpermissions`,\n   `\u002Fskills`, `\u002Fagents`, etc. These only exist inside a running `agy` TUI\n   session, not on the shell wrapper.\n\n`agy help` shows the shell wrapper surface, NOT the in-session slash commands.\n\n## Prerequisites\n\n- The `agy` binary on PATH. Verify through the `terminal` tool:\n  `command -v agy && agy --version`.\n- No env vars or API keys required by this skill — Antigravity manages its own\n  auth via the OS keyring \u002F browser sign-in (see Authentication below).\n\n## How to Run\n\nInvoke every `agy` command through the `terminal` tool. Examples:\n\n```\nterminal(command=\"agy --version\")\nterminal(command=\"agy help\")\nterminal(command=\"agy plugin list\")\nterminal(command=\"agy --print 'Summarize the repo in 3 bullets'\", workdir=\"\u002Fpath\u002Fto\u002Fproject\")\n```\n\nFor an interactive multi-turn TUI session, launch `agy` with `pty=true` (and\ntmux for capture\u002Fmonitoring), the same pattern the `codex` \u002F `claude-code`\nskills use. For one-shot smoke tests and scripted prompts, prefer\n`agy --print` (non-interactive).\n\nTo inspect Antigravity's own files, use `read_file` on the paths under Core\npaths below — do not `cat` them through the terminal.\n\n## Delegation patterns\n\n`agy` is a coding-agent backend in the same family as `codex` \u002F `claude-code`,\nso the same delegation shapes apply. Use these when handing real work (features,\nfixes, reviews, second opinions) to Antigravity rather than just smoke-testing.\n\n### One-shot (preferred for scripted prompts and second opinions)\n\n```\nterminal(command=\"agy -p 'Review this diff for bugs and security issues' --model 'Gemini 3.1 Pro (High)'\", workdir=\"\u002Fpath\u002Fto\u002Frepo\", timeout=300)\n```\n\n`-p` is non-interactive: it runs the prompt and exits. Pick the engine with\n`--model` (run `agy models` for the exact display strings, e.g.\n`'Gemini 3.1 Pro (High)'`, `'Claude Opus 4.6 (Thinking)'`). Add extra context\nroots with repeatable `--add-dir`.\n\n### Long \u002F bounded runs (tests, builds, multi-file changes)\n\nBackground it and get notified on completion, the same as the `codex` skill:\n\n```\nterminal(command=\"agy -p 'Implement the change described in TASK.md and run the tests' --dangerously-skip-permissions\", workdir=\"\u002Fpath\u002Fto\u002Frepo\", background=true, notify_on_complete=true)\n# then: process(action=\"poll\"\u002F\"log\"\u002F\"wait\", session_id=\u003Cid>)\n```\n\n### Interactive multi-turn (PTY + tmux)\n\nFor a conversational session, launch `agy -i` (or bare `agy`) under `pty=true`\nwith tmux for `capture-pane` \u002F `send-keys`, exactly the pattern documented in\nthe `codex` \u002F `claude-code` skills. Resume later with `--continue` \u002F `-c` or a\nspecific `--conversation \u003Cid>`.\n\n### Parallel instances (batch sub-issue \u002F worktree fan-out)\n\nCreate one git worktree per task and launch an independent `agy -p` in each\n(background), then collect results — same worktree fan-out the `codex` skill\nuses for batch issue fixing. Bound concurrency to what the machine and your\nreview capacity can absorb.\n\n### Output + bounding caveat (differs from Claude Code)\n\n- `agy -p` returns **plain text** — there is **no `--output-format json`** and\n  no result envelope with `session_id` \u002F cost \u002F turn count. Parse stdout\n  directly; don't expect a JSON object.\n- There is **no `--max-turns`**. A print run is bounded by **`--print-timeout`**\n  (default `5m`). Raise it for long tasks: `--print-timeout 20m`. Pair with the\n  `terminal` `timeout=` so the outer call doesn't cut the run short.\n\n### Orchestration boundary\n\nAntigravity is a **worker execution backend or third-opinion reviewer** — an\nexecution detail owned by the agent\u002Fprofile running a task, NOT a first-class\norchestration primitive. Do not put `agy` on a kanban board as its own card or\ntreat it as a coordination layer; route work through the normal task graph and\nlet the assigned worker choose `agy` (vs. codex\u002Fclaude-code\u002Fdirect tools) as its\nmethod. Reach for it explicitly only when the user asks, when a worker is\nconfigured to wrap it, or when you want a Gemini-family cross-check against\nanother agent's plan or diff.\n\n## Core paths\n\n- Binary \u002F entrypoint: `agy`\n- App data dir: `~\u002F.gemini\u002Fantigravity-cli\u002F`\n- Settings file: `~\u002F.gemini\u002Fantigravity-cli\u002Fsettings.json`\n- Keybindings file: `~\u002F.gemini\u002Fantigravity-cli\u002Fkeybindings.json`\n- Logs: `~\u002F.gemini\u002Fantigravity-cli\u002Flog\u002Fcli-*.log`\n- Conversations: `~\u002F.gemini\u002Fantigravity-cli\u002Fconversations\u002F`\n- Brain artifacts: `~\u002F.gemini\u002Fantigravity-cli\u002Fbrain\u002F`\n- History: `~\u002F.gemini\u002Fantigravity-cli\u002Fhistory.jsonl`\n- Plugin staging: `~\u002F.gemini\u002Fantigravity-cli\u002Fplugins\u002F\u003Cplugin_name>\u002F`\n\n## Quick Reference\n\n### Wrapper commands\n- `agy changelog`\n- `agy help`\n- `agy install`\n- `agy plugin` \u002F `agy plugins`\n- `agy update`\n\n### Useful flags\n- `--add-dir`\n- `--continue` \u002F `-c`\n- `--conversation`\n- `--dangerously-skip-permissions`\n- `--print` \u002F `-p`\n- `--print-timeout`\n- `--prompt`\n- `--prompt-interactive` \u002F `-i`\n- `--sandbox`\n- `--log-file`\n- `--version`\n\n### Plugin subcommands (`agy plugin --help`)\n- `list`, `import [source]`, `install \u003Ctarget>`, `uninstall \u003Cname>`,\n  `enable \u003Cname>`, `disable \u003Cname>`, `validate [path]`, `link \u003Cmp> \u003Ctarget>`,\n  `help`\n\n### Install flags (`agy install --help`)\n- `--dir`, `--skip-aliases`, `--skip-path`\n\n### In-session slash commands\n- **Conversation control:** `\u002Fresume` (`\u002Fswitch`), `\u002Frewind` (`\u002Fundo`),\n  `\u002Frename \u003Cname>`, `\u002Fclear`, `\u002Ffork`, `\u002Freset`, `\u002Fnew`\n- **Settings & tools:** `\u002Fconfig`, `\u002Fsettings`, `\u002Fpermissions`, `\u002Fmodel`,\n  `\u002Fkeybindings`, `\u002Fstatusline`, `\u002Ftasks`, `\u002Fskills`, `\u002Fmcp`, `\u002Fopen \u003Cpath>`,\n  `\u002Fusage`, `\u002Flogout`, `\u002Fagents`\n- **Prompt helpers:** `@` path autocomplete, `esc esc` clears the prompt (when\n  not streaming), `!` runs a terminal command directly, `?` opens help\n\n## Settings and permissions\n\n### Common settings keys (`settings.json`)\n- `allowNonWorkspaceAccess`\n- `colorScheme`\n- `permissions.allow`\n- `trustedWorkspaces`\n\n### Permission modes\n`request-review`, `always-proceed`, `strict`, `proceed-in-sandbox`.\n\n### Sandbox behavior\n- `enableTerminalSandbox` is a boolean in `settings.json`; default `false`.\n- Launch-time overrides (`--sandbox`, `--dangerously-skip-permissions`) can\n  supersede persistent settings for the current session.\n\n## Authentication behavior\n\n- The CLI tries the OS secure keyring first.\n- With no saved session, it falls back to browser-based Google sign-in.\n- Locally it opens the default browser; over SSH it prints an authorization URL\n  and expects the auth code pasted back.\n- `\u002Flogout` removes saved credentials.\n\n## Plugins\n\n- Plugins stage under `~\u002F.gemini\u002Fantigravity-cli\u002Fplugins\u002F\u003Cplugin_name>\u002F`.\n- They can bundle skills, agents, rules, MCP servers, and hooks.\n- `agy plugin list` returning no imported plugins is a valid empty state.\n\n## Pitfalls\n\n- `agy help` shows wrapper commands, not interactive slash commands.\n- `agy --version` is the safe non-interactive version check; `agy version` is\n  interactive and can fail without a real TTY.\n- First place to look for failures: `~\u002F.gemini\u002Fantigravity-cli\u002Flog\u002Fcli-*.log`\n  (read with `read_file`).\n- Don't confuse persistent JSON settings with launch-time overrides.\n- `~\u002F.gemini\u002Fantigravity-cli\u002Fbin\u002Fagentapi` is a thin wrapper to `agy agentapi`.\n- On WSL, token storage is file-based, so auth issues are usually local-file \u002F\n  session-state problems, not browser-only problems.\n- Workspace identity can depend on launch directory and the `.antigravitycli`\n  project marker.\n- `agy -p` prints plain text only — no `--output-format json`, no result\n  envelope. Don't try to parse a JSON object out of it (unlike `claude-code`).\n- Bound print runs with `--print-timeout` (default `5m`), not `--max-turns`\n  (which does not exist on `agy`).\n\n## Verification\n\nConfirm the install is real and usable, all through the `terminal` tool (read\nfiles with `read_file`):\n\n1. `terminal(command=\"command -v agy\")`\n2. `terminal(command=\"agy --version\")`\n3. `terminal(command=\"agy help\")`\n4. `terminal(command=\"agy plugin list\")`\n5. `read_file` on `~\u002F.gemini\u002Fantigravity-cli\u002Fsettings.json`\n6. `read_file` on the latest `~\u002F.gemini\u002Fantigravity-cli\u002Flog\u002Fcli-*.log`\n7. If needed, `read_file` on `~\u002F.gemini\u002Fantigravity-cli\u002Fkeybindings.json`\n\n## Support files\n\n- `references\u002Fcli-docs.md` — condensed notes from the getting-started, usage,\n  and features docs.\n",{},"main","38b32c99e7ed0b8e215d638e92cfa452c1ec3079","skills\u002Fimported\u002Fautonomous-ai-agents\u002Fantigravity-cli","https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS","https:\u002F\u002Fgithub.com\u002Fjonahthan433","AI Consultant","2026-10-24 05:13:39",{"source":7,"skillName":5,"commands":30,"prompt":40,"zipAvailable":41},[31,34,37],{"tool":32,"command":33},"npx","npx skills add jonahthan433\u002FCortexOS --skill antigravity-cli",{"tool":35,"command":36},"bunx","bunx skills add jonahthan433\u002FCortexOS --skill antigravity-cli",{"tool":38,"command":39},"pnpm","pnpm dlx skills add jonahthan433\u002FCortexOS --skill antigravity-cli","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fimported\u002Fautonomous-ai-agents\u002Fantigravity-cli\u002FSKILL.md",true,[43],{"path":44,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":47,"sourceHtmlUrl":48},"skill.json","REFERENCE","参考文档",356,"https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fimported\u002Fautonomous-ai-agents\u002Fantigravity-cli\u002Fskill.json",[50,56,62,68,74,80],{"skillNo":51,"name":52,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":53,"categories":54,"keywords":55,"publishedAt":18},"01M7EDQZDQX3Q8Y7GCQX6KN9V7","opportunity-brief","https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fsales\u002Fopportunity-brief\u002FSKILL.md",[],[],{"skillNo":57,"name":58,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":18},"01M7EDQYA0V9Y99VKBREJJ3MRT","morning-intel","https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Fmorning-intel\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":18},"01M7EDQVX1JVY0B6PDHKKGM19G","decision-brief","https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Fdecision-brief\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":18},"01M7EDQV1GENZAC2SZSD8KZ3GM","weekly-review","https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Fweekly-review\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":18},"01M7EDQT2KETJ1Y3CGVN9EKW2J","system-health","https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fops\u002Fsystem-health\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":18},"01M7EDQQN2JK3XPWMS1M4T0F3K","backup-restore","https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fops\u002Fbackup-restore\u002FSKILL.md",[],[]]