OpenParable
Skip to content
← Back to skills

Preset Skill Gemini

Agent Building
preset-skill-gemini

Preset Skill Gemini is an Agent Skill for agent building published in the Lingtai-AI/lingtai repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Nested lingtai-preset-skill reference for the `gemini` built-in preset. Read when verifying shipped identity, provider sources, and compatibility facts for the `gemini` template preset.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/Lingtai-AI/lingtai/blob/HEAD/tui/internal/preset/skills/lingtai-preset-skill/reference/gemini/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/preset-skill-gemini, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

gemini — built-in preset manual

Google Gemini — native adapter, multimodal, tool calling, vision.

When to read

  • Someone asks about the gemini built-in preset, its model, auth, or protocol.
  • Verifying Gemini model/pricing information.

Shipped identity (verify in TUI source)

FieldValueSource
Preset namegeminipreset.go:1026
llm.providergeminipreset.go:1030
llm.modelgemini-3-flash-previewpreset.go:1030
llm.api_key_envGEMINI_API_KEYpreset.go:1031
ProtocolNative Gemini — NOT OpenAI-compatpreset.go:1023-1024
Tier3preset.go:1027
Capabilitiesvision (native), web_search (DuckDuckGo), skills defaultpreset.go:1033-1038

No OAuth, no base_url, no api_compat. The kernel's GeminiAdapter wraps google.genai.Client directly (llm/gemini/adapter.py:702).

Kernel adapter architecture

Two session backends:

  1. Interactions API (primary, adapter.py:739) — server-side conversation state.
  2. Chat API (fallback for json_schema mode, adapter.py:762-798).

The adapter auto-selects thinking config for Gemini 3+ models (_supports_thinking(), adapter.py:115-126).

Official provider sources

Do not embed current model lists, pricing, or quotas — they change frequently.

Maintenance checklist

  • Provider-owned (refresh): models, pricing, rate limits, available model IDs.
  • LingTai-owned (verify in source): provider string, adapter class, env var name, capability flags, kernel registration.