Chuyển đến nội dung
Skillpedia
Lập trình chung53k · #3373

code-mate-antigravity

Skill này làm gì

Agent này giúp bạn dùng một công cụ tên Antigravity CLI để phân tích mã hoặc thực hiện tác vụ lập trình. Nó có thể dùng để giao việc cho Antigravity hoặc so sánh kết quả với các trợ lý lập trình khác.

Khi nào nên dùng

  • ✓Khi bạn muốn Antigravity phân tích mã của mình.
  • ✓Khi bạn muốn Antigravity thực hiện một tác vụ lập trình.
  • ✓Khi bạn muốn so sánh kết quả của Antigravity với một trợ lý khác.

Liên kết skill

https://github.com/CherryHQ/cherry-studio/blob/main/resources/code-cli-skills/code-mate-antigravity/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/CherryHQ/cherry-studio/blob/main/resources/code-cli-skills/code-mate-antigravity/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Phân tích dự án này bằng Antigravity CLI và cho tôi biết có lỗi nào không.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent chạy Antigravity CLI ở chế độ nền mà không cần bạn tương tác trực tiếp. Nó thiết lập môi trường, thực hiện lệnh với hướng dẫn của bạn và trả về kết quả.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Antigravity CLI

Run

  1. Set the Bash working directory to the exact project the user named and set a finite timeout, normally 10 minutes.
  2. Check availability with command -v agy. If it is missing, stop and ask the user to install Antigravity CLI in Code Mate.
  3. Run one task and exit:
agy -p "<prompt>" --output-format json

Pass the prompt as one quoted argument. Print mode waits up to --print-timeout (5m by default); pass a shorter value when the caller's own timeout is tighter.

Parse the JSON result and read its status field: anything other than a success status is a failure, and error carries the reason. Treat unparseable output as failure too. Never start interactive Antigravity or an authentication flow.

Authentication And Permissions

Antigravity refuses to run headlessly until it is signed in — it returns status: "ERROR" with authentication failed or timed out and tells you to run agy to log in. Do not do that: stop and ask the user to finish Antigravity setup in Code Mate. Never request, read, print, or copy credentials.

Headless mode inherits the permission mode persisted in user settings, and reading and writing files inside the active workspace are auto-approved by default — the default is not a read-only boundary, and a prompt cannot make it one. Do not run it against a writable project for a read-only task. Use a disposable or read-only copy instead. Run against the real project only when the user explicitly requests workspace changes, constrain the directory, and inspect the diff afterward. Never pass --dangerously-skip-permissions, which auto-approves every tool request including outside the workspace.

Example: for an approved edit, ask Antigravity to touch only named files, run it in that project, parse the response and any reported error, and inspect the resulting diff before reporting success.

Câu hỏi thường gặp

Antigravity CLI là gì?

Đây là công cụ dòng lệnh để phân tích mã và thực hiện tác vụ lập trình.

Tôi có cần cài đặt gì không?

Có, bạn cần cài Antigravity CLI trong môi trường của mình. Nếu chưa cài, agent sẽ yêu cầu bạn cài đặt.

Điều gì xảy ra nếu Antigravity chưa được thiết lập?

Nếu Antigravity chưa được thiết lập hoặc chưa đăng nhập, agent sẽ dừng lại và yêu cầu bạn hoàn tất thiết lập trong Code Mate.

Chi tiết

Mô tả gốc của tác giả

Runs Antigravity CLI headlessly for repository analysis and coding tasks. Use when the user asks to delegate work to Antigravity CLI or compare its result with another coding agent.

repo: CherryHQ/cherry-studio

Độ phổ biến

Sao GitHub
53k
Vị trí xếp hạng
#3373
Giấy phép
AGPL-3.0
Cập nhật
15/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự