xiaohongshu
xiaohongshu
gemini-text
Generate text content using Google Gemini models via scripts/. Use for text generation, multimodal prompts with images, thinking mode for complex reasoning, JSON-formatted outputs, and Google Search grounding for real-time information. Triggers on "generate with gemini", "use gemini for text", "A...
Full skill instructions
Generate content using Google's Gemini API through executable scripts with advanced capabilities including system instructions, thinking mode, JSON output, and Google Search grounding.
Use this skill when you need to:
Purpose: Full-featured text generation with all Gemini capabilities
When to use:
Key parameters:
| Parameter | Description | Example |
|---|---|---|
prompt | Text prompt (required) | "Explain quantum computing" |
--model, -m | Model to use | gemini-3-flash-preview |
--system, -s | System instruction | "You are a helpful assistant" |
--thinking, -t | Enable thinking mode | Flag |
--json, -j | Force JSON output | Flag |
--grounding, -g | Enable Google Search | Flag |
--image, -i | Image for multimodal | photo.png |
--temperature | Sampling 0.0-2.0 | 0.7 for creative |
--max-tokens | Output limit | 1000 |
Output: Generated text string, optionally with grounding sources
python scripts/generate.py "Explain quantum computing in simple terms"
gemini-3-flash-preview (default, fast)python scripts/generate.py "How do I read a file in Python?" --system "You are a helpful coding assistant"
python scripts/generate.py "Analyze the ethical implications of AI in healthcare" --thinking
python scripts/generate.py "Generate a user profile object with name, email, and preferences" --json
python scripts/generate.py "Who won the latest Super Bowl?" --grounding
python scripts/generate.py "Describe what's in this image in detail" --image photo.png
# 1. Create batch requests (gemini-batch skill)
# 2. Generate content
python scripts/generate.py "Create a 500-word blog post about sustainable energy"
# 3. Convert to audio (gemini-tts skill)
| Model | Speed | Intelligence | Context | Best For |
|---|---|---|---|---|
gemini-3-flash-preview | Fast | High | 1M | General use, agentic tasks (default) |
gemini-3-pro-preview | Medium | Highest | 1M | Complex reasoning, research |
gemini-2.5-flash | Fast | Medium | 1M | Stable, reliable generation |
gemini-2.5-pro | Slow | High | 1M | Code, math, STEM tasks |
| Value | Creativity | Best For |
|---|---|---|
| 0.0-0.3 | Low | Code, facts, formal writing |
| 0.4-0.7 | Medium | Balanced output |
| 0.8-1.0 | High | Creative writing, brainstorming |
| 1.0-2.0 | Very High | Highly creative, varied outputs |
| Value | Description |
|---|---|
| 0 | Disabled (default behavior) |
| 512-1024 | Standard reasoning |
| 2048+ | Deep analysis (slower, more tokens) |
--json flag)import json; data = json.loads(output)When --grounding is used, the script prints:
pip install google-genai
Set environment variable:
export GOOGLE_API_KEY="your-key-here"
# or
export GEMINI_API_KEY="your-key-here"
gemini-3-flash-preview (most available)--max-tokens value# Basic
python scripts/generate.py "Your prompt"
# Persona
python scripts/generate.py "Prompt" --system "You are X"
# Thinking
python scripts/generate.py "Complex task" --thinking
# JSON
python scripts/generate.py "Generate JSON" --json
# Search
python scripts/generate.py "Current event" --grounding
# Multimodal
python scripts/generate.py "Describe this" --image photo.png
references/models.md for detailed model informationxiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience