Split Orders — Development skill for Claude Code
Claude Code skill: pull Zepto (MCP), Amazon Now and Blinkit orders, separate shared from personal items, and post the split to Splitwise.
How to install Split Orders
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open prakhar083/split-orders and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Split Orders does
Claude Code skill: pull Zepto (MCP), Amazon Now and Blinkit orders, separate shared from personal items, and post the split to Splitwise.
Alternatives in Development
- Opencode Claude Auth — OpenCode plugin that uses your existing Claude Code credentials — no separate login needed 903 ★
- Spot — Place and manage spot trading orders on Binance via API key authentication, supporting mainnet and testnet 483 ★
- Bug Health Check — Execute the bug-health-inline skill for inline orchestration 172 ★
README
split-orders
A [Claude Code skill](https://docs.claude.com/en/docs/claude-code/skills) that settles the monthly "who owes what for groceries" problem in a shared flat.
It pulls recent orders from **Zepto** (official MCP server), **Amazon Now** and **Blinkit** (Playwright, using your own logged-in session), normalizes them into one schema, works out which items were shared and which were personal, prorates fees and discounts, and posts the shared portion of each order to a **Splitwise** group as an equal split.
You run it by asking Claude: *"split my grocery orders since the 1st"*. Claude drives the CLI, asks you about any item it hasn't seen before, shows a preview, and posts only after you confirm.
fetch (Zepto MCP · Amazon Now · Blinkit)
→ normalize → NormalizedOrder[]
→ review → unseen items: personal or shared? (answers are remembered)
→ split → shared subtotal + prorated fees/discounts per order
→ confirm → one confirmation for the whole batch
→ post → Splitwise expenses, equal split, tagged with the order id
Why it's interesting
- Three very different data sources behind one schema. Zepto comes from its
official MCP server (amounts in paise). Amazon Now is scraped from rendered pages,
anchored on stable text labels rather than CSS classes. Blinkit never renders an
order id into the DOM, so the fetcher reads the
order_historyJSON the page already requests for itself, then parses each bill from the DOM. - Charges reconcile. Each order's items, delivery/handling/packaging fees, surcharges and discounts are summed and checked against the paid total. Mismatches are flagged instead of silently posted.
- Fair splitting. Only shared items count toward the split. Order-level fees (delivery, packaging, taxes, tip) are split in full, the discount is prorated by the order's shared fraction, and orders with nothing shared are dropped.
- It learns. Personal/shared decisions are stored per ite
Related Skills
Ledger Wallet
Agent Skill: build a customer wallet as an append-only ledger with a balance per currency: Stripe Checkout top
Pharn Dev Review
Review what /pharn-dev-build produced. Apply the 4 review lenses (each citing a principle), emit findings in t
Diagnose Connect
Diagnose an Amazon Connect pull failure or sparse result without publishing a cycle.
Handoff To Next
RETIRED — superseded by /roadmap. Session handoffs now live in the §0 "▶ RESUME HERE" block of the repo's sing
Check Actions
Refresh ACTION_REQUIRED.md for a product — scans .env (key-name + emptiness mode by default; no values exposed
Actions Cache Restore Save Split On Success
Plan converting combined actions/cache@vN (which uses the action's built-in post-job save, firing unconditiona
Related Agents
Commit Change Grouper
Analyzes the working tree's git status and diff and proposes how to split the pending changes into logically s
Source Design Doc — Section: "Endpoints"
POST /api/orders/submit → handler: OrderController.submit POST /api/orders/submit → handler: OrderService.crea
Encrypted Column Auditor
Audits new or changed web API routes for server-side reads of E2E-encrypted content columns (groups.windows, s