Image Analysis
CCS provides first-class image and PDF analysis for third-party launches that do not have reliable native vision support. Native Claude accounts keep Anthropic’s built-in image flow; third-party routes get a CCS-managed localImageAnalysis MCP tool when the runtime is healthy.
Supported file types include common image formats such as .jpg, .png,
.webp, .gif, .heic, .bmp, .tiff, plus .pdf.
Overview
The current routing model is MCP-first:ImageAnalysis over
raw Read for local images and PDFs.
Launch Behavior
| Profile type | Behavior |
|---|---|
Claude default / account | Native Claude vision or native Read |
| Third-party settings, CLIProxy, Copilot | Managed ImageAnalysis MCP when ready |
| Third-party with degraded MCP but usable provider-backed analysis | Legacy CCS Read hook compatibility fallback |
| Third-party with runtime/auth/proxy failure | Native Read fallback |
Read hook so the
managed MCP tool stays authoritative.
Quick Start
Configuration
Prompt Templates
CCS installs editable prompt templates under:default.txtscreenshot.txtdocument.txt
What CCS Repairs Automatically
CCS now self-heals stale managed image-analysis state in three places:- Healthy Claude-target launches remove stale CCS-managed image hooks from the active profile settings before launch.
- Saving or provisioning from
Settings -> Imagerepairs the managed MCP runtime files, syncs theccs-image-analysisentry into isolated Claude configs, and removes stale CCS-managed hooks from~/.ccs/*.settings.json. ccs doctor --fixrepairs invalid image-analysis config, removes stale CCS-managed hooks, and resyncs the managed MCP entry into isolated configs.
Runtime Details
Key runtime environment variables:| Variable | Purpose |
|---|---|
CCS_IMAGE_ANALYSIS_SKIP | Disable image analysis for the current launch |
CCS_IMAGE_ANALYSIS_SKIP_HOOK | Suppress only the legacy Read hook while keeping MCP available |
CCS_IMAGE_ANALYSIS_RUNTIME_BASE_URL | Explicit CCS runtime base URL |
CCS_IMAGE_ANALYSIS_RUNTIME_PATH | Provider route such as /api/provider/agy |
CCS_IMAGE_ANALYSIS_RUNTIME_API_KEY | Explicit CCS runtime auth key |
CCS_IMAGE_ANALYSIS_MODEL | Force a single model for the launch |
CCS_DEBUG | Verbose runtime logging |
Troubleshooting
Claude still uses Read
- Confirm
ccs config image-analysisstill showsenabled: true - Check the active profile resolves to a usable backend
- Run
ccs doctor --fixto repair stale managed hooks or missing MCP sync - Run with
CCS_DEBUG=1to inspect runtime preparation
ImageAnalysis is not exposed
- Verify the resolved backend is authenticated
- Verify the local or remote CLIProxy target is reachable
- Check inherited Claude config directories for the managed
ccs-image-analysisMCP entry
The wrong backend or model is being used
- Inspect
fallback_backendandprofile_backendsinccs config image-analysis - Check whether the profile is bridge-backed or using a direct CLIProxy provider
- Set an explicit provider model with
--set-modelif the default is not what you want
I need proof that requests go directly to the provider route
Run withCCS_DEBUG=1 and inspect the resolved runtime path. It should target a
provider-scoped route such as:
