此技能专门用于自动化网站数据爬取和 API 接口调用,包括:
Works with
AI-first code editor with Composer
Before installing skills in Cursor, ensure your development environment meets these requirements:
node --versionweb-scraping-automationExecute the skills CLI command in your project's root directory to begin installation:
Fetches web-scraping-automation from aaaaqwq/claude-code-skills and configures it for Cursor.
The CLI shows a list of agents. Use arrow keys and space to select Cursor:
Confirm successful installation by checking the skill directory location:
Restart Cursor to activate web-scraping-automation. Access via /web-scraping-automation in your agent's command palette.
We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.
Skills execute code in your environment. Always review source, verify the publisher, and test in isolation before production.
Submit your Claude Code skill and start earning
Automate repetitive workflows and reduce manual effort
Example
Generate reports, summarize documents, draft communications
Save 3-5 hours per week on routine tasks
Learn new skills, understand complex topics, get expert guidance
Example
Explain concepts, provide examples, suggest learning resources
Accelerate learning and skill development by 2x
Enhance output quality through reviews, suggestions, and refinements
Example
Review drafts, suggest improvements, catch errors
Improve work quality by 30-40% with less effort
0
total installs
0
this week
31
GitHub stars
0
upvotes
Run in your terminal
0
installs
0
this week
31
stars
此技能专门用于自动化网站数据爬取和 API 接口调用,包括:
所有涉及浏览器的爬取任务完成后,必须自动关闭 Chrome/Selenium 进程!
# Playwright 示例
from playwright.sync_api import sync_playwright
def scrape_website():
with sync_playwright() as p:
browser = p.chromium.launch(headless=True)
page = browser.new_page()
# ... 爬取逻辑 ...
browser.close()
# ⚠️ 强制清理残留进程
import subprocess
subprocess.run(['pkill', '-f', 'chrome'], capture_output=True)
# Selenium 示例
from selenium import webdriver
driver = webdriver.Chrome()
try:
# ... 爬取逻辑 ...
pass
finally:
driver.quit()
# ⚠️ 确保清理
import subprocess
subprocess.run(['pkill', '-f', 'chrome'], capture_output=True)
原因: 避免内存泄漏和资源占用,防止 Gateway CPU 100% 过载
目标分析:
方案设计:
脚本开发:
测试优化:
import requests
from bs4 import BeautifulSoup
def scrape_website(url):
headers = {'User-Agent': 'Mozilla/5.0'}
response = requests.get(url, headers=headers)
soup = BeautifulSoup(response.text, 'html.parser')
# 提取数据
data = []
for item in soup.select('.product'):
data.append({
'title': item.select_one('.title').text,
'price': item.select_one('.price').text
})
return data
import requests
def call_api(endpoint, params=None):
headers = {
'Authorization': 'Bearer YOUR_TOKEN',
'Content-Type': 'application/json'
}
response = requests.get(endpoint, headers=headers, params=params)
return response.json()
from selenium import webdriver
from selenium.webdriver.common.by import By
def scrape_dynamic_page(url):
driver = webdriver.Chrome()
driver.get(url)
# 等待页面加载
driver.implicitly_wait(10)
# 提取数据
elements = driver.find_elements(By.CLASS_NAME, 'item')
data = [elem.text for elem in elements]
driver.quit()
return data
Prerequisites
Time Estimate
15-45 minutes depending on use case complexity
Steps
Common Pitfalls
✓ Do
✗ Don't
💡 Pro Tips
✓ Use when
Use when skill capabilities match your task, clear ROI on time saved, and you can validate outputs. Best for repetitive tasks, learning, and quality improvement.
✗ Avoid when
Avoid when task requires deep expertise you can't validate, involves sensitive decisions, or when learning process is more valuable than speed of completion.
aaaaqwq/claude-code-skills
supercent-io/skills-template
BuilderIO/skills
kunchenguid/no-mistakes
mattpocock/skills
jwynia/agent-skills
I recommend web-scraping-automation for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
web-scraping-automation fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
web-scraping-automation is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
Useful defaults in web-scraping-automation — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
web-scraping-automation has been reliable in day-to-day use. Documentation quality is above average for community skills.
Keeps context tight: web-scraping-automation is the kind of skill you can hand to a new teammate without a long onboarding doc.
Registry listing for web-scraping-automation matched our evaluation — installs cleanly and behaves as described in the markdown.
web-scraping-automation reduced setup friction for our internal harness; good balance of opinion and flexibility.
I recommend web-scraping-automation for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
Solid pick for teams standardizing on skills: web-scraping-automation is focused, and the summary matches what you get after install.
showing 1-10 of 39