xianyu-hub

xianyu-hub is a skill for Claude Code, Codex from OpenMinis/MinisSkills. It costs 175 tokens per session (1,764 once invoked), scanned A, original, MIT.

A tool for searching and checking items on Xianyu, also called Goofish, a Chinese secondhand marketplace. It uses the marketplace’s internal interface from a browser where the user is logged in.

In plain words
What is it for?
Searching items, checking price trends, filtering by city or price, sorting results, viewing details, managing favorites, checking orders, and reviewing listed items.
Why use it?
It makes it easier to find listings and compare them using structured filters rather than browsing manually.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Searching items, checking price trends, filtering by city or price, sorting results, viewing details, managing favorites, checking orders, and reviewing listed items.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/openminis/minisskills/xianyu-hub
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add OpenMinis/MinisSkills --skill xianyu-hub
Clone the repo
git clone --depth 1 https://github.com/OpenMinis/MinisSkills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for xianyu-hub

README.md
[![agentmods](https://agentmods.dev/badge/skills/openminis/minisskills/xianyu-hub/github.svg)](https://agentmods.dev/skills/openminis/minisskills/xianyu-hub)
Your own site
<a href="https://agentmods.dev/skills/openminis/minisskills/xianyu-hub"><img src="https://agentmods.dev/badge/skills/openminis/minisskills/xianyu-hub/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for xianyu-hub

Your own site · 80×15
<a href="https://agentmods.dev/skills/openminis/minisskills/xianyu-hub"><img src="https://agentmods.dev/badge/skills/openminis/minisskills/xianyu-hub.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 175 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,764 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 29
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
  • medium Excessive Agency · line 146
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00175 $0.01764
Opus 5 $0.00088 $0.00882
Sonnet 5 $0.00035 $0.00353
Haiku 4.5 $0.00017 $0.00176

Measured 11d ago against content hash c9709d47c1f8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

xianyu-hub scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

The scan reads SKILL.md. This mod also ships 8 executable files (scripts/alt_keywords.sh, scripts/detail.sh, scripts/ensure_tab.sh, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- No authentication required; call directly with `curl`
xianyu-hub/SKILL.md · 185 lines

How it starts

The opening of the file, as written. The whole thing — 185 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Xianyu Search Skill (xianyu-hub)

Core Principle

In a browser tab where the user is already logged in to Xianyu, call Xianyu's internal API through minis-browser-use execute_js. The user must first log in to Xianyu in the built-in browser.

Startup Process (run before each use)

All scripts automatically call ensure_tab.sh to complete the following steps, so there is no need to manually pass --tab-id.

ensure_tab.sh Automatic Processing Logic

  1. Scan all tabs - Parse the list_tabs text and look for a tab containing goofish.com
  2. Check login state - Execute JS to determine whether the current page is logged in
  3. Logged in -> Directly output tab_id, and the script continues
  4. Not logged in -> Automatically execute:
    • navigate to the Xianyu home page
    • minis-open to open the built-in browser for the user to log in
    • Poll the login state every 5 seconds, for up to 120 seconds; after login succeeds, automatically continue

To manually specify a tab, pass --tab-id <id>; the script will still verify the login state.

Script Overview

All scripts are located in /var/minis/skills/xianyu-hub/scripts/ and are run with sh.

1. Search Items - search.sh

sh scripts/search.sh -k <keyword> [options]

# Options:
#   -k <term>        Keyword (required)
#   -n <number>      Number per page (default 20, maximum 30)
#   -p <page>        Page number (default 1)
#   -s <sort>        default | price_asc | price_desc | time | reduce
#   --min-price <yuan>  Minimum price
#   --max-price <yuan>  Maximum price
#   --city <city>       City filter
#   --personal-only     Personal idle items only
#   -j              Output JSON

# Examples
sh scripts/search.sh -k "MacBook Air" -s price_asc --min-price 2000 -n 10
sh scripts/search.sh -k "iPhone15" --city Shanghai -s time

2. Item Details - detail.sh

sh scripts/detail.sh <itemID>

# Returns: title, price, description, views/wants/favorites count, seller information (positive feedback rate, response rate, number sold)

Read the full file on GitHub · 185 lines

Files

What ships with it

8 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 185 lines · 175 tokens per session scan A c9709d47c1f8

Subscribe to this mod's changes

xianyu-hub is a skill published in the GitHub repository OpenMinis/MinisSkills (409 stars, last pushed 7d ago), licensed MIT. It adds 175 tokens to every session and 1,764 once invoked, about $0.0009 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

ebay-search-listing

Extracts product listings from any eBay search or category page URL, returning per-item cards (itemNumber, url, title, subtitle, caption, price, priceWithCurrency, currency, wasPrice, bids, shipping, seller, sellerFeedbackCount, sellerPositiveRating, reviewsCount, starRating, image) plus pagination state (currentPage…

browser-act/skills · 221 tokens

amazon-bestseller-listing

Amazon Best Sellers listing scraper: extract product cards from any Amazon Best Sellers (zgbs) or /gp/bestsellers/ category page — returns rank (position on chart), asin, title, url, image, imageAlt, price, stars, reviewCount, ratingRaw per item, plus category metadata (categoryName, categoryFullName, categoryUrl) and…

browser-act/skills · 300 tokens

amazon-search-listing

Amazon search and category listing scraper: extract product listings from any Amazon search results page, keyword search URL, or category browse page and return per-item cards (asin, title, url, image, price, listPrice, stars, reviewCount, badges, isAmazonChoice, isBestSeller, isSponsored, delivery, boughtInPast…

browser-act/skills · 341 tokens

etsy-category-listing

Etsy category page scraper: given an Etsy category URL (e.g. https://www.etsy.com/c/jewelry) and optional page number, returns paginated product listings with listingId, shopId, title, url, image, salePrice, originalPrice, currency, rating, reviewCount, shopName, isAd, freeShipping, badge from category and subcategory…

browser-act/skills · 209 tokens

etsy-product-detail

Etsy product detail scraper: given an Etsy listing URL, returns full product detail including listingId, title, priceCurrent, priceOriginal, currency, images (all), description, shopName, shopUrl, rating, reviewCount, favorites, inCartCount, variations (with per-option price ranges), highlights, listedDate…

browser-act/skills · 187 tokens

walmart-product-detail

Walmart product detail page extractor: given a walmart.com product URL (walmart.com/ip/...), extract full product data including itemId, title, brand, model, UPC, price, wasPrice, currency, availability, category path, seller info, all images, shortDescription, longDescription, product highlights, full specifications…

browser-act/skills · 252 tokens