opencode-bedrock-doc-blocks

Community

Fix Bedrock caching errors for OpenCode

AuthorOnlyTerp
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill addresses caching errors in OpenCode when processing Bedrock messages containing DocumentBlocks, preventing the "nothing available to cache" error.

Core Features & Use Cases

  • Bedrock Caching Fix: Corrects caching issues in OpenCode by skipping cachePoint placement on Bedrock DocumentBlock messages.
  • Error Prevention: Ensures that the caching error does not occur when a Bedrock message contains a DocumentBlock.
  • Use Case: When using OpenCode with Bedrock Claude model and encountering a "ValidationException: nothing available to cache" error due to DocumentBlocks, this Skill restores caching functionality.

Quick Start

Apply the opencode-bedrock-doc-blocks skill to fix Bedrock caching errors in OpenCode.

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-bedrock-doc-blocks
Download link: https://github.com/OnlyTerp/prompt-cache-skills/archive/main.zip#opencode-bedrock-doc-blocks

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.