用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/dustland/openviber --skill gemini-cli命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Run OpenAI Codex CLI for autonomous software engineering tasks via non-interactive `codex exec` with chat-friendly outputs.
Use the Cursor CLI (agent) for software engineering tasks. Includes installation, auth, commands, terminal-based automation, and best practices for AI coding workflows.
GitHub operations via gh CLI — list issues, create branches, create PRs, clone repos.
正在显示 SKILL.md
基于 SOC 职业分类
| name | gemini-cli |
| version | 1.0.0 |
| description | Run Google Gemini CLI for autonomous coding and general tasks via headless mode with chat-friendly outputs. |
Run Google Gemini CLI (gemini) from Viber for autonomous coding and general tasks. This skill uses headless mode (gemini -p "<prompt>"), which works reliably from Node/AI SDK tool calls and web UI chat workflows.
Install Gemini CLI globally:
pnpm add -g @google/gemini-cli
Then authenticate (one of):
# Browser-based login (interactive)
gemini
# Or set API key for headless environments
export GEMINI_API_KEY=your-key-here
gemini_run — Runs Gemini CLI with a prompt, returns:
summary (status, cwd, mode, exit code)stdoutTail and stderrTail (chat-friendly tail output)output (truncated combined output for deeper follow-up)ok, summary, error, exitCode, command) for robust assistant follow-up.prompt (required): task for Geminicwd (optional): target working directory (must exist)waitSeconds (optional): timeout in seconds (default 120, minimum 10)approvalMode (optional):
yolo (default): --yolo — auto-approve all actionsdefault: normal interactive mode (no special flags)model (optional): override model (e.g. gemini-2.5-pro, gemini-2.5-flash)outputFormat (optional): text (default) or json for structured outputUse this skill when user intent is:
Examples:
gemini_run({
prompt: "Fix failing tests in src/skills/gemini-cli.test.ts",
cwd: "/workspace/openviber",
approvalMode: "yolo",
})
gemini_run({
prompt: "Review this repo and suggest improvements",
approvalMode: "default",
waitSeconds: 180,
model: "gemini-2.5-pro",
})
After calling gemini_run:
summary first.stdoutTail / stderrTail.error + command to explain next action.approvalMode, model, or cwd.Gemini CLI supports multiple auth methods:
GEMINI_API_KEY env var — best for headless/CI environmentsIf you have a Google Ultra subscription, Gemini CLI will use your subscription's quota automatically when authenticated via Google account.