gcp-cost-autoscaler-ops SKILL.md skillA

gcp-cost-autoscaler-ops from xaviercallens/hivemind is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add xaviercallens/hivemind/gcp-cost-autoscaler-ops@git:20261105.64afc9d

Pins git:20261105.64afc9d in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
xaviercallens/hivemind
Path
.agents/skills/gcp-cost-autoscaler-ops/SKILL.md
Versions recorded
2
Latest version
git:20261105.64afc9d, committed Nov 5, 2026
First version recorded
Oct 29, 2026
Size
5,204 bytes
Repository stars
16
License
AGPL-3.0

Audits and optimizes Google Cloud Platform (GCP) costs, Cloud Run Knative autoscalers, Compute Engine Spot VMs, Cloud TPUs, Persistent Disks, Snapshots, Static IPs, Cloud SQL, and Artifact Registry for project gen-lang-client-0625573011 (SocrateAI / HiveMind). Use this skill whenever the user asks to audit GCP billing/costs, optimize autoscalers, clean up idle VMs/TPUs/disks/snapshots, or deploy new Cloud Run / GCE services cost-effectively.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# GCP Cost & Autoscaler Optimization Skill (`gcp-cost-autoscaler-ops`)

This skill provides a repeatable runbook and automated CLI tool for auditing and optimizing GCP infrastructure costs in project `gen-lang-client-0625573011` (`SocrateAI`) while preserving 100% of active HiveMind and SocrateAI production workloads.

## 1. Automated Live Audit & Safe Optimization Script

Always start by running the bundled audit script in read-only mode to inspect the current live state and estimated monthly burn across all GCP resource types:

```bash
python3 .agents/skills/gcp-cost-autoscaler-ops/scripts/gcp_cost_audit.py --project gen-lang-client-0625573011
```

To apply non-destructive autoscaler and hygiene optimizations automatically (snapshot pruning >3 days, Artifact Registry cleanup policy enforcement, unattached static IP detection):

```bash
python3 .agents/skills/gcp-cost-autoscaler-ops/scripts/gcp_cost_audit.py --project gen-lang-client-0625573011 --apply-safe
```

---

## 2. Four-Tier Autoscaler & Cost Architecture

### Tier 1 — Cloud Run Knative Autoscaler Rules
1. **Single-Writer Stateful Litestream Gateway (`hivemind-openrouter` in `us-central1`)**:
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add xaviercallens/hivemind/gcp-cost-autoscaler-ops@sha256:7c2b40b331515f52

The line at the top of this page pins the label git:20261105.64afc9d, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_wwwqut2bazrgfrkk.svg)](https://markdownregistry.com/a/art_wwwqut2bazrgfrkk)

0 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 2 versions of this file, between Oct 29, 2026 and Nov 5, 2026, about one every 7 days.

versioncommittedcommitsizeaudit
git:20261105.64afc9d latest2026-11-05 64afc9d 5,204 BA view · diff
git:20261029.368d56e2026-10-29 368d56e 5,118 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (5204 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

xaviercallens/hivemind · 16 stars · license AGPL-3.0 · pushed 2026-11-08 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_wwwqut2bazrgfrkk
GET https://markdownregistry.com/api/v1/resolve?ref=xaviercallens/hivemind/gcp-cost-autoscaler-ops
GET https://markdownregistry.com/api/v1/blob/7c2b40b331515f5289e879f7cdc15c8c576cd2e727cfaaf0eacc2a4af9570a3b

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from xaviercallens/hivemind

DESIGN.md@.stitch DESIGN.md file
xaviercallens/hivemind · .stitch/DESIGN.md
git:20261028.adebc8c · audit A · 16 stars
AGENTS.md AGENTS.md file
xaviercallens/hivemind · AGENTS.md
git:20261104.801134f · audit A · 16 stars
amcp-hivemind-swarm SKILL.md skill
xaviercallens/hivemind · skills/amcp-hivemind-swarm/SKILL.md · Orchestrate distributed multi-agent systems over AMCP (Agent Mesh Communication Protocol) and route coding, scientific…
git:20261031.222504b · audit A · 16 stars
gwaya-zero-stub-mcp-gate SKILL.md skill
xaviercallens/hivemind · skills/gwaya-zero-stub-mcp-gate/SKILL.md · Fail-closed AST anti-stub gate, real Rustc/Python/Lean 4 toolchain verifier, and XHillock zero-VRAM offline agent…
git:20261031.222504b · audit A · 16 stars

Every file in xaviercallens/hivemind

Browse by kind, by grade A, or by owner.