opencode-detect-openai-compat
CommunityBoost OpenCode's caching with OpenAI-compatible proxy detection.
AuthorOnlyTerp
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill addresses the issue of OpenCode's caching detection missing OpenAI-compatible proxies routing to Anthropic/Bedrock, improving cache hit rates for these routes.
Core Features & Use Cases
- Enhanced Caching Detection: Detects OpenAI-compatible Anthropic proxies to ensure proper caching.
- Target Harness: Designed for OpenCode.
- Fix Implementation: Modifies the detection predicate in OpenCode's codebase to handle Anthropic-shaped models with OpenAI-compatible proxies.
- Use Case: If you're using OpenCode and routing Anthropic-shaped models through an OpenAI-compatible proxy, this Skill ensures cache hits for these routes.
Quick Start
Apply the opencode-detect-openai-compat skill to your OpenCode setup to enable caching for OpenAI-compatible Anthropic proxies.
Dependency Matrix
Required Modules
None requiredComponents
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-detect-openai-compat Download link: https://github.com/OnlyTerp/prompt-cache-skills/archive/main.zip#opencode-detect-openai-compat Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 620,000+ vetted skills library on demand.