resale-agent-skill-hub

作者 madguyevans-creator已验证

AI-powered multi-platform C2C resale toolkit — 8 Claude Code skills + MCP server for automating second-hand selling

105
Stars
9
Forks
Python
语言
2026/8/24
添加时间

⚠️ 第三方软件声明

本 Skill 为第三方开源软件,独立托管于 GitHub。SkillTip 仅为信息目录,不控制或维护底层仓库。所显示的安全检查为自动化且范围有限,安装前请自行审查源码。

阅读服务条款

安装

添加到你的 Claude Code skills 目录:

# Add to your Claude Code skills
git clone https://github.com/madguyevans-creator/resale-agent-skill-hub

快速入门

使用 resale-agent-skill-hub 等 Skills 的指南。

安全报告

已验证

上次扫描:—

{
  "status": "PASSED",
  "issues": []
}

README.md

SkillHub — Smart Resale Agent

A collection of 8 Claude Code skills + an MCP Server implementing a Multi-Platform Smart Resale Agent: an AI-powered conversational workflow for C2C second-hand resale that reduces the barriers to listing and selling pre-owned goods.

v2: Now runs as a standard MCP server (JSON-RPC over stdio) that any MCP-compatible client can call — Claude Desktop, Cursor, VS Code, or custom web frontends.

Architecture

skillhub/
├── broker_core/                  # Shared engine (pip install -e .)
│   ├── session_manager.py        # Browser login → cookie persistence
│   ├── platform_client.py        # Authenticated platform API clients
│   ├── state_manager.py          # Listing lifecycle state (~/.broker/listings.json)
│   ├── scheduler.py              # launchd (macOS) / cron (Linux) registration
│   ├── audit_logger.py           # Append-only Transparency Log (~/.broker/audit.jsonl)
│   └── mcp_server.py             # ★ MCP Server — 7 tools via JSON-RPC
├── guardrails/                   # ★ Prompt framework (v2)
│   ├── Omni-Agent-Guardrails.yaml
│   └── README.md
├── skills/                       # 8 Claude Code skills
│   ├── personal-broker/          # Hub: orchestrates the 7-step pipeline
│   ├── broker-recognize/         # Step 1: Photo → product info
│   ├── broker-auth/              # Step 3: Bind platform accounts
│   ├── broker-price/             # Step 2: Authenticated price research
│   ├── broker-card/              # Step 4: Listing cards → auto-publish
│   ├── broker-schedule/          # Step 5: Repricing interval & cron/launchd
│   ├── broker-fuse/              # Step 6: Price Shield (floor price)
│   └── broker-delist/            # Step 7: Auto-detect sale → delist all
├── tests/                        # 41 tests
└── docs/                         # Setup guides for MCP clients

The 7-Step Pipeline

📷 broker-recognize  →  Photo → structured product info
🔐 broker-auth       →  Open browser → log in once → session persisted
🔍 broker-price      →  Search platforms with session → transparency report
🛡️ broker-fuse       →  ⚠️ GLOBAL INTERCEPTOR — set unbreachable floor price BEFORE publishing
📋 broker-card       →  Generate cards → validate floor → user confirms → auto-publish
⏰ broker-schedule   →  Register launchd/cron for daily repricing checks (floor-gated)
✅ broker-delist     →  Scheduler detects sale → auto-delist all platforms (no confirmation)

Each skill can also be invoked standalone (e.g., /broker-price for pricing only).

Prerequisites

ANTHROPIC_API_KEY (required)

broker-recognize uses the Anthropic API (Claude Vision) to analyze product photos. Set your API key:

export ANTHROPIC_API_KEY="sk-ant-..."

Without this key, photo recognition will fail.

Python 3.9+

Playwright (for platform auth)

Quick Start

Pick one path. Path A is recommended for most users.

Path A: Claude Desktop (recommended, 5 minutes)

Step 1: Install

git clone https://github.com/madguyevans-creator/skillhub.git
cd skillhub && pip install -e .
pip install playwright && playwright install chromium

Step 2: Get API key (one-time) Go to console.anthropic.com → API Keys → create key. Save it once:

echo 'sk-ant-your-key' > ~/.broker/api_key

Step 3: Configure Claude Desktop Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "skillhub": {
      "command": "python3",
      "args": ["/path/to/skillhub/broker_core/mcp_server.py"],
      "env": { "BROKER_MOCK_MODE": "true" }
    }
  }
}

Step 4: Restart Claude Desktop. Done.

Open Claude Desktop, say "帮我卖掉这双鞋" + upload photo. Claude automatically calls 7 MCP tools in the correct order.

Path B: Claude Code CLI

git clone https://github.com/madguyevans-creator/skillhub.git
cd skillhub && pip install -e .
cp -r skills/* ~/.claude/skills/

Use inside Claude Code:

  • /personal-broker — full pipeline
  • /broker-recognize — analyze product photo
  • /broker-price — price research
  • /broker-fuse — set floor price

Path C: Demo without any accounts (mock mode)

By default BROKER_MOCK_MODE=true. Everything works with realistic simulated data — no API key, no platform accounts needed. Photo recognition returns a demo Nike sneaker.

git clone https://github.com/madguyevans-creator/skillhub.git
cd skillhub && pip install -e .
# Done — you're in mock mode. Use Path A or B above.

Going real: turn off mock mode

export BROKER_MOCK_MODE=false
# Then bind platform accounts:
python3 skills/broker-auth/scripts/auth.py --all
# This opens a browser. Log into each platform once. Cookies persist.

Sandbox / Mock Mode

By default, BROKER_MOCK_MODE=true — all platform API calls (search, publish, delist) return realistic simulated data. No real HTTP requests are made. This allows:

  • Demo without platform accounts: test the full pipeline with mock data
  • Safe development: no risk of accidentally publishing or modifying real listings
  • Anti-scraping avoidance: no requests that could trigger rate limits or CAPTCHAs

To use real platform APIs, set BROKER_MOCK_MODE=false in your environment. Requires platform accounts bound via broker-auth.

Transparency Log

Every AI-assisted decision is recorded to ~/.broker/audit.jsonl — an append-only, immutable JSONL file. You can always audit what the agent did and why.

What gets logged:

  • Price research results (log_pricing)
  • Price shield checks — blocked or passed (log_fuse_check)
  • Listing publishes (log_publish)
  • Auto-repricing events (log_repricing)
  • Delist events (log_delist)
  • Schedule registrations (log_schedule_registered)

How to view:

from broker_core import audit_logger
print(audit_logger.format_trail("item_abc123"))  # Human-readable timeline
trail = audit_logger.get_audit_trail("item_abc123")  # Raw JSON array

When every action is recorded with rationale, there is no "black box" — the user can always audit what happened and why.

Key Design Decisions

DecisionRationale
Not web scrapingUses user's own session cookies. Searching as a logged-in user, not crawling.
Bind once, reusePlatform login happens once via browser. Session persisted until expiry (~30 days).
Sold median pricingRecommended price = median of actually-sold comparables. Falls back to 5% below active median.
Price shield as global interceptorEvery price-mutating action (publish, repricing) validates against the floor. Blocked actions are logged to audit trail.
Auto-execute after confirmOnce user confirms card + floor + schedule, the system auto-publishes and auto-reprices without re-confirmation.
No confirmation on delistWhen scheduler detects sale on any platform, auto-delist all others immediately.
launchd / cronSystem-level scheduling, no daemon process needed.
Mock modeBROKER_MOCK_MODE=true by default — safe demo without real accounts or anti-scraping risk.
Append-only Transparency LogImmutable JSONL log of every decision. The user can always audit what happened.

License

MIT — see LICENSE

常见问题

What is resale-agent-skill-hub?

resale-agent-skill-hub is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by madguyevans-creator. AI-powered multi-platform C2C resale toolkit — 8 Claude Code skills + MCP server for automating second-hand selling. It has 105 GitHub stars.

Is resale-agent-skill-hub safe to use?

Yes. resale-agent-skill-hub passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.

How do I install resale-agent-skill-hub?

Clone the repository with "git clone https://github.com/madguyevans-creator/resale-agent-skill-hub" and add it to your Claude Code skills directory (see the Installation section above).

What programming language is resale-agent-skill-hub written in?

resale-agent-skill-hub is primarily written in Python. It is open-source under madguyevans-creator on GitHub, so you can review or fork the full source.

Are there alternatives to resale-agent-skill-hub?

Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh resale-agent-skill-hub against similar tools.

评论 (0)

暂无评论,成为第一个分享想法的人!

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情

claude-code

by anthropics

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

120,03119,897Shell
AI 智能体
查看详情

开发者还喜欢

基于喜欢此 Skill 的开发者投票和收藏

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP 服务器apisai-tools
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情