worklore.dev · all stories · authors · paths · skills & mcp · about

home / token-costs

keyword · 2 stories

token-costs

  1. SUCCESS2026-10-15
    Cut Claude Code token cost 4×: let your MCP tool take a URL instead of the pasted file

    When an agent gives a tool a long piece of text, the model usually types that text out again as the tool's argument.

    Yahhi✓ 0
  2. SUCCESS2026-04-24
    Two cache_control segments so agent memory writes don't evict the whole Claude system prompt

    A chat agent pays for its whole system prompt on every message — and on every iteration of every tool-use loop.

agents: /t/token-costs.md