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 niels-emmer/myace --skill gcp-guardrailsgit clone --depth 1 https://github.com/niels-emmer/myaceWrote 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/niels-emmer/myace/gcp-guardrails)<a href="https://agentmods.dev/skills/niels-emmer/myace/gcp-guardrails"><img src="https://agentmods.dev/badge/skills/niels-emmer/myace/gcp-guardrails/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/niels-emmer/myace/gcp-guardrails"><img src="https://agentmods.dev/badge/skills/niels-emmer/myace/gcp-guardrails.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00037 | $0.00589 |
| Opus 5.5 | $0.00015 | $0.00236 |
| Sonnet 5.5 | $0.00007 | $0.00118 |
| Haiku 4.5 | $0.00004 | $0.00059 |
Grade A, and why
GCP Guardrails scanned grade A with 0 findings 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 yesterday.
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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 32 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Purpose
Enforce invariants with Organization Policy and test them before they block anyone.
When to use it
When setting or changing an Organization Policy, deciding whether a control is a constraint, an IAM condition or a perimeter, or granting the right to edit policy.
Checklist
- Typical constraints: resource location restriction (
gcp.resourceLocations), no service-account key creation (iam.disableServiceAccountKeyCreationor its managed equivalent), public access prevention on Cloud Storage (storage.publicAccessPrevention), domain-restricted sharing (iam.allowedPolicyMemberDomains), no external IPs on VMs (compute.vmExternalIpAccess), OS Login (compute.requireOsLogin), no public Cloud SQL IPs (sql.restrictPublicIp), and skipping default network creation (compute.skipDefaultNetworkCreation). Check the constraint list for current names and managed variants. - Inheritance: policies set at the organisation or folder inherit down; override at a lower level only for a documented exception, and use tag-based conditional rules to scope a constraint to tagged resources (a conditional rule needs at least one unconditional rule).
- Test first: use dry-run policies, which audit-log violations without blocking, and Policy Simulator to preview impact. Dry-run is available only for a subset of constraints and needs billing enabled, so check support for the constraint and confirm results against audit logs.
- Custom constraints: write a custom constraint only when no built-in or managed one fits, and keep a small, reviewed set.
- Who can change it: restrict
roles/orgpolicy.policyAdminto a small group and require review for changes; policy edits are an organisation-wide change. - Perimeters: use VPC Service Controls for data-exfiltration boundaries around sensitive services, start in dry-run mode, and plan ingress and egress rules for legitimate flows before enforcing.
- Policy versus IAM: Organization Policy limits what can be configured; IAM limits who can act. Use both.
- As code: manage policies with IaC and pipeline review; avoid console edits.
- Record: each constraint has an owner, the invariant it enforces and its exception process.
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.
- yesterday First seen · 32 lines · 37 tokens per session scan A 3f61ad207f14
GCP Guardrails is a skill published in the GitHub repository niels-emmer/myace (1 stars, last pushed 2d ago), licensed MIT. It adds 37 tokens to every session and 589 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-29.
GCP Guardrails compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| GCP Guardrailsniels-emmer/myace | Skill | 1 | 2d ago | MIT | A | 37 | Claude Code, Codex |
| implementing-gcp-organization-policy-constraintsxalgorix/xalgorix | Skill | 1.5k | yesterday | Apache-2.0 | A | 42 | Claude Code, Codex |
| loom-kubernetescosmix/loom | Skill | 66 | today | MIT | A | 35 | Claude Code |
| loom-prometheuscosmix/loom | Skill | 66 | today | MIT | A | 35 | Claude Code |
| idiomatic-goTypeFox/agent-skills | Skill | 5 | 1mo ago | MIT | A | 137 | Claude Code |
| eclipse-license-checkTypeFox/agent-skills | Skill | 5 | 1mo ago | MIT | A | 110 | Claude Code |
| go-documentationTypeFox/agent-skills | Skill | 5 | 1mo ago | MIT | A | 98 | Claude Code |