implementing-gcp-organization-policy-constraints

implementing-gcp-organization-policy-constraints is a skill for Claude Code, Codex from xalgorix/xalgorix. It costs 42 tokens per session (1,869 once invoked), scanned A, original, Apache-2.0.

A guide to Google Cloud Organization Policy constraints, which are central rules applied across an organization, folders, or projects. They can block risky settings such as public access or missing encryption.

In plain words
What is it for?
Use it to define cloud-wide guardrails, restrict unsafe resource settings, and verify that policies are enforced rather than only reporting violations.
Why use it?
It prevents teams from creating resources with configurations that violate security or compliance requirements. Central enforcement also reduces the need to check every project separately.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to define cloud-wide guardrails, restrict unsafe resource settings, and verify that policies are enforced rather than only reporting violations.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xalgorix/xalgorix/implementing-gcp-organization-policy-constraints
Install

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.

Any agent
npx skills add xalgorix/xalgorix --skill implementing-gcp-organization-policy-constraints
Clone the repo
git clone --depth 1 https://github.com/xalgorix/xalgorix

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for implementing-gcp-organization-policy-constraints

README.md
[![agentmods](https://agentmods.dev/badge/skills/xalgorix/xalgorix/implementing-gcp-organization-policy-constraints/github.svg)](https://agentmods.dev/skills/xalgorix/xalgorix/implementing-gcp-organization-policy-constraints)
Your own site
<a href="https://agentmods.dev/skills/xalgorix/xalgorix/implementing-gcp-organization-policy-constraints"><img src="https://agentmods.dev/badge/skills/xalgorix/xalgorix/implementing-gcp-organization-policy-constraints/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.

agentmods 80×15 button for implementing-gcp-organization-policy-constraints

Your own site · 80×15
<a href="https://agentmods.dev/skills/xalgorix/xalgorix/implementing-gcp-organization-policy-constraints"><img src="https://agentmods.dev/badge/skills/xalgorix/xalgorix/implementing-gcp-organization-policy-constraints.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,869 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00042 $0.01869
Opus 5 $0.00021 $0.00934
Sonnet 5 $0.00008 $0.00374
Haiku 4.5 $0.00004 $0.00187

Measured 8d ago against content hash 3324d8e29e59, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

implementing-gcp-organization-policy-constraints 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 8d 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.

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.

internal/tools/skills/data/cloud-security/implementing-gcp-organization-policy-constraints/SKILL.md · 288 lines

How it starts

The opening of the file, as written. The whole thing — 288 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Implementing GCP Organization Policy Constraints

Overview

The GCP Organization Policy Service provides centralized and programmatic control over cloud resources. Organization policies configure constraints that restrict one or more Google Cloud services, enforced at organization, folder, or project levels. They improve security by blocking external IPs, requiring encryption, and minimizing unauthorized access. Changes can take up to 15 minutes to propagate.

When to Use

  • When deploying or configuring implementing gcp organization policy constraints capabilities in your environment
  • When establishing security controls aligned to compliance requirements
  • When building or improving security architecture for this domain
  • When conducting security assessments that require this implementation

Common Misconfigurations & Verification

  • Policy left as dry-run: a policy set with dryRunSpec: true monitors and logs would-be violations but never blocks them. Confirm the live (enforced) spec exists, not just the dry-run, with gcloud org-policies describe <constraint> --organization=ORG_ID --effective.
  • Child override silently weakens the org policy: a project/folder policy with inheritFromParent: false or a reset/allValues: ALLOW rule negates the org guardrail. Audit effective policy at the leaf, not just the org node.
  • List constraint inverted or too narrow: allowedValues that omits a region your workloads use causes outages; allValues: ALLOW on a deny-intended constraint makes it a no-op. Validate against gcp.resourceLocations value groups (in:us-locations).
  • Boolean constraint declared but enforced: false: e.g. iam.disableServiceAccountKeyCreation present but disabled still allows key creation.
  • Propagation lag: changes take up to ~15 minutes; don't conclude enforcement failed before then.
gcloud org-policies describe constraints/compute.vmExternalIpAccess --organization=ORG_ID --effective
gcloud org-policies list --project=PROJECT_ID            # spot child overrides
gcloud asset search-all-resources --scope=organizations/ORG_ID \
  --query="policy:constraints/compute.vmExternalIpAccess"   # find violating resources

Read the full file on GitHub · 288 lines

Changes

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.

  1. 8d ago First seen · 288 lines · 42 tokens per session scan A 3324d8e29e59

Subscribe to this mod's changes

implementing-gcp-organization-policy-constraints is a skill published in the GitHub repository xalgorix/xalgorix (972 stars, last pushed yesterday), licensed Apache-2.0. It adds 42 tokens to every session and 1,869 once invoked, about $0.0002 per session on Opus 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-09-03.

Related

Other skills, from other repositories

implementing-gcp-organization-policy-constraints

Implement GCP Organization Policy constraints to enforce security guardrails across the entire resource hierarchy, restricting risky configurations and ensuring compliance at organization, folder, and project levels.

Njones17/AI-agent-master-cyber-skills-list · 42 tokens

auditing-gcp-iam-permissions

Auditing Google Cloud Platform IAM permissions to identify overly permissive bindings, primitive role usage, service account key proliferation, and cross-project access risks using gcloud CLI, Policy Analyzer, and IAM Recommender.

26zl/cybersec-toolkit · 51 tokens

cloud-iam-deep

GCP/AWS/Azure cloud exploitation -- Cloud Functions, Firestore, Cloud Run, S3, MinIO, Blob Storage, SA keys.

uphiago/recon-skills · 35 tokens

configuring-identity-aware-proxy-with-google-iap

Configuring Google Cloud Identity-Aware Proxy (IAP) to enforce per-request identity verification for Compute Engine, App Engine, Cloud Run, and GKE services using access levels, context-aware policies, and programmatic access with service accounts.

26zl/cybersec-toolkit · 60 tokens

analyzing-azure-activity-logs-for-threats

Use when queries Azure Monitor activity logs and sign-in logs via azure-monitor-query to detect suspicious administrative operations, impossible travel, privilege escalation, and resource modifications. Builds KQL queries for threat hunting in Azure environments. Use when investigating suspicious Azure tenant activity…

oyi77/1ai-skills · 70 tokens

analyzing-cloud-storage-access-patterns

Detect abnormal access patterns in AWS S3, GCS, and Azure Blob Storage by analyzing CloudTrail Data Events, GCS audit logs, and Azure Storage Analytics. Identifies after-hours bulk downloads, access from new IP addresses, unusual API calls (GetObject spikes), and potential data exfiltration using statistical baselines…

26zl/cybersec-toolkit · 79 tokens