Preset Skill Gemini
Agent Buildingpreset-skill-geminiPreset 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.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
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
geminibuilt-in preset, its model, auth, or protocol. - Verifying Gemini model/pricing information.
Shipped identity (verify in TUI source)
| Field | Value | Source |
|---|---|---|
| Preset name | gemini | preset.go:1026 |
llm.provider | gemini | preset.go:1030 |
llm.model | gemini-3-flash-preview | preset.go:1030 |
llm.api_key_env | GEMINI_API_KEY | preset.go:1031 |
| Protocol | Native Gemini — NOT OpenAI-compat | preset.go:1023-1024 |
| Tier | 3 | preset.go:1027 |
| Capabilities | vision (native), web_search (DuckDuckGo), skills default | preset.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:
- Interactions API (primary,
adapter.py:739) — server-side conversation state. - Chat API (fallback for
json_schemamode,adapter.py:762-798).
The adapter auto-selects thinking config for Gemini 3+ models
(_supports_thinking(), adapter.py:115-126).
Official provider sources
| Topic | URL |
|---|---|
| Models and capabilities | https://ai.google.dev/gemini-api/docs/models |
| Pricing and billing | https://ai.google.dev/gemini-api/docs/pricing |
| API key setup | https://ai.google.dev/gemini-api/docs/api-key |
| API reference | https://ai.google.dev/api |
| Python SDK | https://pypi.org/project/google-genai/ |
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.