Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/tray-tecnologia/tray-api-ai-pluginWrote 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/commands/tray-tecnologia/tray-api-ai-plugin/referencia-api)<a href="https://agentmods.dev/commands/tray-tecnologia/tray-api-ai-plugin/referencia-api"><img src="https://agentmods.dev/badge/commands/tray-tecnologia/tray-api-ai-plugin/referencia-api.svg" alt="Measured on agentmods" height="20"></a>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.00023 | $0.02384 |
| Opus 5 | $0.00012 | $0.01192 |
| Sonnet 5 | $0.00005 | $0.00477 |
| Haiku 4.5 | $0.00002 | $0.00238 |
Grade A, and why
tray-referencia-api 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 8d 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 — 200 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Referência Rápida — API Tray
Filtre por recurso usando o argumento: /tray-api:referencia-api $ARGUMENTS
Exemplo: /tray-api:referencia-api produtos
Documentação oficial: https://developers.tray.com.br
Autenticação
POST /auth— Gerar chaves de acessoGET /auth?refresh_token=xxx— Renovar token (expira em 3h)
Produtos
GET /products— Listar |GET /products/:id— ConsultarPOST /products— Criar |PUT /products/:id— Atualizar |DELETE /products/:id— Excluir
Variações
GET /variants— Listar |GET /variants/:id— ConsultarPOST /variants— Criar |PUT /variants/:id— Atualizar |DELETE /variants/:id— Excluir
Imagens
POST /products/:id/images— Imagem do produtoPOST /variants/:id/images— Imagem da variaçãoPOST /images/remove— Remover
Categorias
GET /categories— Árvore |GET /categories/all— Todas |GET /categories/:id— Por IDPOST /categories— Criar |PUT /categories/:id— Atualizar |DELETE /categories/:id— Excluir
Marcas
GET /products/brands— Listar |GET /products/brands/:id— ConsultarPOST /products/brands— Criar |PUT /products/brands/:id— Atualizar |DELETE /products/brands/:id— Excluir- ⚠️
/brands(sem prefixo) também retorna 200 mas é um alias não documentado oficialmente — use/products/brands
Kits
GET /kits— Listar |GET /kits/:id— ConsultarPOST /kits— Criar |PUT /kits/:id— Atualizar
Características
GET /products/properties— Listar característicasPOST /products/:id/properties— Cadastrar/Atualizar no produtoPOST /properties— Criar característica global |DELETE /properties/:id— Excluir
Pedidos
GET /orders— Listar |GET /orders/:id— Consultar |GET /orders/:id/full— CompletoPOST /orders— Criar |PUT /orders/:id— Atualizar |PUT /orders/:id/cancel— Cancelar
Status de Pedido
GET /orders/statuses— Listar |GET /orders/statuses/:id— ConsultarPOST /orders/statuses— Criar |PUT /orders/statuses/:id— Atualizar |DELETE /orders/statuses/:id— Excluir
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.
- 8d ago First seen · 200 lines · 23 tokens per session scan A bf6e3df520ec
tray-referencia-api is a command published in the GitHub repository tray-tecnologia/tray-api-ai-plugin (15 stars, last pushed 26d ago), licensed MIT. It adds 23 tokens to every session and 2,384 once invoked, about $0.0001 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 commands, from other repositories
setup-x-api
A guided setup command for the X API, which lets software connect to X, formerly known as Twitter.
setup-typefully.es
Command "setup-typefully.es" from minicoohei/ai-agent-camp, covering configuración de typefully api, step 0: verificar progreso de configuración, lo que hará en esta sesión, verificación de preparación and step 1: abrir typefully en el navegador.
setup-typefully
A guided setup command for the Typefully API, which lets software connect to the Typefully publishing service.
setup-x-api.en
Command "setup-x-api.en" from minicoohei/ai-agent-camp, covering x (twitter) api setup, step 0: check setup progress, what you'll do in this session, readiness check and step 1: open x developer portal in browser.
setup-x-api.es
Command "setup-x-api.es" from minicoohei/ai-agent-camp, covering configuración de x (twitter) api, step 0: verificar progreso de configuración, lo que hará en esta sesión, verificación de preparación and step 1: abrir x developer portal en el navegador.
setup-typefully.en
Command "setup-typefully.en" from minicoohei/ai-agent-camp, covering typefully api setup, step 0: check setup progress, what you'll do in this session, readiness check and step 1: open typefully in the browser.