agentleFS
Google CloudKnown publisherGoogleCloudPlatform/LifeSciences/applications/protein-structure-prediction/foldrun-agent/foldrun_app/skills/packages/cost-estimation/SKILL.md

cost-estimation

Skill58 starsChanged 57 days agoApache-2.0View on GitHub

Forecasts per-job and monthly GCP compute and infrastructure costs across on-demand and DWS FLEX_START spot pricing, and calculates actual spend for completed jobs. Use when the user asks how much a prediction or monthly workload will cost, asks about past job spend, or during pre-submission confirmation.

9 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 9 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Always present both pricing columns so users can compare (defaults to DWS FLEX_START).

    line 16
  2. Distinctive:

    Pricing Disclaimer: Always remind users that estimates use Google Cloud list pricing and actual spend depends on their organization's …

    line 19

“Common” is measured: kept by at least 6 in 10 of the 9 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Cost Estimation

  • Per-Job Cost Forecast (estimate_job_cost): Estimates compute cost before submitting a prediction (af2_monomer, af2_multimer, of3, boltz2, esmfold2, esmfold2_fast, or af3).
    • Returns per-phase breakdown (MSA / Data Pipeline, Predict — including inline AMBER relax for AF2) with both on-demand and DWS FLEX_START (spot) pricing side by side.
    • GPU auto-selection matches the submission tools (A100 40GB default, A100_80GB for large sequences, or explicit L4 override).
    • Always present both pricing columns so users can compare (defaults to DWS FLEX_START).
  • Monthly Budget Projection (estimate_monthly_cost): Models monthly and annual TCO from expected job volumes plus shared infrastructure (Filestore, GCS, Artifact Registry, Agent Runtime, Cloud Run, VPC/NAT; pass include_infrastructure=False for compute-only).
  • Actual Job Spend (get_actual_job_costs): Calculates actual costs from completed PipelineJob task runtimes and machine specs, including estimate-vs-actual accuracy. Pass pipeline_job_id for a single run or omit for recent jobs.
  • Pricing Disclaimer: Always remind users that estimates use Google Cloud list pricing and actual spend depends on their organization's negotiated rates, CUDs, or enterprise discounts.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.