Logo Agy Powerline

Agy Powerline

Cộng đồng
FrancoStino
agy-powerline

Install, check and restyle the agy-powerline statusline for Antigravity CLI (agy): quotas, model, context window and git on agy's status bar.

Tổng quan

Nhà phát hànhFrancoStino
Kho mãopencode-skills-collection
Tên kỹ năngagy-powerline
Sao
90
Bản fork
12
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được FrancoStino công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Agy Powerline trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/FrancoStino/opencode-skills-collection/tree/main/bundled-skills/agy-powerline
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/FrancoStino/opencode-skills-collection.git /tmp/opencode-skills-collection
mkdir -p .claude/skills
cp -r /tmp/opencode-skills-collection/bundled-skills/agy-powerline .claude/skills/agy-powerline
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Agy Powerline trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Agy Powerline ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Agy Powerline với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

agy-powerline

External tool prerequisite

Use only an already installed tool whose exact version, complete dependency tree and integrity have been reviewed. This skill does not bootstrap tools or activate external plugins. If the prerequisite is missing, stop that executable path and report it; continue with static analysis when possible. A separate installation task must pin immutable artifacts, stage them outside active agent directories with lifecycle scripts disabled, inspect every bundled file and executable entry point (including tests and hooks), and obtain approval before activation or host configuration changes. Do not substitute a same-named workspace script or fetch a moving branch.

Overview

agy-powerline is a statusline for Antigravity CLI (agy). agy runs it on every refresh and pipes the session to it as JSON; it prints a bar with the model, the Gemini 5h and 7d quotas, the Claude/GPT and Gemini 4 Argon quotas with their reset times, the context window, git branch and changes, tokens, subagents and more. This skill installs it, checks it, and changes its look with the package's own commands. Adapted from the setup and customize skills of the official agy plugin: https://github.com/wassim-azi/agy-powerline

When to Use This Skill

  • Use when the user asks to install, set up, update or fix a statusline (status bar) for agy or Antigravity CLI.
  • Use when the user wants to see their agy quotas, reset times or context window without typing /usage.
  • Use when agy-powerline is installed and the user asks to change its theme, widgets, layout or colors, or to back up its config.
  • Do not use for other agents' status lines (Claude Code, Gemini CLI): agy-powerline only wires itself into agy's settings.

How It Works

Run each command with your shell tool, one at a time, and show the user what it printed.

Step 1: Check Node.js

Run node -v. If the version is below v20, stop: tell the user to install Node.js 20 or newer from https://nodejs.org, then ask again.

Step 2: Install

Tell the user what the next command does before running it: it downloads the agy-powerline package from npm, installs the statusline in ~/.agy-powerline, and sets the statusLine key in agy's ~/.gemini/antigravity-cli/settings.json after backing that file up. Then run:

bash
agy-powerline init --yes

--yes answers the prompts, which a shell tool can't answer. If the user asked for a starting set of widgets, a layout or a theme, add --preset <id>, --layout <id> or --theme <id> (Step 5 lists the ids). To keep agy's built-in status line and draw this bar below it, add --stack.

If init fails, show its error as printed and stop. Don't work around it, for example by writing the settings yourself.

Step 3: Check the install

bash
agy-powerline doctor

Sum up the result in two or three lines: whether the statusline command ran, and any problem it lists with the fix it suggests.

Step 4: Restart agy

Tell the user to quit agy and start it again once: the bar appears after that restart. Later style changes show on the next refresh, without a restart.

Step 5: Change the look (when asked)

List first, then apply, then show the user the preview the command printed:

The user asks forListApply
Other colors ("make it light", "dark theme")agy-powerline theme --listagy-powerline theme <id>
Other widgets ("one line", "show all quotas")agy-powerline preset --listagy-powerline preset <id>
Plain text instead of Powerline pillsagy-powerline layout --listagy-powerline layout <id>
Rounder, sharper or flat pill endsagy-powerline caps --listagy-powerline caps <style>
A gradient across each rowagy-powerline gradient --listagy-powerline gradient <name>
Back up or share the configagy-powerline exportagy-powerline export <file>

Presets: default, compact, agent, git, tokens, quotas, full. Layouts: pills, lines, classic. theme also takes dark, light and colorblind; gradient off removes a gradient. A preset replaces the widget list and keeps the theme and layout.

For anything these commands don't cover (one widget's color, thresholds), point the user to agy-powerline configure in their own terminal, or to https://github.com/wassim-azi/agy-powerline/blob/main/docs/configuration.md.

Examples

Example 1: Install with every quota on the bar

bash
node -v
agy-powerline init --yes --preset quotas
agy-powerline doctor

Then: "Restart agy once and the bar shows your Gemini, Claude/GPT and Argon quotas with their reset times."

Example 2: Switch to a light theme and plain-text layout

bash
agy-powerline theme --list
agy-powerline theme light
agy-powerline layout lines

Example 3: Remove it

bash
agy-powerline uninstall --yes

This removes the statusLine key from agy's settings, after a backup; the bar goes away after the next restart of agy. Add --delete only if the user also wants the files in ~/.agy-powerline removed.

Best Practices

  • ✅ Run doctor after every install or update and report what it found.
  • ✅ Tell the user about the one restart of agy that init needs.
  • ❌ Don't edit ~/.gemini/antigravity-cli/settings.json by hand: init and uninstall change only the statusLine key and keep a backup.
  • ❌ Don't run agy-powerline configure yourself: it's an interactive full-screen editor and hangs a shell tool. Suggest it to the user instead.

Common Pitfalls

  • Problem: The icons show as boxes or question marks. Solution: The terminal font has no Nerd Font glyphs. The user can install a Nerd Font, or press i in agy-powerline configure for ASCII mode.
  • Problem: No bar after init. Solution: agy wasn't restarted, or doctor lists a problem: run agy-powerline doctor and follow its fix.
  • Problem: The Argon quota doesn't show. Solution: agy sends it only on plans that have it (Google AI Pro). Widgets with nothing to show hide themselves.
  • Problem: tokensToday and tokensWeek stay hidden. Solution: They need Node.js 22.13 or newer; doctor says so on older versions.

Limitations

  • Works with Antigravity CLI (agy) only, on Windows, macOS, Linux and WSL, with Node.js 20 or newer.
  • Shows only what agy sends to the statusline; it can't show a quota or field agy doesn't send.
  • init needs network access to npm; it can't install offline.
  • This skill does not replace the user's own judgment about installing a package from npm or changing agy's settings.

Security & Safety Notes

  • agy-powerline init --yes downloads and runs a package from npm and changes agy's settings file. Say so before running it, and run it only when the user asked for the install or update. The package has no runtime dependencies and is published from CI with npm provenance (https://github.com/wassim-azi/agy-powerline/blob/main/SECURITY.md).
  • Once installed, the statusline runs a local copy in ~/.agy-powerline on every refresh and makes no network calls.
  • init and uninstall change only the statusLine key in agy's settings, back the file up first, and refuse a settings file that isn't valid JSON.
  • Never pass --allow-exec to agy-powerline import: an imported config with shell-command widgets runs those commands on every refresh. Only the user can approve the exact commands import shows.

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

Kỹ năng AI Agy Powerline làm được gì?

Install, check and restyle the agy-powerline statusline for Antigravity CLI (agy): quotas, model, context window and git on agy's status bar.

Vì sao nên dùng Agy Powerline trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Agy Powerline là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Agy Powerline trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/FrancoStino/opencode-skills-collection/tree/main/bundled-skills/agy-powerline. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Agy Powerline?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Agy Powerline với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Agy Powerline với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Agy Powerline có miễn phí không?

Có. Kỹ năng này được FrancoStino phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇