web-crawler-ocr
Skill0 starsChanged 13 months agoMITView on GitHub
웹페이지 크롤링 + 이미지 OCR 자동 분석. "이 URL 분석해줘", "크롤링해줘", "웹사이트 분석", "사이트 크롤링", "경쟁사 분석", "페이지 추출", "analyze this URL", "crawl website", "competitor analysis", "extract webpage" 등을 언급하거나 https:// 또는 http:// URL을 제공하면 자동 실행. Claude의 5MB 이미지 제한을 Gemini OCR(20MB)로 우회.
- Reads credentials
- Installs packages
1 other project uses a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- minsni/do-better-workspaceedited, first seen Mar 27, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 1
- minsni/do-better-workspace★ 035% same
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repositoryOne other file it gives its agents.
- google-calendarSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 4 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 30
Look for https:// or http://
- Distinctive: line 52
Filename: Use domain + timestamp or user-specified name.
- Distinctive: line 70
Always use full absolute paths for output
- Very specific: line 72
Ensure output directory exists (create with mkdir -p if needed)
- Distinctive: line 77
Use Read tool to open generated markdown file
- Very specific: line 152
Create .env in the scripts folder:
- Distinctive: line 170
Run setup script once to install dependencies:
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Web Crawler + Gemini OCR Skill
Extract complete web page content (text + images) and save as markdown file.
When to Use This Skill
This skill automatically activates when the user:
- Provides a URL: "https://example.com analyze this"
- Requests web crawling: "crawl this website", "extract webpage content"
- Mentions competitor analysis: "analyze competitor site"
- Needs image OCR from web: "OCR images from this page"
- Wants to bypass 5MB limit: "large images on this site"
What This Skill Does
- Firecrawl: Clean text extraction (removes ads/clutter)
- Gemini OCR: Extract text from images (up to 20MB per image)
- Complete Markdown: Text + image analysis in one file
Instructions
Step 1: Identify the URL
Extract URL(s) from user message:
- Look for
https://orhttp:// - Multiple URLs? Process each one
Step 2: Determine Output Location
Based on user context, choose appropriate path:
Competitor Analysis:
/Users/rhim/Projects/pkm/50-resources/competitor-analysis/Educational Reference (e.g. HFK):
/Users/rhim/Projects/pkm/10-projects/12-education/{project-folder}/General Web Research:
/Users/rhim/Projects/pkm/50-resources/web-research/Filename: Use domain + timestamp or user-specified name.
Step 3: Execute Web Crawler Script
WSL Path:
cd /home/rhim/claude-projects/imi-workspace/.claude/skills/web-crawler-ocr/scripts && \
python3 web-crawler.py "<URL>" "<output-path>"Mac Path:
cd /Users/rhim/Projects/imi-workspace/.claude/skills/web-crawler-ocr/scripts && \
python3 web-crawler.py "<URL>" "<output-path>"Important:
- Scripts are now located within the skill folder
- Always use full absolute paths for output
- Quote URLs to handle special characters
- Ensure output directory exists (create with
mkdir -pif needed) - Virtual environment setup: Run
bash setup.shin scripts folder first time
Step 4: Read and Analyze Results
- Use Read tool to open generated markdown file
- Extract key insights
- Summarize for user
Step 5: Suggest Next Steps
- Additional URLs to analyze?
- Comparative analysis needed?
- PKM organization suggestions?
Examples
Example 1: Competitor Cafe Analysis
User: "Analyze this competitor cafe website: https://competitor-cafe.com"
Claude Actions:
# 1. Ensure directory exists
mkdir -p /Users/rhim/Projects/pkm/50-resources/competitor-analysis
# 2. Run crawler (Mac)
cd /Users/rhim/Projects/imi-workspace/.claude/skills/web-crawler-ocr/scripts && \
python3 web-crawler.py \
"https://competitor-cafe.com" \
/Users/rhim/Projects/pkm/50-resources/competitor-analysis/competitor-cafe-20251029.md
# 3. Read results (use Read tool)
# 4. Provide analysisResponse: "Crawled competitor website successfully. Extracted 3,500 characters + 5 images with OCR.
Key insights:
- Brand positioning: ...
- Menu structure: ...
- Differentiators: ..."
Example 2: HFK Reference Material
User: "Analyze HFK AI team page: https://hfk.me/ai-team"
Claude Actions:
mkdir -p /Users/rhim/Projects/pkm/10-projects/12-education/12.06-hfk-winter-ai
cd /Users/rhim/Projects/imi-workspace/.claude/skills/web-crawler-ocr/scripts && \
python3 web-crawler.py \
"https://hfk.me/ai-team" \
/Users/rhim/Projects/pkm/10-projects/12-education/12.06-hfk-winter-ai/hfk-ai-team-reference.mdExample 3: Multiple URLs
User: "Analyze these 3 competitor sites:
Claude: Process each URL sequentially, then provide comparative analysis.
Environment Setup
Required Environment Variables
This skill requires two API keys:
export GEMINI_API_KEY="your_gemini_key_here"
export FIRECRAWL_API_KEY="your_firecrawl_key_here"Alternative: .env File
Create .env in the scripts folder:
WSL:
cd /home/rhim/claude-projects/imi-workspace/.claude/skills/web-crawler-ocr/scripts
cp .env.example .env
# Edit .env with your actual API keysMac:
cd /Users/rhim/Projects/imi-workspace/.claude/skills/web-crawler-ocr/scripts
cp .env.example .env
# Edit .env with your actual API keysInitial Setup
Run setup script once to install dependencies:
cd /home/rhim/claude-projects/imi-workspace/.claude/skills/web-crawler-ocr/scripts
bash setup.shCheck Setup
# Verify .env file exists
cat .claude/skills/web-crawler-ocr/scripts/.env
# Test script
cd .claude/skills/web-crawler-ocr/scripts && python3 web-crawler.py --helpLimitations
- Gemini Free Tier: 15 requests per minute
- Firecrawl Free Tier: 500 credits
- Image Limit: Maximum 10 images per page
- File Size: 20MB per image maximum
Troubleshooting
API Key Errors
# Check if keys are set
echo $GEMINI_API_KEY
echo $FIRECRAWL_API_KEY
# Set if missing
export GEMINI_API_KEY="your_key"
export FIRECRAWL_API_KEY="your_key"Python Package Errors
cd .claude/skills/web-crawler-ocr/scripts
bash setup.shOr manually:
pip install -r .claude/skills/web-crawler-ocr/scripts/requirements.txtScript Not Found
Verify script location:
ls -la .claude/skills/web-crawler-ocr/scripts/web-crawler.pyScript Location
All scripts are now contained within the skill folder:
- Main Script:
.claude/skills/web-crawler-ocr/scripts/web-crawler.py - OCR Script:
.claude/skills/web-crawler-ocr/scripts/gemini-ocr.py - Config Example:
.claude/skills/web-crawler-ocr/scripts/.env.example - Setup Script:
.claude/skills/web-crawler-ocr/scripts/setup.sh - Dependencies:
.claude/skills/web-crawler-ocr/scripts/requirements.txt - Documentation:
.claude/skills/web-crawler-ocr/README.md
Inspired By
Noah Brier's Claudesidian project:
- Firecrawl for web research
- Gemini for large image/PDF analysis
- Unix philosophy: simple composable tools
Version History
- v1.1.0 (2025-11-10): Unified skill structure
- Moved all scripts into
.claude/skills/web-crawler-ocr/scripts/ - Follows Claude Code Skills official best practices
- Self-contained skill folder (no external dependencies)
- Added setup.sh and .env.example
- Moved all scripts into
- v1.0.0 (2025-10-29): Initial skill creation
- Firecrawl + Gemini OCR integration
- Model-invoked automation
- PKM-aware file organization
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

