Apify Automation
Skill này làm gì
Công cụ này giúp bạn tự động thu thập thông tin từ web bằng Apify. Bạn có thể chạy các “robot” (gọi là Actor) để duyệt website và trích xuất dữ liệu, như danh sách sản phẩm hoặc bài báo.
Khi nào nên dùng
- ✓Khi bạn cần thu thập nhiều dữ liệu từ một website cụ thể.
- ✓Khi bạn cần lấy thông tin cập nhật từ những trang thường xuyên thay đổi.
- ✓Khi bạn cần sắp xếp và lưu dữ liệu từ nhiều trang web cùng lúc.
Liên kết skill
https://github.com/ComposioHQ/awesome-claude-skills/blob/master/composio-skills/apify-automation/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Chạy robot thu thập thông tin về nhà hàng ở New York và cho tôi xem 50 kết quả đầu tiên.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Bạn cho công cụ biết “robot” (Actor) nào cần dùng và thông tin nào cần tìm. Công cụ sẽ chạy robot đó và đưa dữ liệu về cho bạn theo một định dạng có tổ chức.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Apify Automation
Run Apify web scraping Actors and manage datasets directly from Claude Code. Execute crawlers synchronously or asynchronously, retrieve structured data, create reusable tasks, and inspect run logs without leaving your terminal.
Toolkit docs: composio.dev/toolkits/apify
Setup
- Add the Composio MCP server to your configuration:
https://rube.app/mcp - Connect your Apify account when prompted. The agent will provide an authentication link.
- Browse available Actors at apify.com/store. Each Actor has its own unique input schema -- always check the Actor's documentation before running.
Core Workflows
1. Run an Actor Synchronously and Get Results
Execute an Actor and immediately retrieve its dataset items in a single call. Best for quick scraping jobs.
Tool: APIFY_RUN_ACTOR_SYNC_GET_DATASET_ITEMS
Key parameters:
actorId(required) -- Actor ID in formatusername/actor-name(e.g.,compass/crawler-google-places)input-- JSON input object matching the Actor's schema. Each Actor has unique field names -- check apify.com/store for the exact schema.limit-- max items to returnoffset-- skip items for paginationformat--json(default),csv,jsonl,html,xlsx,xmltimeout-- run timeout in secondswaitForFinish-- max wait time (0-300 seconds)fields-- comma-separated list of fields to includeomit-- comma-separated list of fields to exclude
Example prompt: "Run the Google Places scraper for 'restaurants in New York' and return the first 50 results"
2. Run an Actor Asynchronously
Trigger an Actor run without waiting for completion. Use for long-running scraping jobs.
Tool: APIFY_RUN_ACTOR
Key parameters:
actorId(required) -- Actor slug or IDbody-- JSON input object for the Actormemory-- memory limit in MB (must be power of 2, minimum 128)timeout-- run timeout in secondsmaxItems-- cap on returned itemsbuild-- specific build tag (e.g.,latest,beta)
Follow up with APIFY_GET_DATASET_ITEMS to retrieve results using the run's datasetId.
Example prompt: "Start the web scraper Actor for example.com asynchronously with 1024MB memory"
3. Retrieve Dataset Items
Fetch data from a specific dataset with pagination, field selection, and filtering.
Tool: APIFY_GET_DATASET_ITEMS
Key parameters:
datasetId(required) -- dataset identifierlimit(default/max 1000) -- items per pageoffset(default 0) -- pagination offsetformat--json(recommended),csv,xlsxfields-- include only specific fieldsomit-- exclude specific fieldsclean-- remove Apify-specific metadatadesc-- reverse order (newest first)
Example prompt: "Get the first 500 items from dataset myDatasetId in JSON format"
4. Inspect Actor Details
View Actor metadata, input schema, and configuration before running it.
Tool: APIFY_GET_ACTOR
Key parameters:
actorId(required) -- Actor ID in formatusername/actor-nameor hex ID
Example prompt: "Show me the details and input schema for the apify/web-scraper Actor"
5. Create Reusable Tasks
Configure reusable Actor tasks with preset inputs for recurring scraping jobs.
Tool: APIFY_CREATE_TASK
Configure a task once, then trigger it repeatedly with consistent input parameters. Useful for scheduled or recurring data collection workflows.
Example prompt: "Create an Apify task for the Google Search scraper with default query 'AI startups' and US location"
6. Manage Runs and Datasets
List Actor runs, browse datasets, and inspect run details for monitoring and debugging.
Tools: APIFY_GET_LIST_OF_RUNS, APIFY_DATASETS_GET, APIFY_DATASET_GET, APIFY_GET_LOG
For listing runs:
- Filter by Actor and optionally by status
- Get
datasetIdfrom run details for data retrieval
For dataset management:
APIFY_DATASETS_GET-- list all your datasets with paginationAPIFY_DATASET_GET-- get metadata for a specific dataset
For debugging:
APIFY_GET_LOG-- retrieve execution logs for a run or build
Example prompt: "List the last 10 runs for the web scraper Actor and show logs for the most recent one"
Known Pitfalls
…
Câu hỏi thường gặp
“Actor” là gì?
Actor là các chương trình có sẵn trên nền tảng Apify, biết cách duyệt website và trích xuất thông tin cụ thể. Có thể hình dung chúng như những robot chuyên thu thập dữ liệu.
Làm sao để biết một Actor có thể thu thập dữ liệu gì?
Mỗi Actor có mô tả và một “input schema”, cho bạn biết nó cần thông tin gì để chạy và có thể cung cấp dữ liệu gì. Bạn có thể xem điều này trên trang web của Apify.
Tôi có thể thu thập dữ liệu từ bất kỳ website nào không?
Bạn có thể thu thập dữ liệu từ nhiều website, nhưng còn tùy thuộc vào việc đã có Actor phù hợp hay bạn có thể cấu hình một Actor để hoạt động. Các trang có cơ chế bảo vệ nâng cao có thể khó hơn.
Chi tiết
Mô tả gốc của tác giả
Automate web scraping and data extraction with Apify -- run Actors, manage datasets, create reusable tasks, and retrieve crawl results through the Composio Apify integration.
Độ phổ biến
- Sao GitHub
- 77k
- Vị trí xếp hạng
- #1803
- Giấy phép
- —
- Cập nhật
- 18/9/2026
Bình luận
- …
Thêm skill từ kho mã này
artifacts-builder
77kGiúp agent của bạn xây dựng giao diện người dùng phức tạp. Dùng công nghệ hiện đại để tạo trang web tương tác phong phú.
brand-guidelines
77kGiúp agent của bạn áp dụng màu sắc và phông chữ thương hiệu chính thức cho tài liệu. Giữ bản sắc trực quan cho mọi nội dung cần đúng phong cách công ty.
canvas-design
77kGiúp agent của bạn tạo tác phẩm nghệ thuật gốc dạng .png và .pdf. Dùng khi cần poster, tranh nghệ thuật hoặc thiết kế tĩnh khác.
changelog-generator
77kGiúp agent của bạn tạo ghi chú phát hành dành cho người dùng từ các commit mã. Biến thông tin kỹ thuật thành văn bản dễ hiểu.
Skill tương tự
tavily
394kGiúp agent của bạn tìm kiếm web bằng Tavily và lấy văn bản từ các trang cụ thể, với tùy chọn về độ sâu, tên miền và ngày tháng.
blogwatcher
394kCho phép agent của bạn theo dõi blog và nguồn cấp RSS hoặc Atom, kiểm tra bài viết mới và đánh dấu những bài bạn đã đọc.
data-scraper-agent
280kGiúp agent tự động thu thập dữ liệu từ mọi nguồn công khai. Có thể lên lịch, bổ sung thông tin và lưu kết quả. Hữu ích để theo dõi dữ liệu trực tuyến.