agentsclimarketplace

Opencli expense orders

Skill semantic-craft/opencli-stack/skills/opencli-expense-orders

Use when preparing reimbursement materials from JD or Taobao/Tmall orders through OpenCLI. Covers listing reimbursement candidates, exporting invoice PDFs and compact order-summary screenshots, and preserving invoice-month accounting semantics.From its SKILL.md

Install
npx -y skills add semantic-craft/opencli-stack --skill opencli-expense-orders

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

2.6 KB, 585 tokens by cl100k_base, as published. Nobody here has run it

OpenCLI Expense Orders

Use this skill when the task is to prepare reimbursement materials from JD or Taobao/Tmall orders with OpenCLI.

Runtime adapter source:

  • GitHub: xwzhangSZU/opencli-expense-orders
  • Local default: ~/Projects/opencli-expense-orders
  • Install target: ~/.opencli/clis/{_expense,jd,taobao}

Preconditions

  • OpenCLI is installed.
  • Chrome is running.
  • OpenCLI Browser Bridge is connected.
  • JD / Taobao login state is already available in Chrome.

Check:

opencli doctor

Commands

List reimbursement candidates:

opencli jd expense-list --from YYYY-MM-DD --to YYYY-MM-DD --output /tmp/jd-expense-manifest.json -f json
opencli taobao expense-list --from YYYY-MM-DD --to YYYY-MM-DD --output /tmp/taobao-expense-manifest.json -f json

Export invoices and order-summary screenshots:

opencli jd expense-export --manifest /tmp/jd-expense-manifest.json --output /tmp/expense-export -f json
opencli taobao expense-export --manifest /tmp/taobao-expense-manifest.json --output /tmp/expense-export -f json

Batch helper:

cd ~/Projects/opencli-expense-orders
bash scripts/export-all.sh --from YYYY-MM-DD --to YYYY-MM-DD --output /tmp/expense-export

Install or refresh adapters:

cd ~/Projects/opencli-expense-orders
bash install.sh

Rules

  • Do not run JD and Taobao browser exports in parallel; they share Chrome/OpenCLI browser state.
  • Do not auto-apply for Taobao invoices. The adapter only processes already issued invoices.
  • Use accounting_date for reimbursement month grouping.
  • For JD, accounting_date = order_date.
  • For Taobao/Tmall, accounting_date = invoice_date, falling back to order_date for legacy manifests.
  • Preserve invoice_date and real_order_date separately for Taobao preorder items.

Output

The export root is organized as:

<output>/<book-or-other-bucket>/<YYYY-MM>/<YYYY-MM-DD>__<title>__<platform>__order-<orderId>/

Typical files:

  • invoice PDF
  • compact order-summary screenshot
  • meta.json
  • batch-level manual-invoice-followup.json / .md when invoice recovery needs manual follow-up

Central Sync

This skill is part of the central OpenCLI registry:

cd ~/Projects/agents-skills
bash tools/sync-opencli-assets.sh --check

What ships with it: 1 file

266 B alongside SKILL.md

agents/

Gives 0 of the 12 instructions most finance skills give in 585 tokens

Counted across 469 of the 469 authors here whose files we hold, read 2026-08-07

  • Extract date vendor amount and descriptionin 15 of 469, across 3 files
  • Scan folder for invoice filesin 14 of 469, across 2 files
  • Rename files to standard formatin 14 of 469, across 2 files
  • Show organization plan before movingin 14 of 469, across 2 files
  • Generate summary CSVin 14 of 469, across 2 files
  • Organize files by categoryin 13 of 469, across 1 file
  • Preserve original filesin 13 of 469, across 1 file
  • Flag files missing critical infoin 13 of 469, across 1 file
  • Produce the requested output filein 9 of 469, across 4 files
  • Build best, base, and worst case scenariosin 9 of 469, across 5 files
  • Implement backoff if rate limit errors occurin 8 of 469, across 3 files
  • Determine the weighted average cost of capitalin 8 of 469, across 4 files

Said here and by no other author read

  • check opencli environment status
  • list reimbursement candidates
  • export invoices and screenshots
  • group reimbursements by accounting_date
  • preserve invoice_date and real_order_date separately

Grouped from the skills themselves: near-identical wordings counted once, and counted by distinct author, so one author publishing three of these counts once. Length counted with cl100k_base; the agent that loads this file may tokenize it differently.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.