Agent skill

Continue Gemini Explicit

by OnlyTerp in OnlyTerp/prompt-cache-skills

Continue's Gemini provider doesn't use the cachedContents API at all.

Custom licenceAuto-check passedBackend & APIs

Install Continue Gemini Explicit

skills CLI
$ npx skills add OnlyTerp/prompt-cache-skills --skill continue-gemini-explicit -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install OnlyTerp/prompt-cache-skills continue-gemini-explicit --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/OnlyTerp/prompt-cache-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/continue-gemini-explicit .claude/skills/continue-gemini-explicit && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
continue-gemini-explicit
GitHub stars
114
Token cost
~1.1k tokens
SKILL.md length
246 words
Files
1
Skills in repo
13
Repo updated
First seen
Licence
Custom licence

At a glance

Continue's Gemini provider doesn't use the cachedContents API at all.

  • Works in 5 steps: Start a Continue chat with… → Capture wire. → First call: should see a POST… → …
  • Tasks that involve Caching
  • SKILL.md covers Target, Symptom, Fix and Verify, plus 1 more section
  • Reaches generativelanguage.googleapis.com

What it does

Continue Gemini Explicit is an agent skill from OnlyTerp/prompt-cache-skills. Continue's Gemini provider doesn't use the cachedContents API at all. Add explicit caching for sessions over the minimum token threshold.

Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Backend & APIs, covering Caching. It works with Google Gemini and OpenAI. The repository describes itself as: Drop-in prompt-caching fixes for the LLM agent harness you use. Point your AI coding agent at this repo and it ships the patches.

When your agent uses it

  • Tasks that involve Caching

Example prompts

  • “s Gemini provider doesn”
  • “/continue-gemini-explicit”

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Start a Continue chat with gemini-2.5-pro or gemini-3-pro-preview
  2. Capture wire.
  3. First call: should see a POST /v1beta/cachedContents create call
  4. Second call: only generateContent, reusing the same
  5. Inspect response usageMetadata.cachedContentTokenCount —

What it can do on your machine

Read from SKILL.md and the folder at commit 5b58ae2. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are diff).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • generativelanguage.googleapis.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Continue Gemini Explicit loads about 1.1k tokens when it runs. Until then it costs about 41 tokens; SKILL.md has 246 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~41
When it runs · the whole SKILL.md, loaded when a task matches
~1.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 246 words (~1,124 tokens).

name
continue-gemini-explicit
target_harness
Continue
target_repo
continuedev/continue
target_files
packages/openai-adapters/src/apis/Gemini.ts
target_commit
main (last push 2026-05-26)
estimated_savings
75% input discount on Gemini Pro / 50% on Flash for sessions above the min-token threshold

Read the full SKILL.md on GitHub

Files

Just SKILL.md in skills/continue-gemini-explicit of OnlyTerp/prompt-cache-skills.

Open the folder on GitHubat commit 5b58ae2

Compare with similar skills

Continue Gemini Explicit next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Continue Gemini Explicit compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Continue Gemini Explicit this skillOnlyTerp/prompt-cache-skills114—~1.1kAutomated safety check: PassCustom licence
Trpc PatternsFranciscoMoretti/chat-js1.2k—~288Automated safety check: PassApache-2.0
LLM Gatewaysickn33/agentic-awesome-skills47k1 repos~2.1kAutomated safety check: PassMIT
Embeddings via 9Routerdecolua/9router30k—~604Automated safety check: PassMIT
Using Ccproxy APIstarbaser/ccproxy348—~4kAutomated safety check: PassCustom licence
Caching Architecturemajiayu000/litellm-rs116—~2kAutomated safety check: PassMIT

Similar skills

  • Trpc Patterns

    FranciscoMoretti/chat-js

    Implement ChatJS tRPC routers, TanStack Query hooks, mutations, and cache invalidation.

    1.2k GitHub stars~288 tokensUpdated today
    Backend & APIsAuto-check passed
  • LLM Gateway

    sickn33/agentic-awesome-skills

    Deploy an API gateway for LLM traffic with load balancing, rate limiting, key management, semantic caching, fallback routing, and cost tracking.

    47k GitHub starsUsed in 1 repo~2.1k tokens
    Backend & APIsAuto-check passed
  • Embeddings via 9Router

    decolua/9router

    Generates vector embeddings through the 9Router /v1/embeddings endpoint, using models from providers such as OpenAI, Gemini, Mistral and Voyage for RAG and semantic search.

    30k GitHub stars~604 tokensUpdated 7 days ago
    AI & LLM EngineeringAuto-check passed
  • Using Ccproxy API

    starbaser/ccproxy

    Guides users through ccproxy as an OpenAI-compatible and Anthropic-compatible LLM API server with SDK integration, OAuth authentication, sentinel key substitution, model routing, and troubleshooting.

    348 GitHub stars~4k tokensUpdated 1 mo ago
    AI & LLM EngineeringAuto-check passed
  • Caching Architecture

    majiayu000/litellm-rs

    LiteLLM-RS response caching architecture. An agent skill from majiayu000/litellm-rs.

    116 GitHub stars~2k tokensUpdated yesterday
    AI & LLM EngineeringAuto-check passed
  • Lazy Prefetch Pattern

    FranciscoMoretti/chat-js

    Use the ChatJS React Query v5 lazy-prefetch pattern without blocking server rendering.

    1.2k GitHub stars~217 tokensUpdated today
    Backend & APIsAuto-check passed

More from OnlyTerp/prompt-cache-skills

All 13 skills in this repo
  • Aider One-Hour Cache TTL

    OnlyTerp/prompt-cache-skills

    Patches Aider to request Anthropic's one-hour prompt cache lifetime, so long pauses between turns no longer expire the cache or need paid keepalive pings.

    114 GitHub stars~990 tokensUpdated 1 mo ago
    Auto-check passed
  • Aider Prompt Caching Default

    OnlyTerp/prompt-cache-skills

    Patch recipe that turns on Aider's --cache-prompts by default for models that support caching, with a verification procedure against the wire request.

    114 GitHub stars~638 tokensUpdated 1 mo ago
    Auto-check passed
  • Cline Prompt Cache Ladder Check

    OnlyTerp/prompt-cache-skills

    Verifies how Cline marks Anthropic prompt-cache breakpoints on the wire, then adds a tools breakpoint and tunes the cache TTL in its AI SDK code.

    114 GitHub stars~2k tokensUpdated 1 mo ago
    Auto-check passed
  • Cline OpenAI Prompt Cache Key Fix

    OnlyTerp/prompt-cache-skills

    Patch guide for adding a stable per-task prompt_cache_key to Cline's OpenAI native provider so cached token counts stop reading as zero.

    114 GitHub stars~868 tokensUpdated 1 mo ago
    Auto-check passed
  • Cline Pin Timestamp

    OnlyTerp/prompt-cache-skills

    Cline's system prompt includes a timestamp that may be recomputed per request, invalidating the system-prompt cache.

    114 GitHub stars~751 tokensUpdated 1 mo ago
    Auto-check passed
  • Continue Enable Defaults

    OnlyTerp/prompt-cache-skills

    Continue's prompt caching is opt-in via config and off by default.

    114 GitHub stars~977 tokensUpdated 1 mo ago
    Auto-check passed

Questions about Continue Gemini Explicit

What does Continue Gemini Explicit do?

Continue's Gemini provider doesn't use the cachedContents API at all. Continue Gemini Explicit is an agent skill from OnlyTerp/prompt-cache-skills. Continue's Gemini provider doesn't use the cachedContents API at all.

When should I use Continue Gemini Explicit?

Continue Gemini Explicit fits situations like: tasks that involve Caching.

How do I install Continue Gemini Explicit in Claude Code?

Run `npx skills add OnlyTerp/prompt-cache-skills --skill continue-gemini-explicit -a claude-code`. Or copy the skill folder (skills/continue-gemini-explicit in OnlyTerp/prompt-cache-skills) into .claude/skills/continue-gemini-explicit in your project. Claude Code loads it when a task matches its description.

How do I install Continue Gemini Explicit in Codex?

Run `npx skills add OnlyTerp/prompt-cache-skills --skill continue-gemini-explicit -a codex`. Or copy the skill folder (skills/continue-gemini-explicit in OnlyTerp/prompt-cache-skills) into .agents/skills/continue-gemini-explicit in your project. Codex loads it when a task matches its description.

Can I use Continue Gemini Explicit in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add OnlyTerp/prompt-cache-skills --skill continue-gemini-explicit -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/continue-gemini-explicit, .gemini/skills/continue-gemini-explicit, .github/skills/continue-gemini-explicit and .opencode/skills/continue-gemini-explicit in your project.

What does Continue Gemini Explicit need to run?

SKILL.md names no scripts, command-line tools or credentials: Continue Gemini Explicit is instructions for the agent only.

Does Continue Gemini Explicit access the network?

SKILL.md names 1 domain. In commands or code: generativelanguage.googleapis.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Continue Gemini Explicit safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Continue Gemini Explicit use?

Continue Gemini Explicit has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Continue Gemini Explicit use?

About 1.1k tokens (SKILL.md is roughly 4.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Continue Gemini Explicit?

Skills that share tags, products or a category with Continue Gemini Explicit: Trpc Patterns (FranciscoMoretti/chat-js, 1.2k stars), LLM Gateway (sickn33/agentic-awesome-skills, 47k stars), Embeddings via 9Router (decolua/9router, 30k stars) and Using Ccproxy API (starbaser/ccproxy, 348 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Continue Gemini Explicit?

OnlyTerp (a GitHub user) maintains it in OnlyTerp/prompt-cache-skills, which has 114 GitHub stars. The repository holds 13 skills in this directory. The repository was last updated on August 29, 2026.

Source: OnlyTerp/prompt-cache-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.