gestor-pedidos

gestor-pedidos is an agent for Claude Code from tray-tecnologia/tray-api-ai-plugin. It costs 49 tokens per session (601 once invoked), scanned A, original, MIT.

Assistente para gerir pedidos numa loja Tray, desde a criação até à entrega ou ao cancelamento. Também trata estados do pedido, notas fiscais eletrónicas e etiquetas de envio.

In plain words
What is it for?
Criar e consultar pedidos, mudar estados, cancelar compras, associar notas fiscais eletrónicas, consultar documentos fiscais e configurar etiquetas de envio.
Why use it?
Ajuda a coordenar várias etapas relacionadas com um pedido sem ter de descobrir individualmente cada operação da API.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

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

Good fit Criar e consultar pedidos, mudar estados, cancelar compras, associar notas fiscais eletrónicas, consultar documentos fiscais e configurar etiquetas de envio.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/tray-tecnologia/tray-api-ai-plugin/gestor-pedidos
Install

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.

Clone the repo
git clone --depth 1 https://github.com/tray-tecnologia/tray-api-ai-plugin

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 gestor-pedidos

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/tray-tecnologia/tray-api-ai-plugin/gestor-pedidos"><img src="https://agentmods.dev/badge/agents/tray-tecnologia/tray-api-ai-plugin/gestor-pedidos.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 601 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00049 $0.00601
Opus 5 $0.00024 $0.00300
Sonnet 5 $0.00010 $0.00120
Haiku 4.5 $0.00005 $0.00060

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

Security

Grade A, and why

gestor-pedidos 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 10d 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.

agents/gestor-pedidos.md · 63 lines

How it starts

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

Você é um especialista em gestão de pedidos para a plataforma Tray. Suas capacidades incluem:

1. Ciclo de Vida do Pedido

Criação → Aguardando Pagamento → Pago → Em Separação → Enviado → Entregue
                                    ↘ Cancelado
  • Criar pedidos (POST /orders)
  • Consultar dados completos (GET /orders/:id/full)
  • Atualizar status (PUT /orders/:id)
  • Cancelar pedido (PUT /orders/:id/cancel)

2. Gestão de Status

  • Listar status disponíveis (GET /orders/statuses)
  • Criar status personalizados (POST /orders/statuses)
  • Atualizar status do pedido seguindo regras de negócio

3. Notas Fiscais (NF-e)

  • Cadastrar nota fiscal vinculada ao pedido (POST /orders/:id/invoices)
  • Campos obrigatórios: number, series, key (chave de acesso NF-e)
  • Listar todas as NFs (GET /orders/invoices)
  • Consultar NFs de um pedido (GET /orders/:id/invoices)
  • Consultar NF específica (GET /orders/:order_id/invoices/:invoice_id)
  • Atualizar NF (PUT /orders/:order_id/invoices/:invoice_id)
  • URL do DANFE via campo link

4. Etiquetas de Envio

  • Emissores de etiqueta: cadastrar URL (POST /label-emitters), vincular ao pedido (POST /label-emitters/:order_id)
  • Mercado Livre: consultar etiquetas ML (GET /mercado-livre/labels)
  • HUB: criar etiquetas (POST /labels), consultar (GET /labels)

5. Cancelamento

  • Use PUT /orders/:id/cancel para cancelar
  • O cancelamento atualiza o status e pode disparar webhooks
  • Não exclua pedidos — sempre use cancelamento

6. Gestão de Produtos no Pedido

  • Incluir produtos (POST /orders/:id/products)
  • Excluir produtos (DELETE /orders/:id/products/:product_id)

Considerações Importantes

  • Webhook order: configure para receber notificações em tempo real
  • Código de rastreamento: atualize tracking_number quando enviar
  • Dados completos: sempre use /orders/:id/full para obter todos os dados
  • Filtros: filtre por status, created_at, customer_id, payment_method
  • Documentação oficial: https://developers.tray.com.br

Read the full file on GitHub · 63 lines

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. 10d ago First seen · 63 lines · 49 tokens per session scan A a354ff89197d

Subscribe to this mod's changes

gestor-pedidos is an agent published in the GitHub repository tray-tecnologia/tray-api-ai-plugin (15 stars, last pushed 28d ago), licensed MIT. It adds 49 tokens to every session and 601 once invoked, about $0.0002 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.

Related

Other agents, from other repositories

designer

Design routing and UI/UX specialist — owns contextual selection among design skills (frontend-design, frontend-design-review, web-design-guidelines, design-assessment, design-improvement, Figma family, accessibility/review). Use when: new visual direction, design review, WIG audit, holistic UX diagnosis…

ulises-jeremias/agent-toolkit · 78 tokens

architect

Software architecture and system design specialist. Use when designing systems, choosing patterns, evaluating technical approaches, or planning large-scale structural changes.

ulises-jeremias/agent-toolkit · 28 tokens

code-reviewer

Expert code review specialist — quality/correctness/security/performance/testing with severity-ranked findings. Use when reviewer/qa-engineer delegates deep craft or PR explicitly warrants independent verification; opt-in via holistic caller.

ulises-jeremias/agent-toolkit · 45 tokens

e2e-runner

End-to-end testing specialist using Playwright — selector discipline, POM, and flake avoidance with explicit browser-output isolation. Use when qa-engineer delegates E2E authoring/debugging or task explicitly requires Playwright specs; opt-in via holistic caller — not a daily entry point.

ulises-jeremias/agent-toolkit · 64 tokens

shopify-debugger

Use when a Shopify app fails (CLI error, auth loop, webhook 401, function panic, missing scope, billing rejection). Route here to diagnose root cause and suggest exact fix with reproduction steps.

khadinakbarlabs/shopify-app-builder · 45 tokens

code-review-agent

Autonomous code review agent that analyzes code for security vulnerabilities, quality issues, and best practices adherence.

DollhouseMCP/collection · 23 tokens