Procedure

Running a piece, beginning to end.

Steps one through three are prepared once. Four through six repeat for each piece.

The flow resell·agent flow: photographs to a published eBay listing
1

Install & build

Node 22 or later. The build compiles to dist/; rebuild after any change.

npm install && npm run build
2

Configure keys

Copy the example environment and provide your eBay and Anthropic keys. Keep EBAY_ENV=sandbox until you are ready to list in earnest.

cp .env.example .env # then fill in the keys
3

Authorise placement to list only

Pricing requires nothing further. To place a listing, authorise a user token once and create your business policies, the full sequence is in the README.

4

Draft the listing

A clean frontal image and the label read best. Add --clean to lift the piece from its background, a cleaner reading, and a squared image ready to list.

npm run draft -- --photos dress.jpg --clean --notes "worn once"
Terminal output of the draft run: attributes read, the exact piece named Valentino, retail found, priced 1,150 to 2,300 dollars, draft saved Before and after of the clean step: the street photograph beside the cut and squared dress on a white ground
5

Review the draft

The considered step. Read draft.md before it goes anywhere and confirm the price, the condition notes, the category, and the titles. For the yellow dress, the sheet names the exact piece, Valentino's embroidered linen midi, links where it sells new, and prices the resale against that, to verify before listing.

The draft.md paste sheet: the exact Valentino piece named, retail prices, eBay, Poshmark, and Depop blocks
6

Place it

Host the images at public URLs (eBay retrieves them), and the category carries from the draft. Poshmark and Depop stay by hand, the tool writes a listing to place, and never posts there for you.

Worked example · the placement
npm run post -- --draft draft.json --images https://host/dress.clean.png ...
Category 63861 · Dresses carried from the draft · live on eBay at $1,650,
the Poshmark and Depop copies pasted by hand, priced a touch warmer at $1,750.
A bow-front mini dress placed live on eBay at 95 dollars, offer and listing ids shown
See a sample draft The commands