Index of every page on this site: llms.txt
All skills
jeremylongshore avatar

/apify-local-dev-loop

@820dfc8
Run it yourself

Set up local Apify Actor development with the Apify CLI and Crawlee. Use when creating Actors locally, testing with the apify run command, inspecting local storage, or establishing a fast develop-test-deploy cycle before pushing to the platform. Trigger with "apify dev setup", "apify local development", "develop actor locally", "apify run local".

Use this Skill: https://skilld.dev/gh/jeremylongshore/tons-of-skills-marketplace/apify-local-dev-loop

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencesexamples.md

≈439 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Apify Local Dev Loop — Worked Examples

Three end-to-end scenarios for the develop-test-deploy loop. Each uses only the Apify CLI and the local storage/ emulation created by apify run.

1. Scaffold a new Actor and run it locally

Create a project from the Cheerio TypeScript template, then run it against a default input:

# Create from specific template
apify create my-actor --template project_cheerio_crawler_ts
# Templates: project_empty, project_cheerio_crawler_ts,
#   project_playwright_crawler_ts, project_puppeteer_crawler_ts

cd my-actor
apify run

apify run creates the local storage/ tree and writes scraped rows to storage/datasets/default/.

2. Provide a local input file and inspect results

Seed a persistent input at storage/key_value_stores/default/INPUT.json, run, then read back the dataset:

{
  "startUrls": [{ "url": "https://example.com" }],
  "maxPages": 5
}
apify run

# View results as pretty-printed JSON
cat storage/datasets/default/*.json | jq '.'

# Or list dataset files
ls storage/datasets/default/

Each item matches the shape pushed by Actor.pushData():

{
  "url": "https://example.com",
  "title": "Example Domain",
  "h1": "Example Domain",
  "timestamp": "2026-07-17T14:03:22.481Z"
}

3. One-shot run with inline input (no file)

Pass input directly on the command line for a quick throwaway run — handy while iterating on selectors:

apify run --input='{"startUrls":[{"url":"https://example.com"}],"maxPages":5}'

For the fastest inner loop, skip the CLI entirely and run the entry point with tsx watch (see implementation.md § Hot Reload Development) so edits to src/main.ts re-run automatically.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts2mo3 checks · Risk SAFE
  • Gen Agent Trust Hub2mo

    This skill facilitates local development for Apify Actors by setting up the official Apify CLI and environment. It allows developers to scaffold projects, emulate platform storage locally, and test crawlers without cloud dependencies. The skill follows security best practices for credential management and utilizes official tools from the Apify ecosystem.

  • Socket2mo

    No alerts

  • Snyk2mo

    Risk: LOW · No issues

Signed by skilld at 820dfc8. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 4 months ago
What it can do
Reads files Edits files Runs commands
version
1.5.0
author
Jeremy Longshore <jeremy@intentsolutions.io>
tags
[
  "saas",
  "scraping",
  "automation",
  "apify"
]
All 6 allowed tools
ReadWriteEditBash(npm:*)Bash(npx:*)Bash(apify:*)
Other metadata
compatibility
Designed for Claude Code

README badge

README badge for jeremylongshore/tons-of-skills-marketplace/apify-local-dev-loop