Gemini logo

Gemini

Community
AlekseiUL
gemini

Gemini CLI for one-shot Q&A, summaries, and generation. Use when user mentions 'gemini', 'ask gemini', 'gemini cli', or needs a quick answer from Google's model.

Overview

PublisherAlekseiUL
Repositorysprut-agent-kit
Skill namegemini
Stars
66
Forks
21
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by AlekseiUL on GitHub. Read the source before you install it.

Installation

Install the Gemini AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/AlekseiUL/sprut-agent-kit/tree/main/skills/gemini
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/AlekseiUL/sprut-agent-kit.git /tmp/sprut-agent-kit
mkdir -p .claude/skills
cp -r /tmp/sprut-agent-kit/skills/gemini .claude/skills/gemini
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Gemini in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Gemini on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Gemini is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.


name: gemini-local description: "Gemini CLI for one-shot Q&A, summaries, and generation. Use when user mentions 'gemini', 'ask gemini', 'gemini cli', or needs a quick answer from Google's model."

Gemini CLI Skill

Google Gemini CLI для быстрых вопросов, саммари и генерации контента.

Установка

bash
npm install -g @google/generative-ai-cli

Версия: 0.26.0


Основные команды

One-shot запрос

bash
gemini -p "Ваш вопрос"

Пример:

bash
gemini -p "Суммаризируй этот текст: $(cat file.txt)"

Интерактивный режим

bash
gemini

Или с начальным промптом:

bash
gemini -i "Помоги мне написать..."

Выбор модели

bash
gemini -m gemini-2.0-flash-exp -p "Вопрос"

Доступные модели:

  • gemini-2.0-flash-exp (по умолчанию, быстрая)
  • gemini-1.5-pro (более мощная)
  • gemini-1.5-flash (баланс)

YOLO mode (автоподтверждение)

bash
gemini -y -p "Создай файл test.txt"

⚠️ Осторожно! Автоматически выполняет все действия без подтверждения.


Работа с файлами

Чтение stdin

bash
cat file.txt | gemini -p "Суммаризируй"

Анализ кода

bash
gemini -p "Объясни этот код:" < script.py

MCP серверы

Gemini CLI поддерживает MCP (Model Context Protocol) для расширений.

bash
gemini mcp list
gemini mcp install <server-name>

Skills & Extensions

Список доступных

bash
gemini skills list
gemini extensions list

Использование конкретных extensions

bash
gemini -e extension1,extension2 -p "Запрос"

Сессии (Resume)

Список сессий

bash
gemini --list-sessions

Возобновить последнюю

bash
gemini -r latest

Возобновить конкретную (по индексу)

bash
gemini -r 5

Удалить сессию

bash
gemini --delete-session 5

Примеры использования

1. Быстрый ответ

bash
gemini -p "Что такое Kaizen?"

2. Суммаризация файла

bash
gemini -p "Кратко перескажи:" < ~/Desktop/document.txt

3. Генерация кода

bash
gemini -p "Напиши bash скрипт для резервного копирования папки"

4. Анализ логов

bash
tail -100 /var/log/system.log | gemini -p "Найди ошибки в этих логах"

5. Интерактивная работа

bash
gemini -i "Я работаю над проектом автоматизации. Помоги мне..."

Для goal-trackerа 🎯

goal-tracker может использовать Gemini CLI для:

  1. Анализ прогресса по целям

    bash
    cat ~/.openclaw/workspace-kaizen/ЦЕЛИ.md | gemini -p "Оцени прогресс и предложи следующие шаги"
  2. Генерация мотивационных сообщений

    bash
    gemini -p "Напиши мотивирующее сообщение для человека, который хочет улучшаться на 1% каждый день"
  3. Суммаризация дня

    bash
    cat ~/workspace/obsidian/Дневник/$(date +%Y-%m-%d).md | gemini -p "Подведи итоги дня и выдели ключевые достижения"
  4. Разбивка большой цели

    bash
    gemini -p "Разбей цель '$GOAL_NAME' на маленькие недельные шаги"

API Key

Gemini CLI требует API ключ Google AI Studio.

Получить ключ: https://aistudio.google.com/app/apikey

Настройка:

bash
export GOOGLE_AI_API_KEY="your-api-key"

Или добавить в ~/.zshrc:

bash
echo 'export GOOGLE_AI_API_KEY="your-key"' >> ~/.zshrc

Лимиты (бесплатный tier)

  • 1,500 запросов/день для gemini-2.0-flash-exp
  • 50 запросов/день для gemini-1.5-pro

Для goal-trackerа этого более чем достаточно!


Troubleshooting

Проверка установки

bash
gemini --version

Тест API ключа

bash
gemini -p "Hello!"

Если работает → всё ок!


Создано: 2026-02-03 Обновлено: 2026-02-03

Frequently asked questions

What does the Gemini AI skill do?

Gemini CLI for one-shot Q&A, summaries, and generation. Use when user mentions 'gemini', 'ask gemini', 'gemini cli', or needs a quick answer from Google's model.

Why use Gemini on TypingMind?

Because you install it once and use it with any model. Gemini is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Gemini in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/AlekseiUL/sprut-agent-kit/tree/main/skills/gemini. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Gemini?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Gemini?

As many as you like. As long as a model supports skills, you can use Gemini with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Gemini AI skill free?

Yes. It is published on GitHub by AlekseiUL under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇