Skip to content
Agentmart
Submit a tool

gcp-context

Skill by yu-iskw

IndexedApache-2.0
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/yu-iskw-gcp-context

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

The publisher has not written a description yet.

Use cases: cloud

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions: not checked yet.

What's inside

Skill name
gcp-context
Description
None
License
Apache-2.0
Instructions
36 lines in SKILL.md · view on GitHub

Agent Skills spec issues

  • missing YAML frontmatter
  • name: missing
  • description: missing

Files (1)

  • SKILL.md

SKILL.md (first lines)

# GCP Context Detection

Detect the currently active Google Cloud project and authenticated account.

## Purpose

Provides the necessary context for subsequent `gcloud` commands by identifying the active project ID and user account.

## Inputs

None.

## Behavior

1.  Run `gcloud config get-value project` to retrieve the active project ID.
2.  Run `gcloud config get-value account` to retrieve the active account email.
3.  Verify if a project is set; if not, suggest the user to set one using `gcloud config set project [PROJECT_ID]`.
4.  Verify if an account is authenticated; if not, suggest `gcloud auth login`.
5.  Check for ADC (Application Default Credentials) if running in a non-interactive environment.

## Output

Returns a JSON object containing `projectId` and `account`.

```json
{
  "projectId": "my-project-id",
  "account": "user@example.com"
}
```

## References

- [gcloud config](https://cloud.google.com/sdk/gcloud/reference/config)
- [gcloud auth](https://cloud.google.com/sdk/gcloud/reference/auth)

From yu-iskw/google-cloud-observability-plugin, Apache-2.0.

Signals

Stars
0
Forks
0
Open issues
2
Last commit (this folder)
Feb 13, 2026 (8 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from yu-iskw

Cite this page

gcp-context skill. Agent Mart. https://agentmart.dev/skills/yu-iskw-gcp-context (last updated 2026-10-24)