apify-actor-development
यह क्या करती है
यह असिस्टेंट Apify प्लेटफ़ॉर्म पर 'Actors' बनाने और उन्हें संभालने में आपकी मदद करता है। Actors छोटे प्रोग्राम होते हैं जो कोई खास काम करते हैं, जैसे वेब से डेटा इकट्ठा करना।
कब इस्तेमाल करें
- ✓जब आप डेटा इकट्ठा करने के लिए नया प्रोग्राम बनाना चाहते हैं।
- ✓जब आपको किसी मौजूदा प्रोग्राम में बदलाव करना हो।
- ✓Apify प्लेटफ़ॉर्म से सुरक्षित कनेक्शन सेट करने के लिए।
Skill का लिंक
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/apify-actor-development/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मैं एक नया Python actor बनाना चाहता हूँ जो किसी वेबसाइट से जानकारी इकट्ठा करे।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
यह आपको ज़रूरी टूल इंस्टॉल करने, अपने प्रोग्राम के लिए शुरुआती टेम्पलेट चुनने और तकनीकी सेटिंग्स कॉन्फ़िगर करने में मदद करता है, ताकि वह Apify प्लेटफ़ॉर्म पर ठीक से चले।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Apify Actor Development
Important: Before you begin, fill in the generatedBy property in the meta section of .actor/actor.json. Replace it with the tool and model you're currently using, such as "Claude Code with Claude Sonnet 4.5". This helps Apify monitor and improve AGENTS.md for specific AI tools and models.
When to Use
- You need to create, modify, or debug an Apify Actor project.
- The task involves choosing an Apify template, wiring actor inputs/outputs, or implementing actor runtime logic.
- You need safe setup guidance for
apifyCLI authentication, project bootstrap, or deployment workflow.
What are Apify Actors?
Actors are serverless programs inspired by the UNIX philosophy - programs that do one thing well and can be easily combined to build complex systems. They're packaged as Docker images and run in isolated containers in the cloud.
Core Concepts:
- Accept well-defined JSON input
- Perform isolated tasks (web scraping, automation, data processing)
- Produce structured JSON output to datasets and/or store data in key-value stores
- Can run from seconds to hours or even indefinitely
- Persist state and can be restarted
Prerequisites & Setup (MANDATORY)
Before creating or modifying actors, verify that apify CLI is installed apify --help.
If it is not installed, use one of these methods (listed in order of preference):
# Preferred: install via a package manager (provides integrity checks)
npm install -g apify-cli
# Or (Mac): brew install apify-cli
Security note: Do NOT install the CLI by piping remote scripts directly into a shell. Always use a package manager.
When the apify CLI is installed, check that it is logged in with:
apify info # Should return your username
If it is not logged in, check if the APIFY_TOKEN environment variable is defined (if not, ask the user to generate one on https://console.apify.com/settings/integrations and then define APIFY_TOKEN with it).
Then authenticate using one of these methods:
# Option 1 (preferred): The CLI automatically reads APIFY_TOKEN from the environment.
# Just ensure the env var is exported and run any apify command — no explicit login needed.
# Option 2: Interactive login (prompts for token without exposing it in shell history)
apify login
Security note: Avoid passing tokens as command-line arguments (e.g.
apify login -t <token>). Arguments are visible in process listings and may be recorded in shell history. Prefer environment variables or interactive login instead. Never log, print, or embedAPIFY_TOKENin source code or configuration files. Use a token with the minimum required permissions (scoped token) and rotate it periodically.
Template Selection
IMPORTANT: Before starting actor development, always ask the user which programming language they prefer:
- JavaScript - Use
apify create <actor-name> -t project_empty - TypeScript - Use
apify create <actor-name> -t ts_empty - Python - Use
apify create <actor-name> -t python-empty
Use the appropriate CLI command based on the user's language choice. Additional packages (Crawlee, Playwright, etc.) can be installed later as needed.
Quick Start Workflow
- Create actor project - Run the appropriate
apify createcommand based on user's language preference (see Template Selection above) - Install dependencies (verify package names match intended packages before installing)
- JavaScript/TypeScript:
npm install(usespackage-lock.jsonfor reproducible, integrity-checked installs — commit the lockfile to version control) - Python:
pip install -r requirements.txt(pin exact versions inrequirements.txt, e.g.crawlee==1.2.3, and commit the file to version control)
- JavaScript/TypeScript:
- Implement logic - Write the actor code in
src/main.py,src/main.js, orsrc/main.ts - Configure schemas - Update input/output schemas in
.actor/input_schema.json,.actor/output_schema.json,.actor/dataset_schema.json - Configure platform settings - Update
.actor/actor.jsonwith actor metadata (see references/actor-json.md) - Write documentation - Create comprehensive README.md for the marketplace
- Test locally - Run
apify runto verify functionality (see Local Testing section below) - Deploy - Run
apify pushto deploy the actor on the Apify platform (actor name is defined in.actor/actor.json)
Security
…
अक्सर पूछे जाने वाले सवाल
'Actors' क्या होते हैं?
Actors Apify पर बनाए जाने वाले छोटे रोबोट या प्रोग्राम जैसे होते हैं, जो वेबसाइट से डेटा निकालने जैसे ऑटोमेटिक काम करते हैं।
क्या मुझे प्रोग्रामिंग के बारे में बहुत कुछ जानना होगा?
असिस्टेंट शुरुआती कदमों और सेटअप में मदद करता है, लेकिन जिस खास काम के लिए actor बना रहे हैं, उसका कोड आपको ही लिखना होगा।
क्या इसे इस्तेमाल करना सुरक्षित है?
हाँ, Apify एक सुरक्षित माहौल देता है, और यह असिस्टेंट सुरक्षा के अच्छे तरीकों पर मार्गदर्शन करता है, जैसे पासवर्ड सार्वजनिक न करना।
जानकारी
लेखक का मूल विवरण
Important: Before you begin, fill in the generatedBy property in the meta section of .actor/actor.json. Replace it with the tool and model you're currently using, such as \"Claude Code with Claude Sonnet 4.5\". This helps Apify monitor and improve AGENTS.md for specific AI tools and models.
लोकप्रियता
- GitHub स्टार
- 48k
- रैंकिंग में स्थान
- #3783
- लाइसेंस
- MIT
- अपडेट की गई
- 15/10/2026
कमेंट
- …
इस repository की और skills
00-andruia-consultant
48kआपके एजेंट को AI प्रोजेक्ट शुरू करने या उन्हें बेहतर बनाने में मदद करता है। यह code का विश्लेषण करता है, tools सुझाता है और स्पेनिश भाषा में action plan बनाता है।
007
48kआपका एजेंट security audit और threat modeling करता है। यह प्रोजेक्ट को हमलों और कमजोरियों से बचाने में काम आता है।
10-andruia-skill-smith
48kआपके एजेंट को AI tools बनाने या उन्हें बेहतर करने में मदद करता है। यह तय करता है कि tools कैसे काम करेंगे, documentation लिखता है और structure की जांच करता है।
20-andruia-niche-intelligence
48kआपका एजेंट किसी खास industry का summary बनाता है। भरोसेमंद स्रोतों की मदद से यह प्रोजेक्ट का संदर्भ, नियम, इस्तेमाल के तरीके और जोखिम समझने में मदद करता है।
मिलती-जुलती skills
openclaw-update
394kयह आपके एजेंट को चल रहे OpenClaw Gateway को अपडेट करने में मदद करती है, इंस्टॉल के तरीके के अनुसार सही विधि चुनकर और सेशन बनाए रखकर।
diagnose-gateway
394kयह आपके एजेंट को सेटिंग्स, चैनल और पोर्ट जांचकर पता लगाने देती है कि OpenClaw Gateway क्यों फ़ेल हो रहा है, बिना कुछ बदले।
crabbox-apps
394kयह आपके एजेंट को किसी अस्थायी क्लाउड मशीन पर ऐप खोलने और चलाने देती है, फिर उसका व्यू आपके चैट के साइड पैनल में दिखाती है।