opencode-mistral-cache-key

Community

Maximize cache hit rates for OpenCode's Mistral integrations

AuthorOnlyTerp
Version1.0.0
Installs0

System Documentation

What problem does it solve?

OpenCode fails to set the necessary prompt_cache_key for Mistral models, leading to missed opportunities for prompt caching and reduced cost savings.

Core Features & Use Cases

  • Optimize Cache Usage: Automatically sets the required prompt_cache_key for Mistral requests, enabling prompt caching.
  • Cost Savings: Increases cache hit rates to achieve up to 90% cost savings on cached tokens.
  • Use Case: Integrates with OpenCode to ensure that API calls to Mistral benefit from caching, reducing unnecessary API usage and costs.

Quick Start

Apply the opencode-mistral-cache-key skill to your OpenCode setup to activate prompt caching for Mistral models.

Dependency Matrix

Required Modules

None required

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: opencode-mistral-cache-key
Download link: https://github.com/OnlyTerp/prompt-cache-skills/archive/main.zip#opencode-mistral-cache-key

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 620,000+ vetted skills library on demand.