genai-text

Generate text with Google GenAI Gemini models via the genai-cli text command.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/Onward-Technologies/onward-google-genai --skill genai-text
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: genai-text
Source: https://github.com/Onward-Technologies/onward-google-genai/tree/main/.claude/skills/genai-text
Command: npx skills add https://github.com/Onward-Technologies/onward-google-genai --skill genai-text

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables generating text using Google GenAI Gemini models via the genai-cli text command, addressing the need for quick, high-quality AI-assisted content creation from the command line.

Core Features & Use Cases

  • CLI-driven text generation with Gemini models (e.g., gemini-2.5-flash, gemini-3-pro-preview).
  • System prompts and sampling controls to guide style, tone, and creativity (temperature, top-p, top-k).
  • Streaming and output options to view results in real time or save to a file for documentation or automation.
  • Use cases include drafting answers, writing content, brainstorming ideas, or generating code comments from natural language prompts.

Quick Start

Use the genai-cli to generate text, for example: uv run genai-cli text "Explain quantum computing" --model gemini-3-pro-preview --temperature 0.7 --output ./response.txt

Frequently Asked Questions about genai-text

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate text with Gemini models from the command line?

Generate text with Gemini models from the command line by running the genai-cli text command with your prompt. You can specify the model, adjust temperature, and save the output directly to a file.

Can I control the creativity and sampling of AI-generated text via CLI?

You can control the creativity and sampling of AI-generated text via CLI using parameters like --temperature, --top-p, and --top-k. These options adjust how the model selects the next token during generation.

Does the genai-cli text command support streaming output?

Yes, the genai-cli text command supports streaming output. Using the --stream parameter allows you to view the AI-generated text results in real time as the model processes your prompt.

How do I set a system prompt to guide the tone of AI-generated content?

Set a system prompt to guide the tone of AI-generated content using the --system parameter in the genai-cli text command. This directs the model's style and persona before applying your main prompt.

What is the best way to save AI-generated text output to a file?

The best way to save AI-generated text output to a file is by using the --output parameter with the genai-cli text command. This writes the generated results directly to your specified file path for automation.

Do I need the genai-cli tool to draft responses with Gemini AI?

Yes, you need the genai-cli tool installed and access to GenAI Gemini models to draft responses. The Skill operates by executing the genai-cli text command to interface with the AI models.