Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

apify-cost-tuning

Skill by jeremylongshore

Optimize Apify platform costs through memory tuning, compute unit tracking, and proxy budgeting. Aimed at developers who run Apify Actors and want to cut or cap their bills.

  • Score 80
  • 3k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install apify-cost-tuning

Built from the published package, never by AI.

git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace /tmp/tons-of-skills-marketplace && mkdir -p ~/.claude/skills && cp -r /tmp/tons-of-skills-marketplace/skills/.curated/apify-cost-tuning ~/.claude/skills/apify-cost-tuning

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install apify-cost-tuning in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill helps reduce spend on the Apify platform, which charges on compute units (CU), proxy traffic (GB) and storage. It follows an investigate, tune and guard loop. It rolls up recent Actor runs into CU and USD totals, then sweeps memory settings to find the cheapest allocation that still succeeds.

It also covers crawl duration limits, proxy choices such as datacenter versus residential, and a budget guard that polls a run's usage and aborts it past a USD cap. A monthly report ranks Actors by spend. The skill is for developers who run Apify Actors and need to analyze billing or set budget alerts. Full pricing tables and code live in separate reference files.

Written from the project's SKILL.md and checked against it.

What it can do

  • Per-Actor cost analysisTotals runs, CU, USD and average cost per run for a chosen lookback window.
  • Memory profilingSweeps memory from 4096 MB down to 256 MB to find the cheapest setting that succeeds.
  • Crawl duration tuningAdjusts concurrency, timeouts, request caps, retries and selective link enqueueing.
  • Proxy cost reductionPrefers datacenter proxy, blocks images, fonts and CSS, and reuses proxy sessions.
  • Budget guardPolls a run's usageTotalUsd every 30s and aborts it once spend crosses a USD cap.
  • Monthly cost reportRanks every Actor by spend since the 1st of the month with a grand total.

What you need

  • Apify account with API access
  • APIFY_TOKEN set in the environment
  • apify-client npm package
  • An Actor with run history to analyze

Try asking

  • Analyze my Apify Actor runs from the last 30 days and show total USD spend.
  • Find the cheapest memory setting for my CheerioCrawler Actor.
  • Create a budget guard that aborts any Apify run costing over $0.50.

Good to know

  • Full pricing tables and step code are in separate reference files, not in the main skill text.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/.curated/apify-cost-tuning/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

Allowed tools: ReadGrep

  • SKILL.md6 KB
  • references/examples.md2 KB
  • references/implementation.md7 KB
  • references/pricing-model.md1 KB

Alternatives to apify-cost-tuning

All alternatives →
openclaw-github-repo-commandersickn33
94

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.

AAA Skill 50k
gradiogradio-app
94

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.

AAA Skill 44k
hig-components-menussickn33
94

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.

AAA Skill 50k
fastapi-templateswshobson
94

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.

AAA Skill 43k
appfunctionsandroid
94

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.

AAA Skill 11k
agent-qa-authoringsickn33
94

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.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

apify-cost-tuning: common questions

What is a compute unit on Apify?

The source says one CU equals 1 GB of memory running for one hour. Cost therefore scales with memory allocation and run duration.

How does the Apify budget guard work?

It starts a run, polls usageTotalUsd every 30 seconds, and calls abort once spend crosses a hard cap you set.

Which Apify proxy is cheaper?

The source says datacenter proxy is free with the plan. It recommends residential proxy only when a site blocks datacenter traffic.

How do I install apify-cost-tuning?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is apify-cost-tuning free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is apify-cost-tuning safe to use?

It scores 80 of 100. Grades: maintenance A, licence A, quality A. 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-cost-tuning?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

apify-cost-tuning Install

Add to stack

Loading.