fable-prompt-cache
Use to execute Claude Fable 5 prompts on Google Cloud Vertex AI using prompt caching breakpoints to minimize token usage costs by up to 90%.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use to execute Claude Fable 5 prompts on Google Cloud Vertex AI using prompt caching breakpoints to minimize token usage costs by up to 90%.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use for running automated LLM codebase audits with Gemini 2.5 Pro, ensuring AGENTS.md compliance, API thread safety, and security hardening.
Use for GoodQ4All repo runtime audits, clean memory starts, Qdrant cleanup, ingestion validation, local fallback/audio repair, operator-console visibility, and agent-facing documentation truth maintenance.
Use for GoodQ4All repo runtime audits, clean memory starts, Qdrant cleanup, ingestion validation, local fallback/audio repair, operator-console visibility, and agent-facing documentation truth maintenance.
Typer best practices and conventions. Use when working with Typer CLIs. Keeps Typer code clean and up to date with the latest features and patterns, updated with new versions. Write new code or refactor and update old code.
| name | fable-prompt-cache |
| description | Use to execute Claude Fable 5 prompts on Google Cloud Vertex AI using prompt caching breakpoints to minimize token usage costs by up to 90%. |
Use this skill when running prompts against Anthropic's Claude Fable 5 model on Google Cloud Vertex AI. This workflow leverages Vertex AI's support for ephemeral prompt caching to optimize token usage.
aiplatform.googleapis.com/online_prediction_input_tokens_per_minute_per_base_modelanthropic-claude-fable-5us-east5gcloud auth application-default login
To trigger prompt caching, the cached portion of your prompt (e.g., system instructions or static context) must exceed the minimum size threshold (1,024 tokens).
Format the request as an array of content blocks and attach the cache_control parameter to the stable block you want to cache.
Endpoint:
POST https://us-east5-aiplatform.googleapis.com/v1/projects/<PROJECT_ID>/locations/us-east5/publishers/anthropic/models/claude-fable-5:rawPredict
Payload Example:
{
"anthropic_version": "vertex-2024-10-22",
"messages": [
{
"role": "user",
"content": "Perform the task based on the system instructions."
}
],
"system": [
{
"type": "text",
"text": "... [Stable instructions (>1,024 tokens)] ...",
"cache_control": {"type": "ephemeral"}
}
],
"max_tokens": 4096,
"stream": false
}
In the API response, inspect the usage block:
cache_creation_input_tokens > 0 (first run / cache miss).cache_read_input_tokens > 0 and cache_creation_input_tokens == 0 (subsequent runs within the 5-minute TTL).A pre-packaged script is located in the conversation's scratch directory (scratch/fable_prompt_workflow.py).
conda run -n goodq_core python scratch/fable_prompt_workflow.py "Hello, verify model status."
conda run -n goodq_core python scratch/fable_prompt_workflow.py