tray-frete

tray-frete is a skill for Claude Code from tray-tecnologia/tray-api-ai-plugin. It costs 176 tokens per session (14,742 once invoked), scanned A, original, MIT.

A read-only Tray API skill for checking shipping options, prices, and delivery times for products sent to a postal code.

In plain words
What is it for?
Use it to calculate delivery cost and time for products going to an eight-digit postal code, or list the shipping services configured in the store.
Why use it?
It avoids manually handling the shipping quotation and listing requests or checking each configured carrier separately.

Skill for Claude Code

Written for Claude Code: when-to-use in frontmatter. Also seen: mentions Claude Code.

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /home/leandrolazari/projetos/tray-api-claude-plugin/.claude/worktrees/issue-100-skills-densas/skills/frete/SKILL.md.

Part of the tray-api plugin — 36 skills, 3 commands, 5 agents, 1 MCP server shipped together

Good fit Use it to calculate delivery cost and time for products going to an eight-digit postal code, or list the shipping services configured in the store.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add tray-tecnologia/tray-api-ai-plugin
Claude Code
/plugin install tray-api

Made for: Claude Code.

Or install tray-api, the plugin that ships this one along with the rest of its 36 skills, 3 commands, 5 agents, 1 MCP server.

Wrote 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.

agentmods badge for tray-frete

README.md
[![agentmods](https://agentmods.dev/badge/skills/tray-tecnologia/tray-api-ai-plugin/frete/github.svg)](https://agentmods.dev/skills/tray-tecnologia/tray-api-ai-plugin/frete)
Your own site
<a href="https://agentmods.dev/skills/tray-tecnologia/tray-api-ai-plugin/frete"><img src="https://agentmods.dev/badge/skills/tray-tecnologia/tray-api-ai-plugin/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.

agentmods 80×15 button for tray-frete

Your own site · 80×15
<a href="https://agentmods.dev/skills/tray-tecnologia/tray-api-ai-plugin/frete"><img src="https://agentmods.dev/badge/skills/tray-tecnologia/tray-api-ai-plugin/frete.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 176 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 14,742 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00176 $0.14742
Opus 5 $0.00088 $0.07371
Sonnet 5 $0.00035 $0.02948
Haiku 4.5 $0.00018 $0.01474

Measured 9d ago against content hash 1d85fce28e67, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

tray-frete scanned grade A with 1 finding 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 9d ago.

The scan reads SKILL.md. This mod also ships 4 executable files (examples/frete-cotar.curl.sh, examples/frete-cotar.node.mjs, examples/frete-listar.curl.sh, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

**Exemplo (curl):**
skills/frete/SKILL.md · 898 lines

How it starts

The opening of the file, as written. The whole thing — 898 lines — stays where its author put it; the contents beside it link to each section on GitHub.

MANDATORY: Tool Calls Required Before Answering

Estas chamadas são OBRIGATÓRIAS, não opcionais. Execute-as antes de gerar qualquer código de consulta. Se você está respondendo sem ter chamado a ferramenta abaixo, pare e chame agora.

1. Buscar documentação atualizada (sempre)

node skills/tray-dev/scripts/search_docs.mjs --topic=frete "<termo da pergunta>"
  • <TOPIC_SLUG>: ver tabela em skills/tray-dev/SKILL.md.
  • Use os trechos retornados como fonte primária; este SKILL.md é resumo denso.

2. Revisar parâmetros (este recurso NÃO tem validate.mjs)

Nota: o recurso frete ainda não possui scripts/validate.mjs local — e por ser somente leitura (apenas GET), não há payload de body para validar. A chamada OBRIGATÓRIA a search_docs.mjs acima continua valendo. Como não há validador automático, você é responsável por revisar manualmente cada parâmetro de query contra a doc retornada por search_docs.mjs e contra os schemas de referência em skills/frete/schemas/ (ver schemas/shippings.cotation.json) antes de retornar qualquer código. Confira em especial: zipcode com 8 dígitos numéricos (sem traço/ponto), índices products[n] incrementados por item (não repetir products[0]), e product_id/price/quantity presentes em cada item.

Antes de responder

Execute estas verificações antes de gerar qualquer payload ou código:

  1. Confirme o método HTTP e endpoint correto para a operação solicitada: GET /shippings/cotation/ para calcular preço/prazo, ou GET /shippings/ apenas para listar métodos ativos (sem valores).
  2. Identifique os parâmetros obrigatórios da cotação — zipcode, products[n][product_id], products[n][price] e products[n][quantity]; não omita nenhum e incremente o índice n por item.
  3. Verifique que access_token não aparece como literal string no código gerado — use sempre TRAY_ACCESS_TOKEN e TRAY_API_ADDRESS por variável de ambiente, e passe o token como query param (?access_token={token}), nunca em header.
  4. Confirme que esta é a skill correta para o recurso: cotação/listagem é somente leitura; se for criar/configurar método, gateway ou tabela de CEP, leia when_not_to_use e redirecione para tray-configuracao-frete.

Read the full file on GitHub · 898 lines

Files

What ships with it

5 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.

Changes

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.

  1. 9d ago First seen · 898 lines · 176 tokens per session scan A 1d85fce28e67

Subscribe to this mod's changes

tray-frete is a skill published in the GitHub repository tray-tecnologia/tray-api-ai-plugin (15 stars, last pushed 27d ago), licensed MIT. It adds 176 tokens to every session and 14,742 once invoked, about $0.0009 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

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…

alexpolonsky/agent-skill-ontopo · 124 tokens

buywhere-product-catalog

Use BuyWhere's MCP and API surfaces to add product search, price comparison, and deal discovery to AI shopping agents.

aboalrejal-ai/skills · 30 tokens

buywhere-product-catalog

Use BuyWhere's MCP and API surfaces to add product search, price comparison, and deal discovery to AI shopping agents.

sinhoneyy/master-skills · 30 tokens

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…

abutun/etsy-seo-optimizer · 110 tokens

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".

abutun/etsy-seo-optimizer · 71 tokens

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".

abutun/etsy-seo-optimizer · 63 tokens