magentosh/superpowers

gemini

Google Gemini chat models via inference.sh CLI.

Voir la source

Mode d’emploi

  1. Copiez la commande et examinez le paquet avant de l’installer dans votre environnement agent.
  2. Consultez le document original pour les outils, identifiants et environnements requis.
  3. Décrivez les entrées et le livrable souhaité ; comparez la sortie aux sources.
npx skills add https://github.com/magentosh/superpowers --skill gemini

Avant de commencer

  • L’installation n’inclut ni abonnement au modèle, ni quota API, ni accès aux fichiers.
  • Étoiles et installations reflètent l’activité, pas un test indépendant de qualité ou de sécurité.
Document Skill original

Rendu depuis le dépôt source en conservant titres, exemples, code, tableaux, liens et images.

Install the belt CLI skill: npx skills add belt-sh/cli

Gemini

Run Google's Gemini chat models via inference.sh CLI.

Quick Start

Requires inference.sh CLI (belt). Install instructions
bash
belt login

belt app run google/gemini-3-8-flash --input '{"text": "Explain how HTTPS certificate validation works"}'

Models

ModelApp IDBest For
Gemini 4 Argongoogle/gemini-4-argonFlagship: deep multi-step work in coding, finance, law, security, science
Gemini 3.8 Flashgoogle/gemini-3-8-flashMost capable Flash: long-horizon software engineering, autonomous agents, enterprise workflows
Gemini 3.5 Flash-Litegoogle/gemini-3-5-flash-liteFastest, most cost-effective 3.5-class model (350 output tokens/s), high-throughput agentic workflows

All run via Vertex AI with vision and tool use. Argon and 3.8 Flash have a 1M token context window; Argon supports thinking levels low to high.

Other Gemini apps (older chat versions, image models, and the Gemini Omni video models): belt app search gemini. google/gemini-omni-1-2-flash is a video generation model, not a chat model.

Inputs

FieldDescription
textThe user message
system_promptSystem instructions
imagesImage files or URLs (vision)
filesDocument files
contextPrior messages: `[{"role": "user" \"assistant", "text": "..."}]`
reasoning_effortnone (default), low, medium, high
temperatureDefault 1.0
top_kDefault 40, -1 to disable
max_tokensDefault 64000
toolsFunction tool definitions
tool_choice`{"mode": "auto" \"none" \"required" \"function", "name": ...}`
response_format`{"type": "text" \"json_object" \"json_schema", ...}`

Output: response, reasoning, tool_calls, usage.

Each app also has an openai function that takes Chat Completions messages: belt app sample google/gemini-4-argon -f openai.

Examples

Deep Analysis with Argon

bash
belt app run google/gemini-4-argon --input '{
  "system_prompt": "You are a securities lawyer. Cite the clause for each finding.",
  "text": "Review this term sheet for investor-unfriendly provisions",
  "files": ["https://example.com/term-sheet.pdf"],
  "reasoning_effort": "high"
}'

Agentic Coding with 3.8 Flash

bash
belt app run google/gemini-3-8-flash --input '{
  "system_prompt": "You are a Python engineer. Return a unified diff.",
  "text": "Add retry with exponential backoff to this HTTP client: <code>",
  "reasoning_effort": "medium"
}'

High Throughput with Flash-Lite

bash
belt app run google/gemini-3-5-flash-lite --input '{
  "text": "Translate to Spanish: The meeting is moved to Thursday.",
  "reasoning_effort": "none",
  "max_tokens": 100
}'

Run many inputs at once:

bash
# one JSON input per line
belt app run google/gemini-3-5-flash-lite --batch inputs.jsonl

Vision

bash
belt app run google/gemini-3-8-flash --input '{
  "text": "Describe this chart and list the three largest values",
  "images": ["https://example.com/chart.png"]
}'

Multi-turn Conversation

bash
belt app run google/gemini-4-argon --input '{
  "context": [
    {"role": "user", "text": "I am planning a 5-day trip to Kyoto."},
    {"role": "assistant", "text": "Great choice. What are your interests?"}
  ],
  "text": "Temples and food. Draft an itinerary."
}'

Structured Output

bash
belt app run google/gemini-3-5-flash-lite --input '{
  "text": "Extract product and price: The Pixel case costs $29.",
  "response_format": {
    "type": "json_schema",
    "name": "product",
    "json_schema": {
      "type": "object",
      "properties": {"product": {"type": "string"}, "price": {"type": "number"}},
      "required": ["product", "price"]
    }
  }
}'

Tool Use

bash
belt app run google/gemini-3-8-flash --input '{
  "text": "Find open issues labeled bug",
  "tools": [{
    "type": "function",
    "function": {
      "name": "search_issues",
      "description": "Search the issue tracker",
      "parameters": {"type": "object", "properties": {"label": {"type": "string"}, "state": {"type": "string"}}, "required": ["label"]}
    }
  }],
  "tool_choice": {"mode": "auto"}
}'

Pricing

ModelInputOutput
Gemini 4 Argon$2.00/M$10.00/M
Gemini 3.8 Flash$1.50/M$7.50/M
Gemini 3.5 Flash-Lite$0.30/M$2.50/M

Estimate a run: belt app estimate <app-id> --input input.json.

Related Skills

bash
# Full platform skill (all apps)
npx skills add inference-sh/skills@infsh-cli

# All LLMs in one place
npx skills add inference-sh/skills@llm-models

# Other providers
npx skills add inference-sh/skills@claude
npx skills add inference-sh/skills@gpt

# Agents and tool use
npx skills add inference-sh/skills@agent-tools

# RAG pipelines
npx skills add inference-sh/skills@ai-rag-pipeline

Browse all apps: belt app list

Documentation

du même dépôt

Autres Skills

Tous les Skills
magentosh
Communauté

ai-image-generation

Generate AI images with GPT-Image-2.6, FLUX, Gemini, Grok, Seedream, Reve and 50+ models via inference.sh CLI. Models: GPT-Image-2.6 Flare, GPT-Image-2.6 Sunburst, FLUX Dev LoRA, FLUX.2 Klein LoRA, Nano Banana 2.1, Gemini 3 Pro Image, Grok Imagine 2.0, Seedream 5.5, Reve, ImagineArt. Capabilities: text-to-image, image-to-image, inpainting, LoRA, image editing, upscaling, text rendering. Use for: AI art, product mockups, concept art, social media graphics, marketing visuals, illustrations. Trigge

Installations totales
962 k
GitHub Stars
5
Mis à jour
18 nov.
magentosh
Communauté

ai-video-generation

Generate AI videos with Google Veo, Seedance 2.5, Kling, HappyHorse, Wan, Grok and 40+ models via inference.sh CLI. Models: Veo 3.1, Seedance 2.5, Kling v4, Runway Gen-4.5, FLUX 3 Video, HappyHorse 1.0, Wan 2.7, Grok Imagine Video 1.5, P-Video 2, OmniHuman, Fabric. Capabilities: text-to-video, image-to-video, reference-to-video, video editing, lipsync, avatar animation, video upscaling, foley sound. Use for: social media videos, marketing content, explainer videos, product demos, AI avatars. Tri

Installations totales
961,4 k
GitHub Stars
5
Mis à jour
18 nov.
magentosh
Communauté

ai-avatar-video

Create AI avatar and talking head videos via inference.sh CLI. Recommended: P-Video-Avatar (fastest, cheapest, built-in TTS). Also: OmniHuman, Fabric, PixVerse. Audio: Inworld TTS-2 (100+ languages, emotion steering for characters), ElevenLabs, Kokoro. Capabilities: audio-driven avatars, text-to-avatar, lipsync videos, talking head generation, virtual presenters, UGC content. Use for: AI presenters, explainer videos, virtual influencers, dubbing, marketing videos, UGC ads, gaming avatars, NPC di

Installations totales
961,3 k
GitHub Stars
5
Mis à jour
18 nov.
magentosh
Communauté

twitter-automation

Automate Twitter/X with posting, engagement, and user management via inference.sh CLI. Apps: x/post-create (text and media), x/post-like, x/post-retweet, x/dm-send, x/user-follow. Capabilities: post tweets, schedule content, like posts, retweet, send DMs, follow users, get profiles. Use for: social media automation, content scheduling, engagement bots, audience growth, X API. Triggers: twitter api, x api, tweet automation, post to twitter, twitter bot, social media automation, x automation, twee

Installations totales
961,1 k
GitHub Stars
5
Mis à jour
18 nov.