---
name: claude-api-lite
description: Lightweight router for Claude API, Claude Code, context windows, prompt caching, token counting, tool use, and model migration questions. Loads only narrow references to avoid skill-induced context bloat.
---
# Claude API Lite Skill
This skill is a router, not a documentation dump. Its purpose is to answer Claude API / Claude Code questions while avoiding context bloat from large bundled docs.
## Non-negotiable context rule
Do **not** bulk-load this whole skill. Do **not** read every reference file. Do **not** read all language docs. If more than three files seem relevant, read the narrowest three first and continue only if the answer still needs more.
## First classify the request
Pick one or two categories:
- Claude Code / proxy routing / context-window 400
- Prompt caching / compaction / context editing
- Token counting / estimating prompt size
- Model IDs / context windows / feature support
- SDK implementation in one language
- Tool use / MCP / server tools
- Managed Agents / remote agents
- Authentication / CLI usage
Then read only the files needed for that category.
## Local reference map
### Claude Code, proxies, context-window errors
Read:
- `references/claude-code-routing.md`
- `references/context-management.md` only if cache or compaction matters
- `references/token-counting.md` only if estimating size matters
Key reminder: a proxy can advertise a large context window, but the downstream model enforces the real limit. Prompt cache saves cost and latency; cached tokens still count against the context window.
<!-- ‹guest · 2026-12-03› -->
### Prompt cache, compaction, context editing
Read:
- `references/context-management.md`
- `references/token-counting.md` only if exact counts or estimates are needed
### Token counting
Read:
- `references/token-counting.md`
### Everything else
Answer from general knowledge if the question is simple. If the user needs exact syntax or current limits, read the relevant official docs or a small local note; do not import a full documentation bundle.
## Output behavior
Be compact. Cite the small reference files read when useful. If exact API syntax is uncertain because no language-specific reference was read, say so and fetch only that narrow source before writing code.
این نسخه با نشانهگذاری اختصاصی حساب شما نمایش داده میشود. برای نصب سریع، به تب نصب و راهاندازی بروید.