Pular para o conteúdo
TakoAPI
Voltar às skills

smart-context

por joe3112

AI & LLMs
—Ainda sem avaliações
Sua avaliação

Resumo

Token-efficient agent behavior — response sizing, context pruning, tool efficiency, and delegation.

Descrição

O que esta skill faz

Instructs agents to match response length to question complexity, batch tool calls, and avoid loading files unnecessarily. Covers response sizing rules, context pruning, vision call costs, and delegating bulk work to cheaper sub-agent models.

Instead of applying uniform verbosity to every task, it uses a cost-aware decision tree that trims tokens on simple work while preserving depth where complexity demands it.

Quando usá-la

  • Cutting API costs on high-volume agent pipelines
  • Batching parallel tool calls to reduce round-trips
  • Skipping memory lookups for simple greetings or status checks
  • Delegating bulk file formatting to a lighter model
  • Getting direct answers without preamble or restatements

Exemplo de fluxo de trabalho

ENTRADA

User asks: Is the config file present?

AGENTE
  1. 1

    Classifies question as yes/no type

  2. 2

    Determines a single targeted check is sufficient — no full file read needed

  3. 3

    Makes one tool call with a specific path lookup

  4. 4

    Skips confirmation read after the check

SAÍDA

Yes, config.json exists in the project root.

Instalação

clawhub install joe3112/smart-context

Execute o comando da CLI ou cole o prompt no Claude Code, Cursor, Codex ou no agente de código que você usa.

Links