apify-keys
Rotating Apify API key manager. Returns the least-recently-used active Apify key from the ColdCore database. Use before any Apify API call to get a fresh key with available credits.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/aces1up/apify-keysWhat This Skill Does
The apify-keys skill is a robust credential management utility designed for OpenClaw agents performing large-scale web scraping and automation tasks via Apify. It automates the rotation of API keys by interacting with a central ColdCore MySQL database. By tracking the usage history of each credential, the skill ensures that the agent utilizes the least-recently-used key, effectively distributing API load across multiple accounts. The system includes built-in balance verification, ensuring that the agent never attempts to execute a task with a depleted or invalid key. It simplifies the developer workflow by allowing direct integration via command-line piping or subprocess calls within Python-based skills.
Installation
To install this skill, use the ClawHub command-line interface provided in your OpenClaw environment:
clawhub install openclaw/skills/skills/aces1up/apify-keys
Ensure that your environment variables (COLDCORE_HOST, COLDCORE_USER, COLDCORE_PASS, COLDCORE_DB) are properly configured in your system profile or .env file to allow the script to establish a connection with the ColdCore database instance.
Use Cases
This skill is essential for high-volume data extraction projects where individual Apify accounts may hit rate limits or monthly quota caps. By cycling through a rotation pool, the agent maintains consistent uptime without manual intervention. It is particularly useful for lead generation workflows, social media monitoring, and bulk web-crawling scenarios where IP reputation and account-level limits are critical success factors.
Example Prompts
- "Check the status of my available Apify keys and provide a summary of the current account balances to ensure we are ready for the morning scrape."
- "Execute the lead generation scraping script, making sure to fetch a fresh, high-balance Apify key from the database before starting the job."
- "Can you list all the Apify keys stored in ColdCore along with their associated email addresses and remaining account balances?"
Tips & Limitations
- Tip: Always use the
--jsonflag when writing wrapper scripts to ensure robust parsing of account metadata. - Tip: If a specific task is mission-critical, use the
--check-balanceflag to verify the health of your key before starting long-running jobs. - Limitation: The skill requires active database connectivity; ensure your network security groups permit communication between the OpenClaw agent and your MySQL host.
- Limitation: The script updates the 'last_used' timestamp locally; ensure your database permissions allow both SELECT and UPDATE operations for the designated user.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-aces1up-apify-keys": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, file-read, external-api, code-execution
Related Skills
Phantom Browser
Undetectable browser automation for AI agents. 31/31 stealth tests passed. WindMouse physics, per-profile fingerprinting, residential IP routing. Runs headless on a $6/mo VPS.
ad-engine
Assemble modular ads from Supabase components and deploy to Facebook Ads Manager via the Marketing API. Supports preview, single/batch deploy, and status tracking. Uses ad_components table for A/B testing at scale.
redditrank
Find Reddit threads ranking on Google Page 1 for your keywords. AI drafts contextual replies that naturally mention your product. Copy, paste, post. Free organic traffic.
Comment Forge
Corpus-grounded Reddit comment engine. Generate natural replies that pass AI detection, powered by real comment corpus and 7-dimension QA scoring.