{"repo":"LENKIN233/xianyu-monitor-skill","free":true,"listed":false,"github":"https://github.com/LENKIN233/xianyu-monitor-skill","clone":"git clone https://github.com/LENKIN233/xianyu-monitor-skill.git","description":"Cross-host Agent Skill for Xianyu/Goofish (闲鱼) listing search and monitoring: keyword, price/location filters, pagination, deduplication, and persistent tasks.","language":"Python","stars":11,"topics":["goofish","monitor","openclaw","playwright","python","second-hand","xianyu","agent-skills","browser-automation","claude-code"],"license":"MIT","category":"scrapers-browser-automation","readme_excerpt":"Xianyu Monitor — 闲鱼搜索与监控 Agent Skill 用本地私有浏览器状态搜索和持续监控闲鱼 / Goofish 商品，支持关键词、价格、地区、 真实分页、持久任务和新观察商品去重。核心不依赖特定 Agent，可用于 Codex、 Claude Code、OpenClaw 或普通 CLI/调度器。 Search and monitor Xianyu/Goofish listings with private local browser state. Works across Codex, Claude Code, OpenClaw, and CLI schedulers. 一眼看懂 能做 不会做 --- --- 搜索商品，执行价格和地区过滤 绕过 CAPTCHA、登录挑战或平台风控 真实翻页并按商品 ID 去重 自动联系卖家、购买、下单或付款 保存任务，只返回新观察到的商品 凭空判断卖家信用、真假或维修历史 输出稳定 JSON 供任意宿主投递 内置 AI 商品分析或通知渠道 失败、登录跳转和风险控制会明确返回错误，不会伪装成“没有商品”。Cookie、代理凭据和 登录状态始终视为私密凭据；本项目不会把它们作为通知内容或提交到仓库。 三步快速开始 需要 Python 3.10+。强烈建议把状态文件放在仓库之外的用户私有绝对路径；若确需放入 checkout，只能使用已被整个目录忽略的私有目录。 1. 安装 xianyu.py doctor 只读检查 Python、依赖和可用浏览器，不启动浏览器、不写文件，也不回显 本地路径。若返回 install-browser ，再执行 .venv/bin/python -m playwright install chromium 并重跑；已有本机 Chrome 时不会要求 下载重复浏览器。 ok: false 时按 next action 修复；如果只发现本机 Chrome，后续命令 按提示增加 --browser-channel chrome 。 2. 在专用浏览器中登录 只在命令新开的专用浏览器窗口中登录。二维码消失不代表登录完成；还需要完成手机确认， 回到正常 Goofish 页面，并在本地确认页提交一次性确认码。确认页会依次显示“正在验证 并保存”和“候选状态已安全保存”，成功结果保留 5 秒后才自动关闭专用浏览器；最终 JSON 同时返回 \"exit reason\": \"completed\" 。这是正常安全清理，不是闪退。本地安装了 Chrome 且希望明确使用它时，增加 --browser-channel chrome ；这仍会创建独立上下文，不复用 日常浏览器 profile。 3. 执行一次受控搜索 成功输出的关键字段如下； count 仅是一次脱敏实测示例，实际结果会变化： 这只证明该浏览器状态在当次运行能够搜索，不证明账号身份或长期认证状态。完整搜索、 监控和失败语义见下文。 兼容与安装方式 运行方式 发现目录或入口 调用方式 --- --- --- 纯 CLI / 调度器 当前 checkout .venv/bin/python scripts/xianyu.py COMMAND Codex /.agents/skills/xianyu-monitor $xianyu-monitor Claude Code /.claude/skills/xianyu-monitor /xianyu-monitor OpenClaw /.agents/skills/xianyu-mon","default_branch":null,"files":null,"tree":[],"storefront":"/r/LENKIN233","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/LENKIN233/xianyu-monitor-skill/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}