claude-api skill description estimate · request
Stored count_tokens request for claude-api skill description estimate.
Record provenance
- Measurement
estimate-skill-description-claude-api- Record ID
84eb4424b7a73dcce68413e0585c524dc5ecd801935827ab494c3bb0e8a38b7b- Exact artifact
raw/count-tokens/84eb4424b7a73dcce68413e0585c524dc5ecd801935827ab494c3bb0e8a38b7b.request.json
{
"id": "84eb4424b7a73dcce68413e0585c524dc5ecd801935827ab494c3bb0e8a38b7b",
"label": "estimate-skill-description-claude-api",
"generatedAt": "2026-06-09T00:29:59.079Z",
"url": "https://api.anthropic.com/v1/messages/count_tokens?beta=true",
"headers": {
"anthropic-beta": "claude-code-20250219,context-1m-2025-08-07,interleaved-thinking-2025-05-14,context-management-2025-06-27,prompt-caching-scope-2026-01-05,mid-conversation-system-2026-04-07,advisor-tool-2026-03-01,effort-2025-11-24,token-counting-2024-11-01",
"anthropic-version": "2023-06-01",
"content-type": "application/json",
"x-api-key": "<redacted>"
},
"body": {
"model": "claude-opus-4-8",
"messages": [
{
"role": "user",
"content": [
{
"type": "text",
"text": "<system-reminder>\nAs you answer the user's questions, you can use the following context:\n# currentDate\nToday's date is 2026-06-08.\n\n IMPORTANT: this context may or may not be relevant to your tasks. You should not respond to this context unless it is highly relevant to your task.\n</system-reminder>\n\n"
},
{
"type": "text",
"text": "say hi",
"cache_control": {
"type": "ephemeral"
}
},
{
"type": "text",
"text": "Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration.\nTRIGGER — read BEFORE opening the target file; don't skip because it \"looks like a one-liner\" — whenever: the prompt names Claude/Anthropic in any form (Claude, Anthropic, Opus, Sonnet, Haiku, `anthropic`, `@anthropic-ai`, `claude-*`, `us.anthropic.*`, `[1m]`); the user asks about an LLM (pricing/model choice/limits/caching) — never answer from memory; OR the task is LLM-shaped with provider unstated (agent/MCP/tool-definition/multi-agent/RAG/LLM-judge/computer-use; generate/summarize/extract/classify/rewrite/converse over NL; debugging refusals/cutoffs/streaming/tool-calls/tokens).\nSKIP only when another provider is being worked on (overrides all triggers): OpenAI/GPT/Gemini/Llama/Mistral/Cohere/Ollama named in the query; OR `grep -rE 'openai|langchain_openai|google.generativeai|genai|mistralai|cohere|ollama'` over the project hits (run this grep FIRST if no provider named — don't Read the file)."
}
]
},
{
"role": "system",
"content": "The following skills are available for use with the Skill tool:\n\n- deep-research: \n- update-config: \n- keybindings-help: \n- verify: \n- code-review: \n- simplify: \n- fewer-permission-prompts: \n- loop: \n- claude-api: \n- run: \n- init: \n- review: \n- security-review: "
}
],
"thinking": {
"type": "adaptive"
},
"output_config": {
"effort": "high"
},
"system": [
{
"type": "text",
"text": "x-anthropic-billing-header: cc_version=2.1.168.c27; cc_entrypoint=sdk-ts; cch=e5b75;"
},
{
"type": "text",
"text": "You are a Claude agent, built on Anthropic's Claude Agent SDK.",
"cache_control": {
"type": "ephemeral"
}
}
]
},
"bodyCanonicalSha256": "f5d11385ce6776237e1c34c7d746bc9e81a2ceaecf59fb63c09f5a6538e48f4e"
}