SuperAPI AI Directory

run-gemini

Agents & models

View repository

Updated 10-16 00:01

About this skill

Feature Overview

Send an assistance request to an external assistant through the MCP tool, asking it to perform tasks such as web search, web page reading, long-text reading comprehension, and full-text translation in a clean-context, runtime-isolated, independent environment.

Usage

Use the mcp__plugin_headless-knight_runCLI__gemini tool to send a request to the assistant. The parameters that can be passed include:

  • prompt: string, the complete task description organized from the context, required parameter
  • systemPrompt: string, the system prompt organized from the context that the assistant needs to follow, used to constrain its behavior, optional
  • workDir: string, working directory, defaults to the current directory, optional
  • model: string, specifies which model to use. The value is the code of a model such as "gemini-3-pro-preview", "gemini-2.5-flash", or "gemini-2.5-flash-lite", optional, defaults to gemini-2.5-flash
  • env: object, custom environment variables, key-value pairs, optional

Model Selection

  • gemini-3-pro-preview: Skilled at executing tasks such as reading comprehension of ultra-long documents, literature organization and summarization, revision and writing of medium-to-long novels, full-text translation, and web and front-end interface creation
  • gemini-2.5-flash: Skilled at web search, reading comprehension of long documents, creative writing, translation review and revision, and so on
  • gemini-2.5-flash-lite: Suitable for extremely fast responses and brainstorming

Related Environment Variables

If not otherwise set, the configuration in the current conversation context is used automatically

  • GEMINI_API_KEY: API_Key for Codex CLI
  • HTTP_PROXY: HTTP proxy address
  • HTTPS_PROXY: HTTPS proxy address
  • ALL_PROXY: Default proxy address
  • GEMINI_CLI_COMMAND: Codex command-line address or name (make sure the path is included in PATH)
  • NODE_ENV: Environment parameter, such as "development"