agentsclimarketplace

Opencli expense orders

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

OpenCLI 技能资产与运行时插件适配器的 monorepo(学术检索 + 报销流程)。Monorepo for OpenCLI skill assets and runtime plugin adapters.

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.

3 things to look at

  • 13 days oldThe repository was created 13 days ago. New is not bad, but a brand new repository carrying a familiar-sounding name is the shape a typosquat arrives in, and there has been no time for anyone else to find a problem with it.
  • 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.

What its author says it does

Copied from the file, not written here

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.

SKILL.md

2.6 KB, 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

Keep looking

Skills are one crate of 328,083. 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.