/install magnet-searcher
Magnet Searcher Skill
This skill enables searching for movies, TV shows, and other content, then finding and extracting magnet/torrent download links using the agent-browser tool.
Prerequisites
1. Install agent-browser
npm install -g agent-browser
2. Install Chromium
For Debian/Ubuntu:
apt-get install -y chromium
For other Linux distributions:
# Try the default install command
agent-browser install
# If that fails (no ARM64 build), use system package manager:
# Fedora: sudo dnf install chromium
# Then use: agent-browser --executable-path /usr/bin/chromium
3. Verify Chromium is accessible
which chromium # Should return /usr/bin/chromium
Core Workflow
Step 1: Search on a Magnet Site
Open a magnet search site and search for the content:
# Option 1: BTSOW (often works well)
agent-browser open "https://btsow.pics"
agent-browser fill @e7 "movie name here" # Fill search box
agent-browser press Enter
# Option 2: 360 search engine (good for Chinese content)
agent-browser open "https://www.so.com/s?q=电影名+磁力链"
# Option 3: Bing search
agent-browser open "https://cn.bing.com/search?q=电影名+磁力链"
Step 2: Navigate to Results
After search results appear:
# Wait for page to load
agent-browser wait 2000
# Get page snapshot to see results
agent-browser snapshot
Step 3: Click on a Result Page
Find a relevant result (often shows "磁力" or "magnet" in the snippet) and click it:
agent-browser click @e36 # Use the ref from snapshot
agent-browser wait 3000
Step 4: Extract the Magnet Link
On the detail page, use JavaScript evaluation to find magnet links:
# Find any magnet link on the page
agent-browser eval "document.querySelector('a[href*=magnet]')?.href"
# If that returns nothing, try these alternatives:
agent-browser eval "document.body.innerText" # Get all text, then search manually
Common magnet link patterns:
magnet:?xt=urn:btih:...- Magnet links may be displayed as plain text links
Step 5: Close Browser When Done
agent-browser close
Common Issues & Solutions
Baidu requires CAPTCHA
If Baidu shows a security verification, switch to:
- Bing (cn.bing.com)
- 360 (so.com)
- BTSOW (btsow.pics)
Page navigation times out
Some magnet sites are slow or block bots. Try:
- Waiting longer with
agent-browser wait 5000 - Trying a different site
Element refs change after page load
Always get a fresh snapshot after waiting:
agent-browser wait 2000
agent-browser snapshot
Chromium not found
Use the executable-path flag:
agent-browser --executable-path /usr/bin/chromium open "https://example.com"
Workflow Summary
1. Install agent-browser + Chromium
2. Open magnet search site
3. Fill search box with content name
4. Wait for results
5. Click on relevant result
6. Use JS eval to extract magnet URL
7. Close browser
Example: Finding "巅峰猎杀" (Apex 2026) Magnet
# Install
npm install -g agent-browser
apt-get install -y chromium
# Search on 360
agent-browser --executable-path /usr/bin/chromium open "https://www.so.com/s?q=巅峰猎杀+磁力链"
agent-browser wait 2000
agent-browser snapshot
# Click on result containing "磁力"
# (Get the ref from snapshot output)
agent-browser click @e36
agent-browser wait 3000
# Extract magnet link
agent-browser eval "document.querySelector('a[href*=magnet]')?.href"
# Result: magnet:?xt=urn:btih:cdeba1f57fbe45bf4f72f8a27908c29857e30614
Important Notes
- Legal disclaimer: Only search for content you have rights to download
- 时效性: Magnet links may expire or become unavailable over time
- Multiple sources: If one site fails, try another
- Chinese sites: For Chinese movies/shows, use Chinese search terms and sites work better
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install magnet-searcher - 安装完成后,直接呼叫该 Skill 的名称或使用
/magnet-searcher触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
magnet-searcher 是什么?
Search for movies, TV shows, or other content and find magnet/torrent download links. Use this skill whenever the user asks for movie downloads, torrent link... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 67 次。
如何安装 magnet-searcher?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install magnet-searcher」即可一键安装,无需额外配置。
magnet-searcher 是免费的吗?
是的,magnet-searcher 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
magnet-searcher 支持哪些平台?
magnet-searcher 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 magnet-searcher?
由 scottzx(@scottzx)开发并维护,当前版本 v1.0.0。