
Web Yu-pri CLI
FreeAutomate Japan Post Web Yu-pri label entry from the command line.
Free · Opens the source repo
What Web Yu-pri CLI does
The Web Yu-pri CLI skill enables users to interact with Japan Post's Web Yu-pri service directly from the command line, facilitating the entry of shipping label data in a streamlined manner. This tool is particularly useful for those who frequently need to fill out repetitive contents for shipping labels, allowing for automation of the process while maintaining control over the final entries. By leveraging a real browser UI, it ensures that users can log in securely and manage their shipping tasks efficiently.
To get started, users can install the skill via pip, and if no browser is found, they can install Chromium using Playwright. The skill provides a range of commands to open the login interface, check status, plan item entries, and perform dry runs before actual submissions. This ensures that users can verify their entries without the risk of making mistakes during the live process, as it does not automate final confirmation clicks.
The skill requires users to prepare their item data in JSON format, allowing for flexibility in how they structure their entries. It also supports CSV headers with various aliases, making it easier to integrate with existing workflows. Users are advised to follow safety rules regarding credential management and to keep item lines distinct to ensure accurate total values are reported. Overall, this CLI tool is designed for developers and logistics professionals who need to streamline their shipping label processes while maintaining accuracy and security.
When to use it
Use this skill when you need to enter multiple shipping labels on Japan Post Web Yu-pri, especially if the entries are repetitive.
When not to use it
This skill is not suitable for one-off label entries or if you require a graphical user interface for interaction.
What you can build with it
Bulk Shipping Label Entry
Automate the entry of multiple shipping labels for a large shipment to save time and reduce errors.
Dry Run Verification
Use the dry-run feature to verify your entries before making live submissions, ensuring accuracy.
Repetitive Task Automation
Streamline the process of entering similar shipping labels by using the CLI to handle repetitive tasks efficiently.
How to install Web Yu-pri CLI
View source1. Install with the skills CLI
npx skills add hkuds/cli-anything/cli-anything-web-yu-pri --agent claude-code2. Or install it manually
Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.
Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs
Inside SKILL.md
Written by hkudsWeb Yu-pri CLI
Use this skill when a task involves Japan Post Web Yu-pri label entry at
https://mgr.post.japanpost.jp/C30P01Action.do, especially repetitive contents
line entry.
Install
pip install git+https://github.com/HKUDS/CLI-Anything.git#subdirectory=web-yu-pri/agent-harness
If no browser is found:
python -m playwright install chromium
Safety Rules
- Do not put Japan Post credentials in commands, files, logs, or prompts.
- Use
open-loginso the user can log in manually in the persistent profile. - Run
contents fill ... --dry-run --jsonbefore live form filling. - This CLI does not click final shipment confirmation or purchase buttons.
- Keep item lines separate when the source data has separate award/category lines, while preserving the requested declared total.
Common Commands
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
Items File
JSON:
{
"items": [
{"description": "Award plaque", "value": 8000, "quantity": 1, "country": "KR"},
{"description": "Certificate", "value": 9000, "quantity": 1, "country": "KR"}
]
}
CSV headers can use these aliases:
- 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 - HS code:
hs_code,hs,hscode,hsCode
By default, value is treated as the line declared value. Use --value-mode unit
when value should be multiplied by quantity.
Selector Diagnostics
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
Known contents-page controls:
#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_dangersubmitCommand('itemAdd2')
Frequently asked questions about Web Yu-pri CLI
Similar skills
Agent-Browser Core
Efficient browser automation for AI agents.
Setup My IQ
Effortlessly create and update your personal context portfolio.
CRM Maintenance
Automate HubSpot updates from your calendar and emails.
Zoom MCP
Streamline access to Zoom meeting assets and recordings.
Slack Automation
Automate tasks and extract data from Slack easily.
SMB Onboard
Guides small business owners through initial tool setup.
