onlyterp/prompt-cache-skills/continue-enable-defaults
Claude Code and agent skill by onlyterp/prompt-cache-skills
- community
Checking that the SKILL.md file is still in the repository.
Continue's prompt caching is opt-in via config and off by default. Flip the default to systemAndTools.
Install
npx vskill@latest install onlyterp/prompt-cache-skills/continue-enable-defaultsSKILL.md
Continue: enable caching defaults
Target
packages/openai-adapters/src/apis/Anthropic.ts and core/llm/llms/Bedrock.ts in continuedev/continue.
Symptom
Continue's caching is gated on three config flags:
cacheBehavior.cacheConversation(default: false)cacheBehavior.cacheSystemMessage(default: false)completionOptions.promptCaching(default: false)
A user has to know all three exist and set them in config.yaml. Most don't. Net effect: the median user gets no caching.
Open issue #5172 ("Anthropic prompt caching doesn't work") is mostly this — users don't realize they need to configure it.
Fix (two-part)
Part A — flip the default strategy
In Anthropic.ts:
(systemAndTools already IS the documented default in the code path above, but the user-facing config schema treats it as optional with unclear default. Audit your codebase to confirm the actual fallback behavior matches the documented one. If not, fix.)
Part B — auto-enable conversation message caching for supported models
Same change in Bedrock.ts — auto-enable cachePoint for models with supportsPromptCache: true unless user explicitly opts out.
Part C — document the change in CHANGELOG
Users coming from older Continue versions will see bills shift (downward, but still a change). Add a CHANGELOG entry calling out that caching is now default-on for supported models.
Verify
- With NO
cacheBehaviororcompletionOptions.promptCachingset
in config.yaml, start a Continue chat with Claude.
- Capture wire.
- Confirm outbound request body contains
cache_controlmarkers
without any user config touching them.
- Confirm second-turn response
usage.cache_read_input_tokens > 0.
Background
Caching that requires a config flag to enable is caching that doesn't get used. The 1.25x write premium pays for itself after ~3 reads, which any multi-turn chat clears trivially. There's no scenario where "caching off" is the right default for an agent CLI on a model that supports it.
This skill is best applied alongside continue-fix-volatile-msg (same Cline-family copy-paste bug present in Continue too) so users don't get the cache thrash without knowing.
Full audit: audits/continue.md.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/continue-enable-defaults/SKILL.md
Popularity
- Repository stars
- 99
- Repository forks
- 6
- 7-day trend score
- 23
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/onlyterp/prompt-cache-skills/continue-enable-defaults)