Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/tray-tecnologia/tray-api-ai-pluginnpx agentmods add skills/tray-tecnologia/tray-api-ai-plugin/configuracao-freteWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/tray-tecnologia/tray-api-ai-plugin/configuracao-frete)<a href="https://agentmods.dev/skills/tray-tecnologia/tray-api-ai-plugin/configuracao-frete"><img src="https://agentmods.dev/badge/skills/tray-tecnologia/tray-api-ai-plugin/configuracao-frete/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/tray-tecnologia/tray-api-ai-plugin/configuracao-frete"><img src="https://agentmods.dev/badge/skills/tray-tecnologia/tray-api-ai-plugin/configuracao-frete.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 1 finding, up to medium
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- medium Agent Snooping · line 30 Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00084 | $0.02226 |
| Opus 5 | $0.00042 | $0.01113 |
| Sonnet 5 | $0.00017 | $0.00445 |
| Haiku 4.5 | $0.00008 | $0.00223 |
Grade A, and why
tray-configuracao-frete scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 209 lines — stays where its author put it; the contents beside it link to each section on GitHub.
MANDATORY: Tool Call Required Before Answering
Esta chamada é OBRIGATÓRIA, não opcional. Execute-a antes de gerar qualquer código ou payload. Se você está respondendo sem ter chamado a ferramenta abaixo, pare e chame agora.
Buscar documentação atualizada (sempre)
node skills/tray-dev/scripts/search_docs.mjs --topic=configuracao-frete "<termo da pergunta>"
<TOPIC_SLUG>: ver tabela emskills/tray-dev/SKILL.md.- Use os trechos retornados como fonte primária; este SKILL.md é resumo.
Nota: este recurso ainda não tem
validate.mjslocal. Você é responsável por revisar campos obrigatórios contra a doc retornada e o resumo abaixo.
Antes de responder
Execute estas verificações antes de gerar qualquer payload ou código:
- Confirme o método HTTP e endpoint correto para a operação solicitada.
- Identifique os campos obrigatórios listados neste documento — não omita nenhum.
- Verifique que
access_tokennão aparece como literal string no código gerado. - Confirme que esta é a skill correta para o recurso (leia
when_not_to_useno frontmatter).
API de Configuração de Frete — Tray
Documentação oficial: https://developers.tray.com.br/#api-de-configuracao-de-forma-de-frete
Endpoints — Métodos de Envio com Integração Externa (Gateway)
| Método | Endpoint | Descrição |
|---|---|---|
| POST | /shippings/method/gateway |
Cadastrar forma de envio com integração externa |
| PUT | /shippings/method/gateway/:id |
Atualizar forma de envio |
| DELETE | /shippings/method/gateway/:id |
Excluir forma de envio |
Endpoints — Tabelas de CEP
| Método | Endpoint | Descrição |
|---|---|---|
| POST | /shippings/method/zipcode_table |
Cadastrar tabela de CEP |
| PUT | /shippings/method/zipcode_table/:id |
Atualizar tabela de CEP |
| DELETE | /shippings/method/zipcode_table/:id |
Excluir tabela de CEP |
Autenticação: ?access_token={token} em todas as chamadas.
Campos do Método de Envio
| Campo | Tipo | Obrigatório | Descrição |
|---|---|---|---|
id |
number | — | ID do método de envio (retornado pela API) |
name |
string | Sim | Nome do método (ex: "PAC", "SEDEX", "Motoboy") |
active |
number | Não | 1 = ativo, 0 = inativo |
type |
string | Não | Tipo do método (ex: "correios", "custom", "gateway") |
delivery_time |
number | Não | Prazo padrão de entrega em dias úteis |
additional_delivery_time |
number | Não | Dias adicionais ao prazo de entrega |
free_shipping_value |
decimal | Não | Valor mínimo do pedido para frete grátis |
What ships with it
16 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- examples/faixa-cep-atualizar.curl.sh 887 B runs code
- examples/faixa-cep-atualizar.fixture.json 69 B
- examples/faixa-cep-atualizar.node.mjs 1.3 KB runs code
- examples/faixa-cep-criar.curl.sh 774 B runs code
- examples/faixa-cep-criar.fixture.json 211 B
- examples/faixa-cep-criar.node.mjs 1.2 KB runs code
- examples/faixa-cep-excluir.curl.sh 948 B runs code
- examples/faixa-cep-excluir.node.mjs 1.2 KB runs code
- examples/metodo-atualizar.curl.sh 904 B runs code
- examples/metodo-atualizar.fixture.json 122 B
- examples/metodo-atualizar.node.mjs 1.3 KB runs code
- examples/metodo-criar.curl.sh 771 B runs code
- examples/metodo-criar.fixture.json 203 B
- examples/metodo-criar.node.mjs 1.2 KB runs code
- examples/metodo-excluir.curl.sh 965 B runs code
- examples/metodo-excluir.node.mjs 1.2 KB runs code
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 12d ago First seen · 209 lines · 84 tokens per session scan A 397e4fb207de
tray-configuracao-frete is a skill published in the GitHub repository tray-tecnologia/tray-api-ai-plugin (15 stars, last pushed 1mo ago), licensed MIT. It adds 84 tokens to every session and 2,226 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
ontopo
Find restaurants and check table availability in Israel. Search across multiple dates and venues at once, view menus, and get a booking link to finish on Ontopo. Covers dining and restaurant discovery in Tel Aviv, Jerusalem, Haifa, Eilat and 23 more cities. Use for "restaurant reservation", "table booking", "book a…
buywhere-product-catalog
Use BuyWhere's MCP and API surfaces to add product search, price comparison, and deal discovery to AI shopping agents.
buywhere-product-catalog
Use BuyWhere's MCP and API surfaces to add product search, price comparison, and deal discovery to AI shopping agents.
etsy-seo
Etsy shop SEO optimization toolkit. This skill should be used when the user asks to "analyze my Etsy shop", "optimize my Etsy listings", "check my Etsy SEO", "audit Etsy tags", "improve my Etsy sales", "compare Etsy competitors", "update Etsy listing", or mentions anything related to Etsy shop optimization, listing…
etsy-audit
Full SEO audit of an Etsy shop. Scores every active listing on title, tags, description, and images (0-100). Identifies worst performers and provides prioritized recommendations. Use when the user says "audit my Etsy shop", "check my Etsy SEO scores", "how are my listings performing", or "which listings need work".
etsy-competitors
Search the Etsy marketplace for competing listings and analyze their SEO strategies. Identifies keyword gaps, pricing patterns, and title strategies. Use when the user says "find competitors", "competitor analysis", "what are others doing", "keyword gaps", or "how do I compare to competitors".