cli-anything-web-yu-pri — Claude Code skill: what it does
cli-anything-web-yu-pri fills Japan Post Web Yu-pri declaration forms from a CLI by driving a Playwright browser. Useful when you ship parcels through Japan Post and need to enter dozens of item lines from CSV or JSON.
Apache-2.0 255 installs ★ 62,125 updated 2026-09-22
npx skills add HKUDS/CLI-Anything --skill cli-anything-web-yu-pri -a claude-codeWhat cli-anything-web-yu-pri does
This skill automates entry into the Japan Post contents form at mgr.post.japanpost.jp. You give the agent a file with item descriptions, prices, quantities, and country codes — the skill opens a browser, fills the fields #M060800_itemBean_pkg, #M060800_itemBean_cost_value, #M060800_itemBean_num_value, and adds each line with submitCommand('itemAdd2'). It runs on Playwright and persists the browser profile so you log in manually once using open-login.
Japan Post site access requires your own credentials: the skill does not store or submit them — it only opens a window for manual login. The contents fill commands support --dry-run --json mode, which shows exactly what will be filled before the agent touches the form. Final shipment confirmation and purchase buttons are left untouched. When source data has separate award or certificate lines for one parcel, the skill keeps them as separate item rows while respecting the requested --total-value.
What it helps with
- fill dozens of item lines in Japan Post Web Yu-pri from CSV
- automate parcel contents declaration entry
- keep separate item rows with a single declared total value
- preview Japan Post form filling in dry-run mode before submission
- reuse Japan Post login session without entering credentials again
Example prompts for the agent
- Open the Japan Post login window with
cli-anything-web-yu-pri open-login - Check that the skill sees the contents form:
cli-anything-web-yu-pri --json status --url https://mgr.post.japanpost.jp/M060800.do - Fill the declaration from
items.csvin preview mode:cli-anything-web-yu-pri --json contents fill items.csv --dry-run
How to install cli-anything-web-yu-pri
1Skills CLI (Vercel)
npx skills add HKUDS/CLI-Anything --skill cli-anything-web-yu-pri -a claude-code2Manually: put the files in place
~/.claude/skills/cli-anything-web-yu-pri/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/cli-anything-web-yu-pri/
1Skills CLI (Vercel)
npx skills add HKUDS/CLI-Anything --skill cli-anything-web-yu-pri -a codex2Manually: put the files in place
.agents/skills/cli-anything-web-yu-pri/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add HKUDS/CLI-Anything --skill cli-anything-web-yu-pri -a cursor2Manually: put the files in place
.cursor/skills/cli-anything-web-yu-pri/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install HKUDS/CLI-Anything skills/cli-anything-web-yu-pri2Manually: put the files in place
.github/skills/cli-anything-web-yu-pri/SKILL.md1Skills CLI (Vercel)
npx skills add HKUDS/CLI-Anything --skill cli-anything-web-yu-pri -a gemini-cli2Platform CLI
gemini skills install https://github.com/HKUDS/CLI-Anything --path skills/cli-anything-web-yu-priManually: put the files in place
.devin/skills/cli-anything-web-yu-pri/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add HKUDS/CLI-Anything --skill cli-anything-web-yu-pri -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about cli-anything-web-yu-pri
How to install cli-anything-web-yu-pri in Claude Code?
Run npx skills add HKUDS/CLI-Anything --skill cli-anything-web-yu-pri -a claude-code, then open ~/.claude/skills/cli-anything-web-yu-pri/SKILL.md.
What does cli-anything-web-yu-pri do?
Automates filling the Japan Post Web Yu-pri contents form from CSV or JSON by driving a Playwright browser.
Do I need to enter my Japan Post password every time?
No. The skill persists the browser profile after the first manual login via open-login, so subsequent runs reuse the session.
Source text
SKILL.md · Apache-2.0
---
name: "cli-anything-web-yu-pri"
description: Use Japan Post Web Yu-pri from a CLI by driving the real browser UI for login, inspection, screenshots, dry-run planning, and contents-form filling.
---
# Web 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
```bash
pip install git+https://github.com/HKUDS/CLI-Anything.git#subdirectory=web-yu-pri/agent-harness
```
If no browser is found:
```bash
python -m playwright install chromium
```
## Safety Rules
- Do not put Japan Post credentials in commands, files, logs, or prompts.
- Use `open-login` so the user can log in manually in the persistent profile.
- Run `contents fill ... --dry-run --json` before 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
```bash
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:
```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
```bash
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_danger`
- `submitCommand('itemAdd2')`
© HKUDS · Apache-2.0 · HKUDS/CLI-Anything