Logo de Agent Tool Design

Agent Tool Design

Comunidade
IgorWarzocha
agent-tool-design

Read before creating, reviewing, or refining a tool exposed to an agent.

Visão geral

Publicado porIgorWarzocha
Repositóriohowaboua-agent-stuff
Nome da habilidadeagent-tool-design
Estrelas
426
Forks
46
Arquivos incluídos
1
LicençaMIT
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Arquivos incluídos: 1

    Scripts, templates e referências que o modelo pode ler enquanto trabalha. Os arquivos são somente para leitura e nunca são executados.

  • Código aberto

    Publicada por IgorWarzocha no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Agent Tool Design no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/IgorWarzocha/howaboua-agent-stuff/tree/main/packages/pi-skill-harness-and-agent-engineering/skills/agent-tool-design
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/IgorWarzocha/howaboua-agent-stuff.git /tmp/howaboua-agent-stuff
mkdir -p .claude/skills
cp -r /tmp/howaboua-agent-stuff/packages/pi-skill-harness-and-agent-engineering/skills/agent-tool-design .claude/skills/agent-tool-design
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Agent Tool Design em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Agent Tool Design automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Agent Tool Design não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

For a Pi tool, also read references/pi.md.

Start from what the agent knows

  • Prefer canonical tool names and argument shapes already present in the target model's training.
  • Treat a familiar tool schema as a runtime binding, not a tutorial. State only this implementation's meaningful deviations.
  • Give an unfamiliar capability an obvious action name and familiar inputs. The agent should predict the call from the name and schema.
  • When unsure, present the bare contract to the target model first. Add only the fact it could not infer correctly.

Fix model choices at the model boundary

  • When the implementation supports the right behaviour but the model selects the wrong action or argument, treat it as a model-facing contract failure first.
  • Fix the name, default, argument description, or prompt guidance before adding runtime policy, heuristics, or extra state.
  • Before changing a tool contract for external behaviour, exercise the actual route. Accepted fields and public docs do not prove the route honours them. Separate body controls from prompt-mediated behaviour.
  • Describe choices in terms of user intent, not only mechanics. “False returns immediately” explains execution. “Use false only while continuing other work” changes the model's decision.
  • Test paired natural requests that differ only at the decision boundary. Confirm the model chooses correctly before changing implementation.

Keep the decision surface small

Prefer a stable help-backed or deferred contract for unfamiliar multi-action tools or tools whose accepted arguments vary with state. Keep capability discovery visible. Disclose current arguments and tool-specific guidance on demand. Where supported, use a string input with a help operation. Preserve familiar native contracts and simple self-explanatory schemas instead of wrapping them for uniformity. If harness or API constraints require an upfront schema, keep it minimal. For prompt or tool-vector changes, load an applicable prompt-caching skill.

For help-backed tools, silently discard known presentation hints when the chosen action does not use them. Normalize at the input boundary and keep execution types strict. Reject arguments whose omission could change the target, action, scope, safety, or intended result. Do not blanket-ignore unknown fields.

  • Give one tool one coherent job. Extend an existing tool instead of making the agent choose between overlapping alternatives.
  • Expose only decisions the caller must make. Keep providers, models, prompts, commands, internal modes, formatting, and policy inside the implementation unless the agent genuinely chooses them.
  • Require only the minimum valid input. Add an optional field only when omission has a useful deterministic meaning.
  • Do not invent an argument whose only job is to splice ordinary intent into an existing prompt. Attach concise guidance to that prompt field instead.
  • Prefer conventional names such as cmd, path, query, cwd, and message. Use a small enum when the choice is genuinely closed.
  • If a field needs a paragraph to make sense, remove it, rename it, or reconsider the tool boundary.

Let the schema speak

  • Do not narrate types, requiredness, optionality, enums, defaults, or limits already encoded by the schema.
  • Omit a field description when its name is sufficient.
  • Write necessary descriptions as compact payload fragments: Cwd, Wait ms, Recent days, Truncate.
  • Attach guidance to the narrowest field it qualifies, so placement supplies context. Tell the agent what to supply or do. Prefer a concrete supported action over negative capability prose.
  • Omit cosmetic terminal full stops, backticks, Markdown, examples, and grammatical padding. Preserve punctuation and formatting only when they carry literal syntax or prevent ambiguity.
  • Keep safe compatibility aliases inside argument preparation rather than advertising them in the schema.

Reject bloated tool contracts

  • Existing text gets no exemption. When touching a tool or its integration, cull its entire model-facing contract before adding anything.
  • Judge the assembled tool block, not individual fields or packages. A collection of short descriptions can still be an oversized manual.
  • Each fact gets one representation per active mode. Reject repetition across usage, descriptions, schemas, snippets, guidelines, and help. Do not restate the tool name and action as its description.
  • Keep inventory text to one short capability or exact usage line. Help-backed tools get one compact discovery entry; detailed actions, optional fields, and examples belong in help.
  • Reject feature inventories, nested optional APIs, troubleshooting manuals, and generic agent workflow in standing prompts. Keep the immediate callable contract and necessary non-obvious constraints. Put rare invalid-state recovery in precise runtime errors.
  • Every additional standing instruction must identify the concrete wrong decision it prevents and why the existing name, schema, help, or error cannot prevent it. Unfamiliar capabilities, local deviations, tool collisions, exact syntax, safety boundaries, and recurring mistakes may justify text; mere feature existence does not.
  • "Preserve metadata", "feature parity", and "might help" do not justify prompt growth. Reject the change until redundant and unjustified text is removed; a net token reduction does not excuse remaining clutter.

Return useful state

  • Treat every tool return, including errors, as a next-action contract. On success, return needed state and disclose a newly available action when it is useful, not generic workflow advice.
  • On failure, state the practical consequence, what remains available, and a valid next action. Distinguish no change from partial completion before suggesting a retry.
  • Signal failure through the host's error mechanism, not error-shaped success. Distinguish running, cancelled, truncated, empty, and completed work when the next action differs.
  • Keep implementation diagnostics out of model-facing text unless needed to act. Recovery must use the agent's available capabilities; leave account, authentication, and configuration decisions to the user instead of prescribing them as agent recovery.
  • Bound large output and make truncation visible. If omitted content may be needed, return a way to retrieve it.
  • Keep render-only detail out of the model-facing result.

Validate

Inspect the exact schema and prompt text sent to the model. Apply the rejection gate to every word, field, and guideline, including unchanged text in the touched contract.

Check representative valid calls, invalid calls, neighbouring-tool selection, empty output, failure, and continuation where relevant. Optimize task success first, then compare token cost.

Arquivos incluídos

O modelo lê esses arquivos sob demanda enquanto a habilidade está carregada. Eles são disponibilizados para leitura e nunca são executados.

Perguntas frequentes

O que a habilidade de IA Agent Tool Design faz?

Read before creating, reviewing, or refining a tool exposed to an agent.

Por que usar Agent Tool Design no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Agent Tool Design é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Agent Tool Design no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/IgorWarzocha/howaboua-agent-stuff/tree/main/packages/pi-skill-harness-and-agent-engineering/skills/agent-tool-design. O TypingMind lê o arquivo SKILL.md, reúne os arquivos da habilidade e a instala para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Agent Tool Design?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Agent Tool Design?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Agent Tool Design com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Agent Tool Design é gratuita?

Sim. A habilidade é publicada no GitHub por IgorWarzocha sob a licença MIT. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇