gcp-projects

List the current GCP account, active project, and all accessible projects.

10|4|Updated Feb 1, 2026
One-click install
npx skills add https://github.com/kubony/openclaw-gcp-setup --skill gcp-projects
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gcp-projects
Source: https://github.com/kubony/openclaw-gcp-setup/tree/main/.claude/skills/gcp-projects
Command: npx skills add https://github.com/kubony/openclaw-gcp-setup --skill gcp-projects

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill makes it easy to verify the active GCP project and enumerate accessible projects for the current account, helping prevent misconfigurations and drift.

Core Features & Use Cases

  • Active context discovery: Retrieve current account and default project.
  • Projects enumeration: List all projects accessible by the account.
  • Auditing readiness: Quickly validate project visibility for onboarding or governance.

Quick Start

Run the following commands to view the current context and project list: gcloud config get-value account gcloud config get-value project gcloud projects list

Frequently Asked Questions about gcp-projects

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I list all GCP projects accessible by my current account?

To list all accessible GCP projects for your account, run the gcloud projects list command. This enumerates every project your current credentials have access to, preventing scope misconfigurations and drift.

What's the best way to check my active gcloud project and account configuration?

The best way to check your active gcloud configuration is running gcloud config get-value account and gcloud config get-value project. This retrieves your current context and default project settings for auditing.

How do I audit GCP project visibility for cloud governance and onboarding?

You can audit GCP project visibility by retrieving the current account settings and listing all accessible projects. This validates project scope and configuration for onboarding workflows and cloud governance requirements.

Can I use gcloud CLI to prevent GCP project misconfigurations across multiple projects?

Yes, you can use gcloud CLI to prevent misconfigurations by verifying the active project and enumerating all accessible projects. This provides visibility into project scope and confirms current configuration settings.

Does gcloud projects list show all projects or only the active one?

The gcloud projects list command shows all projects accessible by the current account, not just the active one. To see the active project specifically, use gcloud config get-value project instead.