apify-cli
Skill by apify
Teaches agents to use the Apify CLI (apify) for authentication, Actor development, cloud runs, and reading dataset and key-value store results. Built for agents and developers who work with Apify Actors from a terminal.
Install apify-cli
Built from the published package, never by AI.
git clone --depth 1 https://github.com/apify/apify-cli /tmp/apify-cli && mkdir -p ~/.claude/skills && cp -r /tmp/apify-cli/skills/apify ~/.claude/skills/apify-cliRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/apify/apify-cli /tmp/apify-cli && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/apify-cli/skills/apify ~/.gemini/antigravity-cli/skills/apify-cliAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This agent skill gives an AI assistant patterns for invoking the Apify CLI, the apify command. It tells the assistant to check apify -h and per-command help first, since those are the source of truth. It covers logging in with a token, verifying auth with apify info, and using --json output with jq. It also lists the flags that make create, init, login, and destructive commands run without prompts.
Other sections cover creating, running, and pushing Actors, calling Actors in the cloud with apify call, and waiting on runs and builds. Storage commands read dataset items and key-value store values. For recurring jobs, the skill directs the assistant to Apify Schedules rather than local cron, and it describes apify api as an authenticated wrapper for platform endpoints. It suits developers and agents working with Apify Actors from the command line.
Written from the project's SKILL.md and checked against it.
What it can do
- AuthenticationLogs in with a token and verifies the session with apify info.
- Actor creation and deploymentCreates, runs locally, and pushes Actors using apify create, run, and push.
- Cloud Actor callsRuns Actors in the cloud with apify call or starts them without waiting.
- Actor Store searchFinds Actors in the Apify Store with filters for pricing, sort order, and limit.
- Run and build inspectionLists, inspects, waits for, and reads logs of runs and builds.
- Dataset and key-value store accessReads dataset items and gets, sets, and lists key-value store values.
- Recurring runsSaves input as a task and points to Apify Schedules for unattended runs.
- Platform API wrapperCalls any platform endpoint through apify api with auth handled for you.
What you need
- Apify account
- Apify API token
- Apify CLI installed, with the apify command available
- jq for parsing JSON output
Try asking
- Search the Apify Store for a free jobs scraper sorted by popularity
- Run the website content crawler Actor on example.com and show the results
- Create a new Apify Actor from a template and run it locally
Good to know
- No dedicated apify schedules command yet, so schedules use apify api or the Console
- APIFY_TOKEN overrides a stored login for every command
- Interactive commands need explicit flags to run without prompts
- Agents should confirm the token with the user rather than assume APIFY_TOKEN is set
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/apify/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md6 KB
Alternatives to apify-cli
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
apify-cli: common questions
Does this skill need an Apify token?
Yes, the skill covers login with apify login --token, and apify info reports whether you are authenticated. It says not to assume APIFY_TOKEN is already set and to confirm with the user first.
How does it handle recurring Actor runs?
It says to use Apify Schedules in the cloud rather than local cron, a while loop, or GitHub Actions. It suggests saving a reusable input as a task and running it with apify task run.
Can the assistant call platform features that have no CLI command?
Yes, the apify api command is an authenticated wrapper for platform endpoints without a dedicated command. The skill says to use it instead of hand-rolled curl calls.
How do I install apify-cli?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is apify-cli free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is apify-cli safe to use?
It scores 76 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to apify-cli?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
