Resale Agent Skill Hub logo

Resale Agent Skill Hub

Community
madguyevans-creator

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

Publishermadguyevans-creator
Repositoryresale-agent-skill-hub
LanguagePython
Forks
11
Stars
95
Available tools
0
Transport typestdio
LicenseMIT
Links
  • Connect tools to AI workflows

    Resale Agent Skill Hub exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    95 stars and 11 forks from the linked repository.

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:

bash
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

bash
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:

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

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

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

bash
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.

bash
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

bash
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:

python
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

Use Resale Agent Skill Hub MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once Resale Agent Skill Hub is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add Resale Agent Skill Hub as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the Resale Agent Skill Hub MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "resale-agent-skill-hub": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the Resale Agent Skill Hub MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the Resale Agent Skill Hub MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use Resale Agent Skill Hub to help me with this task?
Resale Agent Skill Hub
Sure. I read it.
Here is what I found using Resale Agent Skill Hub.

Frequently asked questions

What is the Resale Agent Skill Hub MCP server used for?

Resale Agent Skill Hub is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use Resale Agent Skill Hub MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use Resale Agent Skill Hub with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use Resale Agent Skill Hub MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With Resale Agent Skill Hub connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect Resale Agent Skill Hub MCP to TypingMind?

Resale Agent Skill Hub runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does Resale Agent Skill Hub MCP provide in TypingMind?

Resale Agent Skill Hub exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use Resale Agent Skill Hub MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If Resale Agent Skill Hub requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇