About skill-dropshipping-sourcing
A skill for retrieving CJ product data through scripts rather than manual browsing. It refreshes an access token and searches products by keyword, saving normalized results to a JSON file.
Key features
- 01Refresh CJ access tokens
- 02Search products by keyword
- 03Set result count and output file
- 04Save normalized product data
Use cases
- 01Retrieve CJ products for a sourcing task
- 02Export keyword search results to JSON
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ zero2ai-hub/ skill-dropshipping-sourcing --skill skill-dropshipping-sourcingAfter installing, type/skill-dropshipping-sourcingin Claude Code to confirm it loaded.
Bundled files
References and scripts installed along with SKILL.md.
README.mdscripts/source.jstoken.jsDetails
From the project READMECJ Sourcing
Use this skill to reliably pull CJ product data (instead of manual browsing).
Files / creds (local convention)
- Config:
./cj-api.jsonapiKey,baseUrl,accessToken,tokenExpiry
1) Refresh access token
node scripts/token.js
2) Search products by keyword (listV2)
node scripts/source.js --keyword "sunset lamp" --size 20 --out cj-results.json
Output: cj-results.json with normalized fields.
Notes
- Token refresh is conservative (refreshes ~10 minutes before expiry).
source.jsusesGET /product/listV2and requestsenable_description+ category fields.
Comments
Markdown supported