Communitygithub.com

CLI Web Yu-pri (Japão)

Use o Web Yu-pri dos Correios do Japão a partir da linha de comando, automatizando o preenchimento de formulários de conteúdo para envios postais repetitivos com login manual e validação em modo simulado.

O que é CLI Web Yu-pri (Japão)?

Esta skill permite que agentes de IA ou desenvolvedores interajam com o sistema Web Yu-pri dos Correios do Japão (Japan Post) exclusivamente por meio de uma interface de linha de comando (CLI). Ela é projetada para automatizar o preenchimento repetitivo de itens em formulários de declaração de conteúdo, mantendo total segurança ao exigir login manual do usuário e ao bloquear ações críticas (como confirmação final de envio). A ferramenta suporta comandos como `doctor`, `open-login`, `status`, `plan`, `contents fill` com opção `--dry-run`, além de diagnósticos com snapshots e seletores. Os dados de entrada podem ser fornecidos em JSON ou CSV, com múltiplos alias para cabeçalhos de coluna. A execução real (live) só deve ocorrer após validação com `--dry-run`, e o valor total declarado pode ser sobrescrito com `--total-value`.

Funciona com~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/HKUDS/CLI-Anything/tree/main/skills/cli-anything-web-yu-pri

Perguntar na sua IA favorita

Abre um novo chat com esta habilidade de agente já pré-carregada.

Documentação

CLI Web Yu-pri

Use esta skill quando uma tarefa envolver o cadastro de etiquetas Web Yu-pri dos Correios do Japão em https://mgr.post.japanpost.jp/C30P01Action.do, especialmente o preenchimento repetitivo de linhas de conteúdo.

Instalação

pip install git+https://github.com/HKUDS/CLI-Anything.git#subdirectory=web-yu-pri/agent-harness

Se nenhum navegador for encontrado:

python -m playwright install chromium

Regras de Segurança

  • Não coloque credenciais dos Correios do Japão em comandos, arquivos, logs ou prompts.
  • Use open-login para que o usuário faça login manualmente no perfil persistente.
  • Execute contents fill ... --dry-run --json antes do preenchimento em tempo real.
  • Esta CLI não clica em botões finais de confirmação de envio ou compra.
  • Mantenha as linhas de itens separadas quando os dados de origem tiverem linhas separadas de premiação/categoria, preservando o total declarado solicitado.

Comandos Comuns

cli-anything-web-yu-pri --json doctor
cli-anything-web-yu-pri open-login
cli-anything-web-yu-pri --json status --url https://mgr.post.japanpost.jp/M060800.do
cli-anything-web-yu-pri --json plan items.json
cli-anything-web-yu-pri --json contents fill items.json --dry-run
cli-anything-web-yu-pri --json contents fill items.json --total-value 17000

Arquivo de Itens

JSON:

{
  "items": [
    {"description": "Placa de premiação", "value": 8000, "quantity": 1, "country": "KR"},
    {"description": "Certificado", "value": 9000, "quantity": 1, "country": "KR"}
  ]
}

Os cabeçalhos do CSV podem usar estes alias:

  • description: description, desc, content, contents, item, name, pkg
  • value: value, declared_value, cost, price, amount, yen, jpy
  • quantity: quantity, qty, num, count
  • country: country, country_code, country_of_origin, origin, couCd, cou_cd
  • Código HS: hs_code, hs, hscode, hsCode

Por padrão, value é tratado como o valor declarado da linha. Use --value-mode unit quando o valor deve ser multiplicado pela quantidade.

Diagnósticos de Seletores

cli-anything-web-yu-pri --json selectors
cli-anything-web-yu-pri snapshot --url https://mgr.post.japanpost.jp/M060800.do -o page.png --html-output page.html

Controles conhecidos da página de conteúdo:

  • #M060800_itemBean_pkg
  • #M060800_itemBean_cost_value
  • #M060800_itemBean_num_value
  • #M060800_itemBean_couCd
  • #M060800_itemBean_hsCode
  • #M060800_shippingBean_pkgType
  • #M060800_shippingBean_pkgTotalPrice_value
  • #M060800_ShippingBean_danger
  • submitCommand('itemAdd2')

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

cli-anything-adguardhome

>-

cli-anything-anygen

>-

cli-anything-audacity

>-

cli-anything-blender

>-

cli-anything-browser

Browser automation CLI using DOMShell MCP server. Maps Chrome

cli-anything-calibre

>-

cli-anything-ccswitch

CLI interface for CC Switch — manage AI coding tool configurations from the terminal

cli-anything-chromadb

>-

cli-anything-cloudanalyzer

Command-line interface for CloudAnalyzer — Agent-friendly harness for CloudAnalyzer, a QA platform for mapping, localization, and perception outputs. Supports 27 commands across 8 groups: point cloud evaluation, trajectory evaluation, ground segmentation QA, config-driven quality gates, baseline evolution, processing, visualization, and interactive REPL.

cli-anything-cloudcompare

Command-line interface for CloudCompare — Agent-friendly harness for CloudCompare, the open-source 3D point cloud and mesh processing software. Supports 41 commands across 9 groups: project management, session control, point cloud operations (subsample, filter, segment, analyze), mesh operations, distance computation (C2C, C2M), transformations (ICP, matrix), export (LAS/LAZ/PLY/PCD/OBJ/STL/E57), and interactive REPL.

cli-anything-comfyui

>-

cli-anything-dify-workflow

Wrapper for the Dify workflow DSL CLI. Create, inspect, validate, edit, and export Dify workflow files through a CLI-Anything harness.

cli-anything-drawio

>-

cli-anything-eez-studio

Use EEZ Studio from the command line: inspect and modify native .eez-project files, edit LVGL screens/widgets, manage SCPI commands, and invoke the real EEZ Studio backend for LVGL builds.

cli-anything-eth2-quickstart

>-

cli-anything-exa

>-

cli-anything-firefly-iii

Firefly III CLI - Personal finance management via CLI-Anything

cli-anything-freecad

Complete CLI harness for FreeCAD parametric 3D CAD modeler (258 commands). Covers ALL workbenches: Part (29 primitives + boolean + mirror + loft + sweep), Sketcher (26 cmds: geometry + constraints + editing), PartDesign (38 cmds: pad/pocket/groove/fillet/chamfer/patterns/hole/datum), Assembly (11 cmds), Mesh (16 cmds), TechDraw (15 cmds: views + dimensions + PDF/SVG), Draft (33 cmds: 2D shapes + arrays + transforms), FEM (12 cmds), CAM/CNC (10 cmds), Surface (6 cmds), Spreadsheet (7 cmds), Import (13 formats), Export (17 formats), Measure (12 cmds), Materials (21 presets). Headless FreeCAD export to STEP/IGES/STL/OBJ/DXF/PDF/glTF/3MF.

cli-anything-gimp

>-

cli-anything-godot

>-

Habilidades Relacionadas