Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add shivamsriva31093/gcp-ironclad --skill gcp-credentials-auditgit clone --depth 1 https://github.com/shivamsriva31093/gcp-ironcladWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/shivamsriva31093/gcp-ironclad/gcp-credentials-audit)<a href="https://agentmods.dev/skills/shivamsriva31093/gcp-ironclad/gcp-credentials-audit"><img src="https://agentmods.dev/badge/skills/shivamsriva31093/gcp-ironclad/gcp-credentials-audit/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/shivamsriva31093/gcp-ironclad/gcp-credentials-audit"><img src="https://agentmods.dev/badge/skills/shivamsriva31093/gcp-ironclad/gcp-credentials-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00061 | $0.05568 |
| Opus 5 | $0.00030 | $0.02784 |
| Sonnet 5 | $0.00012 | $0.01114 |
| Haiku 4.5 | $0.00006 | $0.00557 |
Grade A, and why
gcp-credentials-audit scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
RESP=$(curl -s -G "https://monitoring.googleapis.com/v3/projects/${P}/timeSeries" \ How it starts
The opening of the file, as written. The whole thing — 355 lines — stays where its author put it; the contents beside it link to each section on GitHub.
GCP Credentials Audit (READ-ONLY)
Overview
Walks every GCP project the caller can access, lists every API key and every user-managed service-account key, and classifies each by risk. Writes the result as JSON to the session directory. Does not mutate cloud state.
When to Use
- Triggered by the
gcp-ironcladdriver as Phase 1a. - Or invoked standalone when you want only the audit, without applying any controls.
Inputs
SESSION_DIRenv var: path to the session directory created by the driver (e.g./tmp/gcp-ironclad/2026-05-25T10-30-00Z/). If invoked standalone, default to/tmp/gcp-ironclad/standalone-$(date -u +%Y-%m-%dT%H-%M-%SZ)/.LOOKBACK_DAYSenv var (optional): how many days back to look for last-used signal. Default30.AUDIT_VERIFY_PARITYenv var (optional): when1, also runs the per-project loop over CAI-covered projects and diffs the inventories to prove parity (see "Parity mode"). Off by default.
Outputs
Writes ${SESSION_DIR}/audit.json matching output.schema.json in this skill's directory.
Risk classification
| Class | Trigger |
|---|---|
CRITICAL |
API key with restrictions = NONE (fully unrestricted) |
HIGH |
API key restricted to a service the project has never used; SA with ≥3 user-managed keys; SA key older than 365 days |
MEDIUM |
API key created >180 days ago AND last-used >90 days ago; SA key older than 90 days |
LOW |
API key restricted to ≤1 service and used within the last 30 days |
INFO |
Google-managed keys (Firebase browser keys, default compute SAs, firebase-adminsdk-fbsvc@*) |
Execution
Step A: Establish session directory
SESSION_DIR="${SESSION_DIR:-/tmp/gcp-ironclad/standalone-$(date -u +%Y-%m-%dT%H-%M-%SZ)}"
mkdir -p "${SESSION_DIR}/raw"
echo "SESSION_DIR=${SESSION_DIR}"
Step B: Discover projects (from driver scope or standalone), then derive the CAI query scopes and the number→id map.
# Project list (from driver scope, or discover standalone)
if [ -f "${SESSION_DIR}/scope.json" ]; then
cp "${SESSION_DIR}/scope.json" "${SESSION_DIR}/scope.local.json"
else
gcloud projects list --format=json > "${SESSION_DIR}/raw-projects.json"
jq -n --slurpfile p "${SESSION_DIR}/raw-projects.json" '{projects:$p[0]}' \
> "${SESSION_DIR}/scope.local.json"
fi
jq -r '.projects[].projectId' "${SESSION_DIR}/scope.local.json" > "${SESSION_DIR}/projects.txt"
# Derivations for the CAI fast path:
# - projnum-to-id.json : project NUMBER -> projectId (CAI returns numbers)
# - cai-scopes.txt : distinct org/folder scopes to query
# - uncovered.txt : starts with parent-less (standalone) projects; the
# fast path appends projects whose scope query failed
jq '[.projects[] | select(.projectNumber) | {(.projectNumber): .projectId}] | add // {}' \
"${SESSION_DIR}/scope.local.json" > "${SESSION_DIR}/projnum-to-id.json"
jq -r '.projects[] | select(.parent) | "\(.parent.type)s/\(.parent.id)"' \
"${SESSION_DIR}/scope.local.json" | sort -u > "${SESSION_DIR}/cai-scopes.txt"
jq -r '.projects[] | select(.parent|not) | .projectId' \
"${SESSION_DIR}/scope.local.json" > "${SESSION_DIR}/uncovered.txt"
echo "projects=$(wc -l < "${SESSION_DIR}/projects.txt") scopes=$(wc -l < "${SESSION_DIR}/cai-scopes.txt") standalone=$(wc -l < "${SESSION_DIR}/uncovered.txt")"
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 12d ago First seen · 355 lines · 61 tokens per session scan A bd59f53f1cd3
gcp-credentials-audit is a skill published in the GitHub repository shivamsriva31093/gcp-ironclad (24 stars, last pushed 1mo ago), licensed MIT. It adds 61 tokens to every session and 5,568 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
finops-expert
Expert-level cloud financial operations, cost optimization, and cloud economics. Use when the user mentions cloud cost, optimization, cloud economics, or AWS cost, or when the task involves FinOps Fundamentals, Cost Management, FinOps Practices, or Cost Visibility.
gcp-expert
Expert-level Google Cloud Platform, services, and cloud architecture. Use when the user mentions Google Cloud, Cloud Functions, BigQuery, or Firestore.
recipes
Use when a user states a FinOps outcome rather than a tool. Route to one recipe card, then hand off: bill jump → explain-period-change (DIGEST preview); marketplace → marketplace-spend; K8s namespace → namespace-cost; credits runway → provider-credits; GCP spend CUD leftover → gcp-spend-cud; BigQuery warehouse →…
aegisops-ai
/aegisops-ai — Autonomous Governance Orchestrator workflow skill. Use this skill when the user needs Autonomous DevSecOps & FinOps Guardrails. Orchestrates Gemini 3 Flash to audit Linux Kernel patches, Terraform cost drifts, and K8s compliance and the operator should preserve the upstream workflow, copied support…
google-agents-cli-deploy
This skill should be used when the user wants to "deploy an agent", "deploy my ADK agent", "set up CI/CD", "configure secrets", "troubleshoot a deployment", or needs guidance on Agent Runtime, Cloud Run, or GKE deployment targets, or binding an agent to an Agent Gateway. Covers deployment workflows, service accounts…
infrastructure
A guide for cloud-native infrastructure: software and configuration used to run applications in containers and manage cloud resources. It covers Kubernetes, Helm, Kustomize, GitOps tools such as ArgoCD and Flux, and infrastructure-as-code tools such as Terraform and Pulumi.