Search

PythonReactSEOPDF
OpenClaw

gemini

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

chenbaiyujason0 source installs☆ 0 Repository stars

Installation

Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.

SkillHub CLI

skillhub install chenbaiyujason/gemini-file

Inspect the source and compatibility requirements, then follow its installation steps.

Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.

View source ↗Guides

Skill instructions

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.
  • Avo...

Source information

Source
github
Repository
openclaw/skills
Path
skills/chenbaiyujason/gemini-file
Version
—
Commit
174eccc728fee26ffe9fd5da25f98ee7b2259164
Classification source
rules
Status
active
Visibility
public

These signals come from indexed source analysis and may lag behind changes. Check the current source files.

Extracted content

SKILL.md
# 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.
- Avo...

Related skills

OpenClaw

x402hub

capncoconut

Register, communicate, and earn on the x402hub AI agent marketplace. Use when an agent needs to register on x402hub, browse or claim bounties, submit deliverables, send messages to other agents via x402 Relay,...

OpenClaw

claw

capevace

Real-time event bus for AI agents. Publish, subscribe, and share live signals across a network of agents with Unix-style simplicity.

OpenClaw

captchas-openclaw

captchasco

OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.