快轉到主要內容

Antigravity CLI

·1364 字·3 分鐘·
PolloChang
作者
PolloChang
我是一隻雞

You can see Antigravity 2.0 Productions

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
> agy -y
flags provided but not defined: -y
Usage of agy:
  --add-dir                       Add a directory to the workspace (repeatable) (default [])
  -c                              Short alias for --continue
  --continue                      Continue the most recent conversation
  --conversation                  Resume a previous conversation by ID
  --dangerously-skip-permissions  Auto-approve all tool permission requests without prompting
  -i                              Short alias for --prompt-interactive
  --log-file                      Override CLI log file path
  -p                              Short alias for --print
  --print                         Run a single prompt non-interactively and print the response
  --print-timeout                 Timeout for print mode wait (default 5m0s)
  --prompt                        Alias for --print
  --prompt-interactive            Run an initial prompt interactively and continue the session
  --sandbox                       Run in a sandbox with terminal restrictions enabled

Available subcommands:
  changelog       Show changelog and release notes
  help            Show help for subcommands
  install         Configure environment paths and shell settings
  plugin          Manage plugins (install, uninstall, list, enable, disable)
  plugins         Alias for plugin
  update          Update CLI

執行畫面

  • 依開始歡迎畫面
1
2
3
4
5
6
7
pollochang@pollo-nb-5310:~/Documents/git/pollo-lab/oracle-ebs-r12.2-wiki$ agy

      ▄▀▀▄        Antigravity CLI 1.0.0
     ▀▀▀▀▀▀       [email protected] (Google AI Pro)
    ▀▀▀▀▀▀▀▀      Gemini 3.5 Flash (High)
   ▄▀▀    ▀▀▄     ~/Documents/
  ▄▀▀      ▀▀▄
  • 測試執行畫面如下
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
> wiki-lint

  I will list the contents of the workspace directory to understand its structure, locate
  the  wiki-lint  skill/scripts, and determine how to proceed with the vault's health    
  check.

● Read(/home/pollochang/Documents/g...i/.skills/wiki-lint/SKILL.md) (ctrl+o to expand)

  I will check the  scripts  subdirectory in the  wiki-lint  skill folder to see if there
  is an existing Python or Shell script to run the linting process.

● ListDir(/home/pollochang/Documents/g...ki/.skills/wiki-lint/scripts) (ctrl+o to expand)
⣾ Loading...
────────────────────────────────────────────────────────────────────────────────────────────
>
────────────────────────────────────────────────────────────────────────────────────────────
esc to cancel                                                        Gemini 3.5 Flash (High)
  • 如果遇到需要花費多時間的步驟會產出 implementation_plan.md
1
2
3
4
▸ Thought for 4s, 558 tokens
  Refining the Implementation
  我已經針對高達 67,347 個 Markdown 檔案的 ,設計並建立了 
  implementation_plan.md 實作計畫。
  • 問券調查?
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11


▸ Thought for 4s, 558 tokens

  請參閱實作計畫,如果沒有問題,請准許我開始執行這個計畫。

                                                            1 artifact · /artifact to review
 How's the CLI experience so far? Help us improve:
 [1] Good  [2] Fine  [3] Bad  [0] Skip

? for shortcuts                                                      Gemini 3.5 Flash (High)

內部 help 頁面
#

  • general
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
Antigravity CLI   general    commands    shortcuts   (←/→ or tab to cycle)
Antigravity CLI understands your codebase, makes edits with your permission,
and executes commands — right from your terminal.

Version 1.0.0
[email protected] (Google AI Pro)
Workspace:    /data/temp
Project:      /data/temp

Quick Reference
  /  Type / to see available commands

Keyboard: ↑/↓ Navigate  ←/→ Switch View  esc Close

esc to cancel                                                                           Gemini 3.5 Flash (High)
  • commands
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Antigravity CLI   general    commands    shortcuts   (←/→ or tab to cycle)
Available Commands

> /add-dir                                                   Add a directory to the workspace
  /agents                                                    List available custom agents
  /artifact                                                  View and review artifacts
  /btw                                                       Ask a side question without interrupting the c...
  /changelog                                                 Show release notes and changes
  /clear (new)                                               Clear conversation and start a new one
  /config (settings)                                         Open settings panel
  /context                                                   Visualize current context usage
  /copy                                                      Copy the last planner response to the clipboar...
  /diff                                                      View uncommitted changes and per-turn diffs
  /exit (quit)                                               Exit the CLI
  /fast                                                      Agent will execute tasks directly. Use for sim...
  /feedback                                                  Submit qualitative feedback to improve the agent
  /fork (branch)                                             Create a branch of the current conversation at...
  /help                                                      Show available commands and keybindings
  /hooks                                                     Manage hook configurations for tool events
  /keybindings                                               Set custom keybindings
  /logout                                                    Log out
  /mcp                                                       Manage MCP servers
  /model                                                     Set a model
  /open                                                      Open a file or view opened/edited files
  [1-21 of 218 items]

Keyboard: ↑/↓ Navigate  ←/→ Switch View  esc Close
  • shortcuts
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Antigravity CLI   general    commands    shortcuts   (←/→ or tab to cycle)
Keyboard Shortcuts

  enter                           Send message or confirm
  alt+enter, ctrl+j, shift+enter  Insert newline
  \ + enter                       Insert newline fallback
  /                               Open slash commands
  ctrl+c, esc                     Go back / dismiss
  ctrl+d                          Exit
  ctrl+z                          Suspend CLI
  ctrl+g                          Open prompt in $EDITOR
  ctrl+l                          Clear CLI screen
  ctrl+v                          Paste from clipboard
  shift/alt+click                 Select and copy text
  pgup, shift+up                  Page up
  pgdown, shift+down              Page down
  up                              Move up
  down                            Move down
  left                            Move left / Prev tab
  right                           Move right / Next tab
  ctrl+home                       Go to top
  ctrl+end                        Go to bottom
  ctrl+_, ctrl+shift+-            Undo
  ctrl+shift+z                    Redo
  y                               Confirm yes
  n                               Confirm no
  ctrl+y                          Yank (paste from kill ring)
  tab                             Tab
  e                               Edit command
  • /model
1
2
3
4
5
6
7
8
9
Switch Model

> Gemini 3.5 Flash (High)      (current)
  Gemini 3.5 Flash (Medium)
  Gemini 3.1 Pro (High)
  Gemini 3.1 Pro (Low)
  Claude Sonnet 4.6 (Thinking)
  Claude Opus 4.6 (Thinking)
  GPT-OSS 120B (Medium)
  • /context
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
└ Context Usage
□ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □     Gemini 3.5 Flash (High) · 0/1.0M tokens
□ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □      (0.0%)
□ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □     Estimated usage (awaiting generation)
□ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □     ◉ User messages: 0 tokens (0.0%)
□ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □     ◉ Agent responses: 0 tokens (0.0%)
□ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □     ◉ Tool calls: 0 tokens (0.0%)
□ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □ □     □ Free space: 1.0M (100.0%)

System files · auto-loaded
 └ ~/.gemini/GEMINI.md
 └ ~/.gemini/skills/
 └ ~/.gemini/antigravity/skills/

Related: /artifact · /skill · /rewind