Tmux
trpc-group/trpc-agent-go
Remote-control tmux sessions for interactive CLIs by sending keystrokes and scraping pane output.
Web scraping and internet search patterns. An agent skill from cohen-liel/hivemind.
$ npx skills add cohen-liel/hivemind --skill web-scraping -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install cohen-liel/hivemind web-scraping --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/cohen-liel/hivemind.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/web-scraping .claude/skills/web-scraping && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "web-scraping" agent skill from https://github.com/cohen-liel/hivemind/tree/main/.claude/skills/web-scraping into .claude/skills/web-scraping/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "web-scraping", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/cohen-liel/hivemind/tree/main/.claude/skills/web-scrapingType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add cohen-liel/hivemind --skill web-scraping -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install cohen-liel/hivemind web-scraping --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/cohen-liel/hivemind.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/web-scraping .agents/skills/web-scraping && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "web-scraping" agent skill from https://github.com/cohen-liel/hivemind/tree/main/.claude/skills/web-scraping into .agents/skills/web-scraping/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "web-scraping", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add cohen-liel/hivemind --skill web-scraping -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install cohen-liel/hivemind web-scraping --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/cohen-liel/hivemind.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/web-scraping .cursor/skills/web-scraping && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "web-scraping" agent skill from https://github.com/cohen-liel/hivemind/tree/main/.claude/skills/web-scraping into .cursor/skills/web-scraping/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "web-scraping", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/cohen-liel/hivemind.git --path .claude/skills/web-scraping--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add cohen-liel/hivemind --skill web-scraping -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install cohen-liel/hivemind web-scraping --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/cohen-liel/hivemind.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/web-scraping .gemini/skills/web-scraping && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "web-scraping" agent skill from https://github.com/cohen-liel/hivemind/tree/main/.claude/skills/web-scraping into .gemini/skills/web-scraping/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "web-scraping", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install cohen-liel/hivemind web-scrapingInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add cohen-liel/hivemind --skill web-scraping -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/cohen-liel/hivemind.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/web-scraping .github/skills/web-scraping && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "web-scraping" agent skill from https://github.com/cohen-liel/hivemind/tree/main/.claude/skills/web-scraping into .github/skills/web-scraping/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "web-scraping", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add cohen-liel/hivemind --skill web-scraping -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install cohen-liel/hivemind web-scraping --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/cohen-liel/hivemind.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/web-scraping .opencode/skills/web-scraping && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "web-scraping" agent skill from https://github.com/cohen-liel/hivemind/tree/main/.claude/skills/web-scraping into .opencode/skills/web-scraping/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "web-scraping", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
web-scrapingWeb scraping and internet search patterns. An agent skill from cohen-liel/hivemind.
Web Scraping is an agent skill from cohen-liel/hivemind. Web scraping and internet search patterns. Use when scraping websites, crawling pages, extracting data from HTML, automating browser interactions, or fetching external web content programmatically.
Its SKILL.md is about 2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Data & Analytics, covering Web scraping. The repository describes itself as: One prompt. A full AI engineering team. Go lie on the couch. 🧠. The licence is Apache-2.0.
Read from SKILL.md and the folder at commit 918dd9b. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are python).
From the folder's file list and the shell code blocks in SKILL.md.
Hosts in commands or code, which the agent is likely to contact:
serpapi.comapi.duckduckgo.comFrom URLs in SKILL.md, links to its own repository left out.
Names these keys or tokens, usually read from environment variables:
SERPAPI_KEYFrom names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Web Scraping loads about 2k tokens when it runs. Until then it costs about 53 tokens; SKILL.md has 117 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from cohen-liel/hivemind at commit 918dd9b, republished under its Apache-2.0 licence (© cohen-liel). 117 words, ~1,981 tokens.
.claude/skills/web-scraping/SKILL.md (or your agent's skills folder).import httpx
from bs4 import BeautifulSoup
import asyncio
async def scrape_page(url: str) -> dict:
"""Fetch and parse a single page."""
headers = {
"User-Agent": "Mozilla/5.0 (compatible; MyBot/1.0; +https://example.com/bot)"
}
async with httpx.AsyncClient(headers=headers, follow_redirects=True, timeout=30) as client:
response = await client.get(url)
response.raise_for_status()
soup = BeautifulSoup(response.text, "lxml")
return {
"title": soup.find("title").get_text(strip=True) if soup.find("title") else "",
"headings": [h.get_text(strip=True) for h in soup.find_all(["h1", "h2", "h3"])],
"links": [a["href"] for a in soup.find_all("a", href=True)],
"text": soup.get_text(separator="\n", strip=True)[:5000],
}
async def scrape_many(urls: list[str], max_concurrent: int = 5) -> list[dict]:
"""Scrape many URLs with concurrency limit."""
sem = asyncio.Semaphore(max_concurrent)
async def fetch_one(url):
async with sem:
try:
return await scrape_page(url)
except Exception as e:
return {"url": url, "error": str(e)}
return await asyncio.gather(*[fetch_one(url) for url in urls])from playwright.async_api import async_playwright
async def scrape_with_browser(url: str) -> str:
"""Use for JS-heavy sites that need a real browser."""
async with async_playwright() as p:
browser = await p.chromium.launch(headless=True)
page = await browser.new_page()
# Block images/fonts for speed
await page.route("**/*.{png,jpg,gif,webp,svg,woff,woff2}", lambda r: r.abort())
await page.goto(url, wait_until="networkidle", timeout=30000)
# Wait for specific element
await page.wait_for_selector(".content", timeout=10000)
# Extract data
text = await page.inner_text("body")
links = await page.eval_on_selector_all("a[href]", "els => els.map(e => e.href)")
await browser.close()
return text
async def fill_form_and_submit(url: str, form_data: dict) -> str:
"""Automate form submission."""
async with async_playwright() as p:
browser = await p.chromium.launch(headless=True)
page = await browser.new_page()
await page.goto(url)
for selector, value in form_data.items():
await page.fill(selector, value)
await page.click("button[type=submit]")
await page.wait_for_load_state("networkidle")
result = await page.inner_text("body")
await browser.close()
return resultimport httpx
async def search_web(query: str, num_results: int = 10) -> list[dict]:
"""Search the web using SerpAPI."""
async with httpx.AsyncClient() as client:
response = await client.get(
"https://serpapi.com/search",
params={
"q": query,
"num": num_results,
"api_key": settings.SERPAPI_KEY,
"engine": "google",
},
timeout=30,
)
data = response.json()
return [
{
"title": r.get("title"),
"url": r.get("link"),
"snippet": r.get("snippet"),
}
for r in data.get("organic_results", [])
]
async def search_duckduckgo(query: str) -> list[dict]:
"""Free alternative — DuckDuckGo instant answers (no API key)."""
async with httpx.AsyncClient() as client:
response = await client.get(
"https://api.duckduckgo.com/",
params={"q": query, "format": "json", "no_html": 1},
timeout=15,
)
data = response.json()
results = []
for r in data.get("Results", []):
results.append({"title": r["Text"], "url": r["FirstURL"]})
return resultsimport feedparser
import httpx
async def read_rss(feed_url: str) -> list[dict]:
"""Parse RSS/Atom feed."""
async with httpx.AsyncClient() as client:
response = await client.get(feed_url, timeout=15)
feed = feedparser.parse(response.text)
return [
{
"title": entry.title,
"url": entry.link,
"summary": entry.get("summary", ""),
"published": entry.get("published", ""),
}
for entry in feed.entries[:20]
]from pydantic import BaseModel
from typing import Optional
import re
class ProductData(BaseModel):
name: str
price: Optional[float]
description: str
image_url: Optional[str]
def extract_product(soup: BeautifulSoup, url: str) -> ProductData:
"""Extract structured product data."""
# Try JSON-LD schema first (most reliable)
json_ld = soup.find("script", type="application/ld+json")
if json_ld:
import json
data = json.loads(json_ld.string)
if data.get("@type") == "Product":
return ProductData(
name=data["name"],
price=float(data.get("offers", {}).get("price", 0)),
description=data.get("description", ""),
image_url=data.get("image"),
)
# Fallback: heuristic selectors
name = soup.find(["h1", '[class*="title"]', '[itemprop="name"]'])
price_el = soup.find(['[class*="price"]', '[itemprop="price"]'])
price_text = price_el.get_text() if price_el else ""
price = float(re.search(r'[\d.]+', price_text).group()) if re.search(r'[\d.]+', price_text) else None
return ProductData(
name=name.get_text(strip=True) if name else "",
price=price,
description="",
image_url=None,
)import time, random
class PoliteScraper:
def __init__(self, delay_range=(1, 3)):
self.delay_range = delay_range
self.last_request = {}
async def fetch(self, url: str, session: httpx.AsyncClient) -> str:
domain = httpx.URL(url).host
# Respect per-domain delay
if domain in self.last_request:
elapsed = time.time() - self.last_request[domain]
min_delay = random.uniform(*self.delay_range)
if elapsed < min_delay:
await asyncio.sleep(min_delay - elapsed)
response = await session.get(url)
self.last_request[domain] = time.time()
return response.textfrom urllib.robotparser import RobotFileParser
from urllib.parse import urljoin
def can_scrape(url: str, user_agent: str = "*") -> bool:
"""Check robots.txt before scraping."""
parsed = httpx.URL(url)
robots_url = f"{parsed.scheme}://{parsed.host}/robots.txt"
rp = RobotFileParser()
rp.set_url(robots_url)
rp.read()
return rp.can_fetch(user_agent, url)© cohen-liel, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .claude/skills/web-scraping of cohen-liel/hivemind.
Open the folder on GitHubat commit 918dd9b
Web Scraping next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Web Scraping this skillcohen-liel/hivemind | 110 | — | ~2k | Automated safety check: Pass | Apache-2.0 | |
| Tmuxtrpc-group/trpc-agent-go | 1.9k | 23 repos | ~868 | Automated safety check: Pass | Apache-2.0 | |
| Ketch1broseidon/ketch | 702 | 1 repos | ~3.9k | Automated safety check: Pass | MIT | |
| Crawl4AI Web Scrapingsmallnest/goclaw | 599 | 1 repos | ~2.5k | Automated safety check: Pass | MIT | |
| Boss Zhipin Scrapereatmoreduck/boss-zhipin-scraper | 1.5k | — | ~2.6k | Automated safety check: Pass | MIT | |
| Axyusukebe/ax | 719 | 1 repos | ~918 | Automated safety check: Pass | MIT |
trpc-group/trpc-agent-go
Remote-control tmux sessions for interactive CLIs by sending keystrokes and scraping pane output.
1broseidon/ketch
Research skill for ketch — a fast stateless CLI for web search, OSS code search, curated library docs, page scraping, and site crawling; an optional MCP server exists for operators who want it, but…
smallnest/goclaw
Scrapes sites, handles JavaScript-heavy pages and extracts structured data with Crawl4AI, through its crwl CLI or Python SDK, including schema-based extraction without an LLM.
eatmoreduck/boss-zhipin-scraper
Scrape BOSS直聘 (job listing site) via Chrome CDP. An agent skill from eatmoreduck/boss-zhipin-scraper.
yusukebe/ax
Use the ax CLI instead of curl + throwaway parsing scripts whenever you fetch a URL, explore an unknown web page, or extract structured data from HTML.
Anakin-Inc/anakin
Scrape any website into clean markdown or structured JSON. An agent skill from Anakin-Inc/anakin.
cohen-liel/hivemind
REST API design principles and best practices. An agent skill from cohen-liel/hivemind.
cohen-liel/hivemind
Python asyncio patterns for high-performance async code. An agent skill from cohen-liel/hivemind.
cohen-liel/hivemind
Celery background task patterns for Python apps. An agent skill from cohen-liel/hivemind.
cohen-liel/hivemind
Docker, docker-compose, and deployment configuration best practices.
cohen-liel/hivemind
End-to-end testing patterns with Playwright. An agent skill from cohen-liel/hivemind.
cohen-liel/hivemind
Email sending patterns for transactional and marketing emails.
Categories
Web scraping and internet search patterns. An agent skill from cohen-liel/hivemind. Web Scraping is an agent skill from cohen-liel/hivemind. Web scraping and internet search patterns.
Web Scraping fits situations like: scraping websites; extracting data from HTML; automating browser interactions; fetching external web content programmatically.
Run `npx skills add cohen-liel/hivemind --skill web-scraping -a claude-code`. Or copy the skill folder (.claude/skills/web-scraping in cohen-liel/hivemind) into .claude/skills/web-scraping in your project. Claude Code loads it when a task matches its description.
Run `npx skills add cohen-liel/hivemind --skill web-scraping -a codex`. Or copy the skill folder (.claude/skills/web-scraping in cohen-liel/hivemind) into .agents/skills/web-scraping in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add cohen-liel/hivemind --skill web-scraping -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/web-scraping, .gemini/skills/web-scraping, .github/skills/web-scraping and .opencode/skills/web-scraping in your project.
Going by SKILL.md and its folder, Web Scraping needs credentials named SERPAPI_KEY. Our summary lists: Python 3; A credential in SERPAPI_KEY.
SKILL.md names 2 domains. In commands or code: serpapi.com and api.duckduckgo.com; the agent is likely to contact these when it follows the instructions. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Web Scraping is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2k tokens (SKILL.md is roughly 7.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Web Scraping: Tmux (trpc-group/trpc-agent-go, 1.9k stars), Ketch (1broseidon/ketch, 702 stars), Crawl4AI Web Scraping (smallnest/goclaw, 599 stars) and Boss Zhipin Scraper (eatmoreduck/boss-zhipin-scraper, 1.5k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
cohen-liel (a GitHub user) maintains it in cohen-liel/hivemind, which has 110 GitHub stars. The repository holds 33 skills in this directory. The repository was last updated on April 18, 2026.
Source: cohen-liel/hivemind on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.