2k rmyndharis

antigravity-skills-manager Skill

Google Antigravity 的全局 skills 管理器。使用纯 stdlib CLI 工具,浏览、搜索、安装和管理 rmyndharis/antigravity-skills 目录中的 300+ 个 agent skills。

安装方式:把技能目录放入 ~/.claude/skills/(Claude Code)或在 claude.ai 设置中启用;也可复制右侧安装命令一键添加。

查看源码

技能指令原文(SKILL.md)

Antigravity Skills Manager

Manage selected skills from @rmyndharis/antigravity-skills using Node.js and npm. This skill can be invoked as /antigravity-skills-manager, followed by a request such as search flutter.

Use this skill when

  • Finding skills for a specific language, framework, or workflow.
  • Installing a requested skill or curated bundle into a workspace or global directory.
  • Listing installed skills or updating an existing installation.

Do not use this skill when

  • Performing the development task described by another skill.
  • Configuring unrelated plugins, model providers, or user credentials.

Instructions

  1. Identify the requested operation and installation scope. Run workspace commands from the intended project directory, not from this plugin's directory.
  2. Use the npm CLI commands below. Node.js and npm must be available; npx may download the package when it is not cached.
  3. Search when the user has described a need without selecting a skill. Show relevant IDs and descriptions so the user can choose. An explicitly requested skill or bundle already establishes the selection.
  4. Check the resolved destination with doctor and list existing skills before replacing them. Apply AG_SKILLS_DIR consistently to discovery of installed skills, installation, and updates.
  5. Report the command's actual installed, updated, skipped, and failed counts and the destination path. Do not report success after a nonzero exit status.

Commands

List or search the catalog:

npx @rmyndharis/antigravity-skills list
npx @rmyndharis/antigravity-skills search flutter

Install a selected skill or bundle into the current workspace:

npx @rmyndharis/antigravity-skills install flutter-expert
npx @rmyndharis/antigravity-skills install --bundle core-dev

Inspect or update installed skills:

npx @rmyndharis/antigravity-skills doctor
npx @rmyndharis/antigravity-skills installed
npx @rmyndharis/antigravity-skills update flutter-expert

install skips an existing directory. install --force and update replace the entire selected skill directory, including local edits and files removed upstream. update without a skill name updates all recognized installed skills. Use replacement only when the user has authorized it.

Installation scope

  • The default workspace destination is /.agent/skills/. Antigravity also supports .agents/skills/; set AG_SKILLS_DIR to select it explicitly.
  • --global selects ~/.gemini/config/skills/, the global location read by the Antigravity App, CLI, and IDE. Use the same flag with installed and update for that scope.
  • AG_SKILLS_DIR overrides both workspace and global destinations. A leading ~ is expanded. Earlier versions installed global skills to ~/.gemini/antigravity/skills/, which only the standalone IDE reads; set AG_SKILLS_DIR to that path to list or update those skills.

For example, list global skills left by an earlier version:

AG_SKILLS_DIR="$HOME/.gemini/antigravity/skills" npx @rmyndharis/antigravity-skills installed

Safety

  • Install only skills or bundles requested by the user. Prefer a small relevant selection; install --all loads unnecessary metadata and can cause unrelated activation.
  • Explain that replacement discards local edits before proceeding unless the user has already authorized that replacement. An ordinary install preserves existing directories by skipping them.
  • Keep the destination separate from the package's source skills. File or symlink destinations and source overlap are rejected.
  • Failed copies leave the previous installation intact. If activation or restoration fails, follow the reported recovery path and preserve any backup. Remove a stale installation lock only after verifying that no installer is running.
  • The plugin contains this skill's instructions only. Use the npm commands above; do not assume that another executable is beside this file.

See the official skill locations and plugin documentation when selecting the host-specific scope.

配合站内内容