cli-anything-web-yu-pri

Automates Japan Post Web Yu-pri label entry through browser-driven CLI commands.

48.8k|4.5k|Updated Mar 8, 2026
One-click install
npx skills add https://github.com/HKUDS/CLI-Anything --skill cli-anything-web-yu-pri
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cli-anything-web-yu-pri
Source: https://github.com/HKUDS/CLI-Anything/tree/main/web-yu-pri/agent-harness/cli_anything/web_yu_pri/skills
Command: npx skills add https://github.com/HKUDS/CLI-Anything --skill cli-anything-web-yu-pri

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires playwright.

What problem does it solve?

Filling out Japan Post Web Yu-pri shipping labels manually is repetitive and error-prone, especially when entering many contents lines with descriptions, declared values, quantities, and origin countries. This Skill drives the real browser UI from a CLI so agents can inspect pages, plan entries, and fill contents forms without hand-typing each line.

Core Features & Use Cases

  • Browser-driven form filling: Uses Playwright with a persistent profile so the user logs in manually once, then the CLI fills contents lines on the Web Yu-pri pages.
  • Dry-run planning: Validates an items JSON/CSV file and previews the fill plan with --dry-run before touching the live form, and never clicks final shipment confirmation.
  • Selector diagnostics: Provides selectors, status, and snapshot commands to inspect known page controls and capture screenshots/HTML for troubleshooting.
  • Use Case: You need to declare two items (an award plaque worth 8000 JPY and a certificate worth 9000 JPY) on a Web Yu-pri shipment. Prepare an items.json file, run the plan command to verify, then run contents fill with --total-value 17000 to populate the form.

Quick Start

Install the package, run the doctor command to verify the browser setup, open the login page to sign in manually, then ask the agent to fill the contents form from your items file using a dry run first.

Frequently Asked Questions about cli-anything-web-yu-pri

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fill Japan Post Web Yu-pri contents forms from the command line?

Install the cli-anything-web-yu-pri package, log in manually via the open-login command, then run contents fill with an items JSON or CSV file. Always run with --dry-run first to preview the plan before live form filling.

What input format does the Web Yu-pri CLI accept for items?

It accepts a JSON file with an items array containing description, value, quantity, and country fields, or a CSV file using recognized header aliases. Use --value-mode unit when the value column represents per-unit price rather than line total.

Does the Web Yu-pri CLI submit the final shipment automatically?

No, the CLI never clicks final shipment confirmation or purchase buttons. It only fills contents form lines, leaving the final review and submission to the user for safety.

How do I handle login credentials with the Web Yu-pri CLI?

Never put Japan Post credentials in commands, files, logs, or prompts. Use the open-login command so you can log in manually in the persistent browser profile, which the CLI then reuses.

Why does the Web Yu-pri CLI fail to find form fields?

Page structure changes can break selectors. Run the selectors command to list known controls and the snapshot command to capture a screenshot and HTML of the current page for diagnosis.