Claude Code setup for Apify actors development
Currently, Apify templates are shipped with a generic AGENTS.md file.
Claude Code, however, offers much more fine-tuned configuration.
This setup is based on the Crawlee + Playwright + Chrome template, where the original AGENTS.md file is transformed into a specialized Claude Code setup:
- sub-agents
- skills
- claude.md
- .mcp.json with Apify MCP server
Why not keep using the AGENTS.md
The AGENTS.md file loads entirely into context as a monolithic document. Claude Code's .claude/ folder offers separation—agents get isolated context, skills load progressively, and commands provide explicit control.
Download
Download the template at: apify-claude.zip
GitHub link
For the time of the hackathon, I am sharing also a link to my GitHub repo which I keep public only during the hackathon, so you can conveniently browse files. Later, though, there will be only the downloadable file—the reason is simple: I want people to link to my website, not to GitHub :-)
Why is it on this site?
This is the (modified) setup I am using to develop my (not yet published) Apify actor, that scrapes and cleans HTML to feed the LLMs.
How do I get it working?
- Download the template
- Create a
.envfile withAPIFY_TOKENfilled in. Use.env.templatefor it. - Create an agent in the Apify console and configure it in the
.actor/actor.json - Start Claude Code and run the
/deploy-and-get-workingslash command. It will push the code to the Apify plattform and compiles it.