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.
npx skills add tray-tecnologia/tray-api-ai-plugin --skill tray-devgit 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/skills/tray-tecnologia/tray-api-ai-plugin/tray-dev)<a href="https://agentmods.dev/skills/tray-tecnologia/tray-api-ai-plugin/tray-dev"><img src="https://agentmods.dev/badge/skills/tray-tecnologia/tray-api-ai-plugin/tray-dev.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.00054 | $0.01668 |
| Opus 5 | $0.00027 | $0.00834 |
| Sonnet 5 | $0.00011 | $0.00334 |
| Haiku 4.5 | $0.00005 | $0.00167 |
Grade A, and why
tray-dev 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 — 148 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Antes de responder
-
Identifique o termo de busca a partir da pergunta do usuário
-
Rode:
node skills/tray-dev/scripts/search_docs.mjs "<termo>" -
Use os resultados como fonte primária. Cite o link âncora retornado.
-
Se a busca retornar 0 resultados, avise o usuário e use seu conhecimento como fallback explicitamente sinalizado.
-
Se precisar restringir a um recurso, use
--topic=<slug>(ver lista de tópicos). -
Se precisar de output programático, use
--json.
Visão geral
tray-dev indexa localmente https://developers.tray.com.br (fetch + cache 24h) e oferece busca lexical (BM25) sobre todos os endpoints, campos, exemplos e códigos de erro da API Tray, em < 100 ms p95 com cache quente. Substitui a documentação estática que envelhece entre releases.
A primeira execução faz fetch da página pública (~1,6 MB de HTML), converte para Markdown (~660 KB), parseia em ~820 seções (H1/H2/H3) e indexa em ~/.cache/tray-plugin/dev-docs/. Execuções subsequentes (24h) usam cache.
CLI
Sintaxe
node skills/tray-dev/scripts/search_docs.mjs "<query>"
node skills/tray-dev/scripts/search_docs.mjs --topic=<slug> "<query>"
node skills/tray-dev/scripts/search_docs.mjs --json "<query>"
node skills/tray-dev/scripts/search_docs.mjs --limit=<n> "<query>"
node skills/tray-dev/scripts/search_docs.mjs --no-cache "<query>"
node skills/tray-dev/scripts/search_docs.mjs --refresh
node skills/tray-dev/scripts/search_docs.mjs --list-topics
node skills/tray-dev/scripts/search_docs.mjs --help
Flags
| Flag | Default | Descrição |
|---|---|---|
--topic=<slug> |
(todos) | Filtra por recurso (ex.: produtos, pedidos) |
--json |
false | Output JSON estruturado |
--limit=<n> |
5 | Máximo de resultados |
--no-cache |
false | Força refetch da SPA |
--refresh |
false | Re-indexa sem fazer query |
--list-topics |
false | Lista tópicos disponíveis |
--help |
false | Ajuda |
Exit codes
0query OK (mesmo se 0 resultados)1erro de execução (rede falha + sem cache; falha de parse)2erro de uso (flag desconhecida, query vazia, topic inexistente)
What ships with it
2 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.
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 · 148 lines · 54 tokens per session scan A f5f4ace62ab3
tray-dev is a skill published in the GitHub repository tray-tecnologia/tray-api-ai-plugin (15 stars, last pushed 26d ago), licensed MIT. It adds 54 tokens to every session and 1,668 once invoked, about $0.0003 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-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".
etsy-update
Update an Etsy listing's title, description, tags, or materials with a two-phase preview/confirm flow. Shows score impact before applying. Use when the user says "update listing", "change title", "fix tags", "improve listing", or wants to apply SEO improvements.