Dxm Startup logo

Dxm Startup

Community
southernspark-nfxh
dxm-startup

速卖通上架——启动模块:Chrome CDP调试模式启动 + Relay中继链 + Playwright连接 + 登录检查

Overview

Publishersouthernspark-nfxh
Repositoryaliexpress-auto-listing-skill
Skill namedxm-startup
Stars
28
Forks
6
Bundled files
Instructions only
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by southernspark-nfxh on GitHub. Read the source before you install it.

Installation

Install the Dxm Startup AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/southernspark-nfxh/aliexpress-auto-listing-skill/tree/main/dxm-startup
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/southernspark-nfxh/aliexpress-auto-listing-skill.git /tmp/aliexpress-auto-listing-skill
mkdir -p .claude/skills
cp -r /tmp/aliexpress-auto-listing-skill/dxm-startup .claude/skills/dxm-startup
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Dxm Startup in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Dxm Startup on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Dxm Startup is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

启动模块:Chrome + Relay + Playwright

架构

Windows Chrome (--remote-debugging-port=9222)
  ↕ Relay2.exe (0.0.0.0:9255 → 127.0.0.1:9222)
Windows IP (172.24.48.1:9255)
  ↕ WSL chrome_relay.py (127.0.0.1:19223 → 172.24.48.1:9255)
  ↕ Playwright connect_over_cdp('http://127.0.0.1:19223')

Step A:启动Chrome(Windows)

bash
# 先杀掉旧Chrome进程
taskkill /F /IM chrome.exe

# 启动Chrome带调试端口
cmd.exe /c start "" "C:\Program Files\Google\Chrome\Application\chrome.exe" \
  --remote-debugging-port=9222 \
  --user-data-dir="C:\Users\[你的Windows用户名]\Desktop\chrome-debug"

⚠️ 必须用独立 --user-data-dir(如 chrome-debug),默认profile绑不了9222。

Step B:启动Relay2(Windows)

Relay2.exe应在 Windows 启动项自动运行: C:\Users\[你的Windows用户名]\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\hermes-gateway.vbs

手动启动:双击运行 Relay2.exe。

Step C:启动WSL Relay

bash
cd ~/.hermes/scripts && python3 chrome_relay.py &

Step D:验证链路

bash
# 检查WSL relay
curl -s http://127.0.0.1:19223/json | head -5

# 应返回Chrome标签页列表的JSON

Step E:Playwright连接

python
from playwright.async_api import async_playwright

async with async_playwright() as p:
    browser = await p.chromium.connect_over_cdp('http://127.0.0.1:19223')
    pages = browser.contexts[0].pages
    # 检查已打开的标签页

登录检查

店小秘登录

导航到店小秘 → 检查是否已登录(看页面是否有 [你的店小秘用户名] 用户名):

javascript
document.body.innerText.includes('[你的店小秘用户名]')

未登录时用二维码登录:店小秘右上角 → 扫码登录。

1688登录

检查1688登录状态:打开1688任意产品页 → 看是否有"登录"按钮。

javascript
document.body.innerText.includes('登录')

未登录时手动登录(1688验证码无法自动化)。

故障恢复

Gateway断连后重连铁律

致命错误: 直接调用 browser_navigate 会创建新标签页,丢失已填数据。

正确步骤:

1. browser_cdp → Target.getTargets     # 列出所有标签页
2. 找到店小秘编辑页(title="店小秘--编辑速卖通产品")
3. Runtime.evaluate 读取页面状态(标题/hash/bodyText)
4. 确认哪个标签页有已填数据
5. Target.closeTarget 关闭空白/重复标签页
6. Target.activateTarget 激活正确标签页
7. 此时 browser_snapshot 应显示已填数据

全链挂了

bash
# WSL端
pkill -f chrome_relay.py
cd ~/.hermes/scripts && python3 chrome_relay.py &

# Windows端(需手动或从WSL触发)
taskkill /F /IM chrome.exe
# 重新启动Chrome(Step A)

作者: 南方星火 SouthernSpark | 小红书 @南方星火 SouthernSpark | AI自动化专家工作流

Frequently asked questions

What does the Dxm Startup AI skill do?

速卖通上架——启动模块:Chrome CDP调试模式启动 + Relay中继链 + Playwright连接 + 登录检查

Why use Dxm Startup on TypingMind?

Because you install it once and use it with any model. Dxm Startup is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Dxm Startup in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/southernspark-nfxh/aliexpress-auto-listing-skill/tree/main/dxm-startup. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Dxm Startup?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Dxm Startup?

As many as you like. As long as a model supports skills, you can use Dxm Startup with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Dxm Startup AI skill free?

It is published on GitHub by southernspark-nfxh. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

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