Skip to main content

Claude Code setup for Apify Actor development

This downloadable configuration template splits guidance for an Apify Actor across Claude Code agents, skills, commands, rules, and project instructions. It was created for a TypeScript Actor based on Crawlee, Playwright, and Chrome.

What is Apify?

Apify is a cloud platform for building and running programs called Actors. Its documentation includes a web-scraping introduction, and its store provides Actor templates.

The problem with CLAUDE.md

The source template used one CLAUDE.md file. This example separates task-specific guidance so each command can name the agents and skills it needs.

What does this setup do?

The setup is based on Apify's Crawlee, Playwright, and Chrome template. The download contains:

The included /deploy-and-get-working command describes a loop that builds locally, runs a test scrape, pushes the Actor to Apify, waits for the platform build, and runs it there. Review the command and its permissions before using it because it performs deployment actions.

Downloading and getting started

Download apify-claude.zip, or browse the source files on GitHub.

Setup steps

  1. Unzip the downloaded template.
  2. Copy .env.template to .env and set APIFY_TOKEN.
  3. Create an Actor in the Apify Console, then set its name and other options in .actor/actor.json.
  4. Review the files and the actions performed by /deploy-and-get-working, then run the command from Claude Code when you are ready to deploy.

Why is this on HTML Washer?

This configuration was created while developing an Apify Actor related to HTML Washer.

Next steps

Adapt the agents, skills, commands, and rules to your Actor before using the deployment workflow. See the Claude Code documentation for the current configuration model.

Updated: September 7, 2026