continue-gemini-explicit

Add explicit caching to Gemini sessions in Continue for cost reduction.

113|8|Updated May 28, 2026
One-click install
npx skills add https://github.com/OnlyTerp/prompt-cache-skills --skill continue-gemini-explicit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: continue-gemini-explicit
Source: https://github.com/OnlyTerp/prompt-cache-skills/tree/main/skills/continue-gemini-explicit
Command: npx skills add https://github.com/OnlyTerp/prompt-cache-skills --skill continue-gemini-explicit

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

The Gemini provider in Continue does not utilize explicit caching, leading to missed opportunities for cost savings. This Skill adds explicit caching to Gemini sessions over a minimum token threshold, ensuring guaranteed cost reduction.

Core Features & Use Cases

  • Explicit Caching: Implements explicit caching for Gemini sessions, guaranteeing a 75% discount on Gemini Pro and 50% on Flash for sessions above the min-token threshold.
  • Targeted Optimization: Focuses on long-running Gemini sessions with the same system prompt and tools, providing guaranteed cost savings.
  • Use Case: For a developer using Continue with Gemini, this Skill ensures that repeated sessions with the same prompt and tools are cached, significantly reducing API costs.

Quick Start

Apply the continue-gemini-explicit skill to enable explicit caching for Gemini sessions in Continue.

Frequently Asked Questions about continue-gemini-explicit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enable explicit caching for Gemini sessions in Continue?

You can enable explicit caching for Gemini sessions in Continue by applying this skill, which activates caching for sessions exceeding a minimum token threshold to guarantee cost reduction.

How does explicit caching reduce Gemini Pro API costs?

Explicit caching reduces Gemini Pro API costs by applying a guaranteed 75% discount for sessions above the minimum token threshold. It targets long-running sessions with stable system prompts and tools.

Does Continue support explicit caching for Gemini Flash plans?

Yes, this skill brings explicit caching support to Gemini Flash plans in Continue, guaranteeing a 50% discount for qualifying sessions above the minimum token threshold.

What is the minimum token threshold for Gemini caching in Continue?

The minimum token threshold is the session length required to trigger explicit caching for Gemini in Continue. Sessions exceeding this token count qualify for guaranteed cost savings.

When should I use explicit caching for Gemini sessions?

You should use explicit caching for Gemini sessions when you have long-running interactions with the same system prompt and tools. This ensures your sessions exceed the token threshold for guaranteed cost optimization.

Why are my Gemini API costs high in Continue despite stable system prompts?

Gemini API costs in Continue remain high because the default provider does not utilize explicit caching. Applying this skill implements explicit caching to cache stable prompts and guarantee cost savings.