robsonrung/rar-skills

gemini-runner

Execute prompts using Antigravity CLI (agy) headless print mode for a Gemini/Google seat.

查看源码

使用方法

  1. 复制安装命令,在自己的智能体环境安装前先检查源码包。
  2. 从原始文档核对所需工具、凭据和支持的宿主。
  3. 说明输入材料与期望交付物,并对照来源检查输出。
npx skills add https://github.com/robsonrung/rar-skills --skill gemini-runner

开始前需了解

  • 安装不包含模型订阅、API 额度或访问文件的权限。
  • 仓库星数和安装量反映活跃情况,不等于独立质量或安全测试。
仓库原始内容

按源仓库内容呈现,保留标题、案例、代码、表格、链接以及原文引用的演示图片。

Gemini Runner

Execute the caller's scoped prompt through the local CLI. Shared roles, envelope keys, and result handling live in shared/references/runner-common.md. Preserve seat fidelity: name the provider that actually answered, and report unavailable or unverified seats honestly.

Invocation

Set SKILL_DIR to this loaded skill directory in the same shell call:

bash
SKILL_DIR="<absolute path of this skill directory>";
python3 "$SKILL_DIR/scripts/run_gemini.py" "<scoped prompt>" --json

An approved workflow supplies the exact model, effort, role, tool mode, and receipt policy. Pass those approved options and --disable-fallback; this basic example does not authorize a different route.

Runtime boundaries

  • Use the local authenticated Antigravity CLI, agy, in print mode.
  • The user configures the model in agy. --model and output-format flags are request labels or prompt hints, not native model or format controls.
  • Permission checks follow local configuration. Prompt and file context may be sent to the configured provider.
  • Analysis roles use a read-only prompt overlay, not an enforced sandbox. Isolate the workspace for untrusted input; --restrict-tools alone is not a security boundary.
  • Missing-CLI fallback is labelled and described in the runtime reference. Approved routes use --disable-fallback; an unverified model requires the caller's explicit receipt policy.
  • Native output has no session ID. --agy-continue resumes the latest shared conversation and must not run concurrently against the same home.

Load by need

Result

Read agent_message and the wrapper envelope. Check success, serving-model receipt, effective runner/provider, and any fallback or malformed-output status. A completed process alone does not prove the requested task or model was used. Report touched files when the caller authorized edits.

按任务相关推荐

来自同一仓库

更多 Skills

全部 Skills