返回顶部
g

gemini

Gemini CLI for one-shot Q&A, summaries, and generation.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
282
下载量
0
收藏
概述
安装方式
版本历史

gemini

# Gemini CLI Use Gemini in one-shot mode with a positional prompt (avoid interactive mode). Quick start - `gemini "Answer this question..."` - `gemini --model <name> "Prompt..."` - `gemini --output-format json "Return JSON"` File-output mode (for large token or explicit file return) - When content is large (e.g. long article/story/report) **or** user explicitly asks for file output, use: - `python3 /Users/shichen/skills/gemini/gemini_file_runner.py --prompt "<prompt>"` - Default model: `gemini-3-flash-preview` - For video parsing with large content (long video, dense transcripts, many segments), prefer `gemini-3-flash-preview` first. - Script behavior: - Always saves Gemini output to a file under `outputs/` in this skill directory. - Always returns `file_path` (absolute path) in JSON. - Optionally returns `content` when `--include-content` is provided. - Optional args: - `--model <model_name>` - `--output-format text|json` - `--output-file <filename>` - `--output-dir <dir>` - `--include-content` Required response contract for this mode - Must include absolute file path from script JSON: `file_path` - Content in response is optional and controlled by `--include-content` Example - User request: `使用 gemini 模型写 1000 字小说并输出文件给我` - Command: - `python3 /Users/shichen/skills/gemini/gemini_file_runner.py --prompt "写一篇约 1000 字中文小说,主题是..." --output-file novel-1000-words.txt` - Expected JSON stdout: - `{"ok":true,"file_path":"/Users/shichen/skills/gemini/outputs/novel-1000-words.txt"}` Video parsing example (large content) - User request: `请解析这个长视频并输出文件` - Command: - `python3 /Users/shichen/skills/gemini/gemini_file_runner.py --model gemini-3-flash-preview --prompt "解析视频内容并输出结构化总结..." --output-file video-analysis.txt` Extensions - List: `gemini --list-extensions` - Manage: `gemini extensions <command>` Notes - If auth is required, run `gemini` once interactively and follow the login flow. - Avoid `--yolo` for safety.

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 gemini-file-1776205925 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 gemini-file-1776205925 技能

通过命令行安装

skillhub install gemini-file-1776205925

下载 Zip 包

⬇ 下载 gemini v1.0.0

文件大小: 3.72 KB | 发布时间: 2026-4-15 10:31

v1.0.0 最新 2026-4-15 10:31
Initial release of gemini-file skill integrating Gemini CLI with file-output support.

- Supports one-shot prompts, summary, Q&A, and generation via Gemini CLI.
- New file-output mode using `gemini_file_runner.py` script for large content or explicit file output requests.
- Always returns absolute file path in JSON when using file-output mode; optionally includes file content.
- Default model is `gemini-3-flash-preview`, recommended for large or complex tasks (e.g. video parsing).
- Includes extension management commands and usage notes.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部