xianyu-publish

xianyu-publish is a skill for Claude Code from ioioiioo12138/claude-xianyu-plugin. It costs 103 tokens per session (1,238 once invoked), scanned A, original, MIT.

A workflow for listing products on 闲鱼 (Xianyu, also called Goofish), a Chinese second-hand marketplace. It guides research, listing text, cover-image creation, upload, and publishing.

In plain words
What is it for?
Researching similar listings, suggesting a price, writing and reviewing a title and description, creating a cover image, and publishing the product after login.
Why use it?
It organizes the many steps involved in making a marketplace listing and helps account for competing prices, search terms, and platform word filters.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths.

Part of the xianyu plugin — 3 skills, 1 MCP server shipped together

Good fit Researching similar listings, suggesting a price, writing and reviewing a title and description, creating a cover image, and publishing the product after login.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ioioiioo12138/claude-xianyu-plugin/xianyu-publish
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 ioioiioo12138/claude-xianyu-plugin --skill xianyu-publish
Clone the repo
git clone --depth 1 https://github.com/ioioiioo12138/claude-xianyu-plugin

Made for: Claude Code.

Or install xianyu, the plugin that ships this one along with the rest of its 3 skills, 1 MCP server.

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-publish

README.md
[![agentmods](https://agentmods.dev/badge/skills/ioioiioo12138/claude-xianyu-plugin/xianyu-publish/github.svg)](https://agentmods.dev/skills/ioioiioo12138/claude-xianyu-plugin/xianyu-publish)
Your own site
<a href="https://agentmods.dev/skills/ioioiioo12138/claude-xianyu-plugin/xianyu-publish"><img src="https://agentmods.dev/badge/skills/ioioiioo12138/claude-xianyu-plugin/xianyu-publish/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-publish

Your own site · 80×15
<a href="https://agentmods.dev/skills/ioioiioo12138/claude-xianyu-plugin/xianyu-publish"><img src="https://agentmods.dev/badge/skills/ioioiioo12138/claude-xianyu-plugin/xianyu-publish.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 103 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,238 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00103 $0.01238
Opus 5 $0.00051 $0.00619
Sonnet 5 $0.00021 $0.00248
Haiku 4.5 $0.00010 $0.00124

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

Security

Grade A, and why

xianyu-publish scanned grade A with 0 findings 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 12d ago.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/xianyu-publish/SKILL.md · 125 lines

How it starts

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

闲鱼商品发布工作流

你是闲鱼商品发布的 orchestrator。按以下步骤执行,每步完成后向用户确认再进入下一步。

Step 1:环境检查

调用 mcp__goofish__auth_status 确认 goofish-cli 已连接且已登录。

若未连接:检查 .claude/mcp.json 确认 goofish 配置。 若未登录:引导用户运行 goofish auth login --qr 扫码。

Step 2:市场调研

调用 mcp__goofish__search_items 搜索用户给出的关键词,分析竞品:

  • 价格区间
  • 标题关键词模式
  • 竞争饱和度
  • 差异化机会

向用户报告调研结论,给出定价建议。

Step 3:商品文案

生成以下内容,请用户审核:

标题(≤30 字):包含核心关键词,用 1-3 个卖点吸引点击。

描述(Markdown 格式):参考 templates/description.md 模板结构:

  • 这是什么?(一句话定义)
  • 覆盖内容(表格列出模块)
  • 为什么需要(痛点列表)
  • 适合谁(目标用户)
  • 获取方式(暗号 + 自动秒发)
  • 常见问题(Q&A 3-5 个)

文案风格参考 copywriting-pro skill(如已安装)。若无,遵循:短句短段、适度 Emoji、口语化。

⚠️ 平台敏感词规避:闲鱼会检测竞品 App 名称(如小红书、抖音、淘宝、拼多多等),标题和描述中必须使用替代词:

  • 小红书 → 小红薯
  • 抖音 → 抖声/短视频平台
  • 淘宝 → 某宝
  • 微信 → 薇信/绿泡泡
  • 类似处理其他竞品名称

delivery/ 交付文件不受此限制,因为客户收货后看,不在闲鱼公开展示。

暗号:每个商品一个独特英文关键词(如 xiaohongshu, quanjiatong),用于触发自动回复。

Step 4:封面图生成

使用 xhs-note-creator skill 渲染封面:

  1. 创建 cover_render.md,只含 YAML frontmatter:
---
emoji: "{匹配主题的 emoji}"
title: "{大标题,≤12字}"
subtitle: "{副标题,≤15字}"
---
  1. 运行渲染:
cd <product-dir>
PYTHONIOENCODING=utf-8 python ~/.claude/skills/xhs-note-creator/scripts/render_xhs.py \
  cover_render.md -t professional -m auto-fit -o images --width 800 --height 800
  1. 确认生成 images/cover.png

备选主题:sketch(手绘)、terminal(极客)、neo-brutalism(醒目)、botanical(清新)。

Step 5:保存内容

创建 data/{YYYY-MM-DD-HHMM}-{product-slug}/ 目录结构:

data/YYYY-MM-DD-HHMM-product-slug/
├── title.txt             # 纯标题
├── description.md         # 商品描述(含暗号提示)
├── keywords.txt           # 搜索关键词
├── feed_text.md           # 推广动态文案
├── 自动回复模板.md         # 暗号→回复模板(卖家工具)
├── images/
│   └── cover.png          # 封面
└── delivery/              # 纯交付物(给客户的文件)
    ├── README.md           # 主教程
    └── ...

Step 6:发布

向用户展示发布参数确认:

字段
标题 ...
价格 ¥...
图片 列表
类目 电子资料
暗号 ...

确认后调用 mcp__goofish__item_publish 发布。

如 MCP 工具不可用,使用 CLI 直调:goofish item publish "title" "desc" image1 image2 price

Read the full file on GitHub · 125 lines

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. 12d ago First seen · 125 lines · 103 tokens per session scan A 0678b0931155

Subscribe to this mod's changes

xianyu-publish is a skill published in the GitHub repository ioioiioo12138/claude-xianyu-plugin (4 stars, last pushed 3mo ago), licensed MIT. It adds 103 tokens to every session and 1,238 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

amazon-reviews-api-skill

This skill helps users automatically extract Amazon product reviews via the Amazon Reviews API. Agent should proactively apply this skill when users express needs like getting reviews for Amazon product with ASIN B07TS6R1SF, analyzing customer feedback for a specific Amazon item, getting ratings and comments for a…

browser-act/skills · 124 tokens

amazon-competitor-analyzer

Scrapes Amazon product data from ASINs using browseract.com automation API and performs surgical competitive analysis. Compares specifications, pricing, review quality, and visual strategies to identify competitor moats and vulnerabilities.

browser-act/skills · 48 tokens

asc-subscription-localization

Bulk-localize subscription, subscription-group, and in-app purchase display names across App Store locales using asc, including API 4.4.1 version-scoped v2 resources. Use when filling or updating subscription/IAP names and descriptions without App Store Connect UI work.

rorkai/app-store-connect-cli-skills · 60 tokens

food-order

Reorder previous Foodora orders, preview cart contents, and track delivery ETA/status with ordercli. Use when the user wants to reorder food, check delivery status, or browse recent Foodora order history. Never confirm an order without explicit user approval.

Bitterbot-AI/bitterbot-desktop · 53 tokens

product-description-generator

E-commerce product description generator for any platform. Generates optimized titles, bullet points, descriptions, and backend keywords using competitor research + keyword scoring + FABE copywriting. Two modes: (A) Create — generate listing from product specs with optional competitor analysis, (B) Optimize — improve…

nexscope-ai/eCommerce-Skills · 126 tokens

amazon-price-tracker

Amazon price monitoring and competitive pricing intelligence. Real-time price tracking, Buy Box analysis, promotion detection, and dynamic pricing strategy optimization. Use when the user asks about price monitoring, competitor pricing, Buy Box tracking, or pricing strategy.

nexscope-ai/Amazon-Skills · 51 tokens