Open-source Codex skill scrapes Xiaohongshu related keywords, scoring 93 terms per seed word
vista8 · x · 2026-09-30
Developer yaojingang open-sourced two Codex skills for scraping autocomplete/related-search keywords from Xiaohongshu and Baidu (repo: yao-geo-skills).
How it works
- Install the skill in Codex and input one or more seed words;
- Codex drives a browser to search each word, capture dropdown suggestions, then recursively query first-layer terms to get a second layer, saving a real screenshot, list position, and query path for every term;
- After dedup, the AI scores each keyword 1–10 for commercial intent by industry. A test with the seed "留学公司" yielded 110 paths and 93 unique keywords — agency/comparison terms scored high, recruiting/filing terms scored low;
- A buildworkbook.py script exports an Excel workbook with five sheets: keywords, capture log, screenshot index, deduped keyword library, and to-capture queue.
In the author's test, Codex scraped 10,000 Baidu related-search long-tail keywords in about an hour. Useful for free SEO/GEO keyword mining.
More from coding & agent
- Dev ships throwaway Postgres for agents: pg19 via pglite on Cloudflare DO over raw TCP — ritakozlov · 2026-11-29
- Product idea: cloud Android VMs and home WiFi proxies to make agents look human — Darpinian · 2026-11-29
- 38 free agent skills distilled from shipping three live AI products — PawelHuryn · 2026-11-29
- Step 5: run evals on synthetic data pre-launch, watch real traces after — PawelHuryn · 2026-11-29
- Break your agent before attackers do: 6 tests mapped to OWASP LLM Top 10 — PawelHuryn · 2026-11-29
- PM shares playbook for shipping 4 customer-facing Claude agents into production — PawelHuryn · 2026-11-29