← 返回 Skills 市场
Correios Rastreio
作者
runawaydevil
· GitHub ↗
· v1.0.0
292
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install correios-rastreio
功能描述
Rastreie pacotes e encomendas dos Correios usando a API oficial com consultas por código, histórico e favoritos via comandos simples.
使用说明 (SKILL.md)
Correios Rastreio Skill
Rastreia pacotes e encomendas dos Correios via API oficial.
Gatilhos
Ative a skill usando:
"rastrear","rastreio"— rastrear código"onde está meu pacote"— verificar último"código dos correios"— ajuda"pedido","encomenda"— consultar
Como Usar
# Rastrear por código
node src/index.js track PW123456789BR
# Rastrear múltiplos códigos
node src/index.js track "PW123456789BR,AB987654321BR"
# Ver histórico local
node src/index.js history
# Adicionar aos favoritos (apelido)
node src/index.js save PW123456789BR "Presente aniversário"
# Listar favoritos
node src/index.js favorites
Configuração
Obtendo a API Key
-
Acesse o portal de desenvolvedores dos Correios: https://developers.correios.com.br
-
Crie uma conta ou faça login
-
Solicite acesso à API de Rastreamento
-
Copie sua API Key e configure:
export CORREIOS_API_KEY="sua_api_key_aqui"
Variáveis de Ambiente
CORREIOS_API_KEY— Token de autenticação (obrigatório)
API
- URL Base: https://api.correios.com.br
- Autenticação: Bearer Token
- Rate Limit: 3 requests/segundo
安全使用建议
This skill's code implements Correios tracking and asks you to set CORREIOS_API_KEY — that is expected. However, the package metadata omitted the required env var and did not list Node.js as a runtime requirement; treat that as a sign the package metadata is incomplete. Before installing: (1) verify you will run it in a trusted environment with Node.js installed, (2) set CORREIOS_API_KEY in an environment you control (don't paste keys into public places), (3) be aware it stores history/favorites in a local data.json file inside the package folder (remove or inspect it if you don't want tracking codes saved), and (4) inspect the included src/index.js yourself (or run in a sandbox) — there are minor bugs/typos in the code (undefined variable used when formatting results) but no obvious exfiltration endpoints beyond the official Correios API. If you need metadata corrected (declare CORREIOS_API_KEY and Node as requirements), ask the publisher for an updated package before trusting it.
功能分析
Type: OpenClaw Skill
Name: correios-rastreio
Version: 1.0.0
The skill is a legitimate tool for tracking Brazilian postal service (Correios) packages using their official API (api.correios.com.br). It handles authentication via an environment variable and maintains a local history/favorites file (src/data.json). While there is a minor coding bug in src/index.js (an undefined variable 'ultimohora' in the output formatting), there are no signs of malicious intent, data exfiltration, or prompt injection.
能力评估
Purpose & Capability
The skill's code and SKILL.md implement Correios package tracking via the official API (axios calls to api.correios.com.br). However, registry metadata lists no required env vars or binaries while the SKILL.md and code require CORREIOS_API_KEY and Node.js to run; this mismatch is unexplained.
Instruction Scope
Runtime instructions are narrowly scoped to calling the Correios API and local CLI operations. The SKILL.md does not mention that the tool stores history/favorites in a local data.json file (src/data.json path); the code reads/writes that file. No unrelated system paths or external endpoints beyond the Correios API are used.
Install Mechanism
There is no install spec (instruction-only claimed), but a Node.js project is included (package.json, package-lock.json, src/index.js). The skill depends on axios. The registry metadata does not declare Node as a required binary, which is inconsistent but not high-risk; no arbitrary remote downloads or extract steps are present.
Credentials
The only secret the code uses is CORREIOS_API_KEY (Bearer token) which is appropriate for calling the Correios API. However, the registry metadata does not declare this required env var (SKILL.md does), creating an inconsistency the user should resolve before trusting the package.
Persistence & Privilege
The skill does not request elevated privileges or global persistence. It writes a local data.json file (history and favorites) inside the package directory; this is normal for a CLI tool but means tracking codes are stored locally and could be inspected by others with filesystem access.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install correios-rastreio - 安装完成后,直接呼叫该 Skill 的名称或使用
/correios-rastreio触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: Rastreie pacotes dos Correios via API oficial. Suporta múltiplos códigos, histórico local e favoritos.
元数据
常见问题
Correios Rastreio 是什么?
Rastreie pacotes e encomendas dos Correios usando a API oficial com consultas por código, histórico e favoritos via comandos simples. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 292 次。
如何安装 Correios Rastreio?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install correios-rastreio」即可一键安装,无需额外配置。
Correios Rastreio 是免费的吗?
是的,Correios Rastreio 完全免费(开源免费),可自由下载、安装和使用。
Correios Rastreio 支持哪些平台?
Correios Rastreio 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Correios Rastreio?
由 runawaydevil(@runawaydevil)开发并维护,当前版本 v1.0.0。
推荐 Skills