apify-actor-builder

apify-actor-builder is a skill for Claude Code, Codex from thirdwatch-dev/scraping-skills. It costs 122 tokens per session (1,819 once invoked), scanned A, original, MIT.

A guide to packaging a Python web scraper as an Apify Actor, which is a hosted program that can run on a schedule and store results. It covers the project files, data forms, output formats, deployment, and pay-per-result pricing.

In plain words
What is it for?
Use it to prepare a scraper for deployment with the Apify command-line tool, define its inputs and outputs, choose a runtime such as HTTP or Playwright, and configure pricing.
Why use it?
It turns a scraper you run by hand into a hosted service with scheduling, retries, storage, logging, and billing. This avoids managing your own servers and cron jobs.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Good fit Use it to prepare a scraper for deployment with the Apify command-line tool, define its inputs and outputs, choose a runtime such as HTTP or Playwright, and configure pricing.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/thirdwatch-dev/scraping-skills/apify-actor-builder
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add thirdwatch-dev/scraping-skills --skill apify-actor-builder
Clone the repo
git clone --depth 1 https://github.com/thirdwatch-dev/scraping-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for apify-actor-builder

README.md
[![agentmods](https://agentmods.dev/badge/skills/thirdwatch-dev/scraping-skills/apify-actor-builder/github.svg)](https://agentmods.dev/skills/thirdwatch-dev/scraping-skills/apify-actor-builder)
Your own site
<a href="https://agentmods.dev/skills/thirdwatch-dev/scraping-skills/apify-actor-builder"><img src="https://agentmods.dev/badge/skills/thirdwatch-dev/scraping-skills/apify-actor-builder/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for apify-actor-builder

Your own site · 80×15
<a href="https://agentmods.dev/skills/thirdwatch-dev/scraping-skills/apify-actor-builder"><img src="https://agentmods.dev/badge/skills/thirdwatch-dev/scraping-skills/apify-actor-builder.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 122 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,819 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00122 $0.01819
Opus 5.5 $0.00049 $0.00728
Sonnet 5.5 $0.00024 $0.00364
Haiku 4.5 $0.00012 $0.00182

Measured 1mo ago against content hash 4193a95f8956, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

apify-actor-builder scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/apify-actor-builder/SKILL.md · 149 lines

How it starts

The opening of the file, as written. The whole thing — 149 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Apify Actor Builder

How to turn a working scraper into a hosted, schedulable, billable Apify Actor in Python. This skill is about packaging and deployment — the scraping logic itself lives in anti-bot-scraping and web-scraping-playbook.

When to build an Actor (vs. a one-off script)

A plain script is fine for a single extraction you run by hand. Build an Actor when you need:

  • Recurring runs — scheduling, retries, and run history without your own cron/infra.
  • Managed hosting — proxies, memory, logging, and a dataset store handled for you.
  • Monetization — list it on the Apify Store and bill users pay-per-result.

If it's one-off, public, and unprotected, write an HTTP script instead.

Directory structure

An Actor is self-contained. No shared utilities across actors.

my-scraper/
├── .actor/
│   ├── actor.json          # name, version, memory, timeout, dockerfile, schemas
│   └── input_schema.json   # the form users fill out
├── my_actor/
│   ├── __init__.py
│   ├── __main__.py         # entry: asyncio.run(main())
│   └── main.py             # core logic
├── Dockerfile
├── requirements.txt
└── README.md

__main__.py is just the entrypoint:

import asyncio
from .main import main

asyncio.run(main())

Choose a runtime pattern (cheapest first)

Always climb the ladder HTTP → impit → Camoufox → Playwright. Each step costs more compute and proxy.

Pattern Base image Memory Use when
A — Pure HTTP apify/actor-python:3.14 256MB API, RSS, embedded JSON, or server-rendered HTML. httpx + beautifulsoup4. Preferred, cheapest.
B — HTTP + impit TLS apify/actor-python:3.14 256MB Site blocks on TLS/JA3 fingerprint. impit.AsyncClient(browser='chrome') spoofs Chrome at the HTTP level — no browser.
C — Playwright + Crawlee apify/actor-python-playwright:3.14-1.58.0 2048MB You need a real browser and the Crawlee crawler framework (queues, sessions).
D — Camoufox stealth apify/actor-python-playwright:3.12 2048MB DataDome / Cloudflare Turnstile / Akamai / PerimeterX. camoufox (hardened Firefox) with humanize=True.

Read the full file on GitHub · 149 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 149 lines · 122 tokens per session scan A 4193a95f8956

Subscribe to this mod's changes

apify-actor-builder is a skill published in the GitHub repository thirdwatch-dev/scraping-skills (5 stars, last pushed 3mo ago), licensed MIT. It adds 122 tokens to every session and 1,819 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

apify-actor-development

Create, modify, debug, and deploy Apify Actors, and write their input and output schemas. Use when building an Actor from scratch, changing or troubleshooting Actor code, generating or updating .actor schema files, or pushing an Actor to the Apify platform. To wrap an existing non-Actor project, use apify-actorization…

apify/agent-skills · 75 tokens

scraper-brief

Writes a clear, technical brief describing exactly what data needs to be collected from a website or set of web pages, how it should be structured, and what edge cases and legal/ethical considerations apply — for handoff to a developer or data team.

ur-grue/autopunk-media-skills · 55 tokens

tinyfish-integration

Integrate TinyFish web toolkit (search, fetch, browser automation) into Hermes Agent.

kevinnft/ai-agent-skills · 22 tokens

mk:playwright-cli

Session-persistent browser automation via Playwright CLI — form filling, screenshots, data extraction, multi-step flows. Use when the user needs to navigate websites, interact with web pages, fill forms, take screenshots, test web applications, or extract information across multiple requests. NOT for AI-driven…

ngocsangyem/MeowKit · 92 tokens

web-scraping

This skill activates for web scraping and Actor development. It proactively discovers APIs via traffic interception, recommends optimal strategy (traffic interception/sitemap/API/DOM scraping/hybrid), and implements iteratively. For production, it guides TypeScript Actor creation via Apify CLI.

yfe404/web-scraper · 57 tokens

cloud-browser-automation

Use cloud browser services (Browserbase) for Cloudflare bypass, JavaScript rendering, and stealth scraping when local tools fail.

kevinnft/ai-agent-skills · 29 tokens