Skip to main content
skill CX Codex

gcs-lifecycle-policy — Claude Code skill for GCS lifecycle policies

gcs-lifecycle-policy — a skill that handles lifecycle policy work in Google Cloud Storage. It activates on its own when a request mentions gcs or lifecycle policy.

MIT 1 installs ★ 2,935 updated 2026-11-01

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add jeremylongshore/tons-of-skills-marketplace --skill gcs-lifecycle-policy -a claude-code
Open on GitHub

What gcs-lifecycle-policy does

This skill covers lifecycle policy tasks in GCS: it walks through steps, writes configs, and checks them against common patterns. It sits inside GCP Skills, a category for Google Cloud work.

Triggers include phrases like "gcs lifecycle policy" or "gcs policy". Tool access is narrow: Read, Write, Edit, and Bash(gcloud:*) — gcloud commands only.

You need a GCP project with gcloud set up before it does anything useful. Output is a generated configuration plus validation notes, and when a config is invalid it tells you which fields to look at.

What it helps with

  • generate a lifecycle policy JSON for a bucket
  • walk through setting object retention rules
  • catch missing fields in a policy config
  • apply the policy with gcloud instead of typing commands by hand

Example prompts for the agent

  • Help me set up a lifecycle policy for a logs bucket
  • Generate a gcs lifecycle policy config and validate it
  • Show me how to delete old objects from a bucket with gcs policy

How to install gcs-lifecycle-policy

1Skills CLI (Vercel)

npx skills add jeremylongshore/tons-of-skills-marketplace --skill gcs-lifecycle-policy -a claude-code

2Manually: put the files in place

~/.claude/skills/gcs-lifecycle-policy/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/gcs-lifecycle-policy/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about gcs-lifecycle-policy

How do I install gcs-lifecycle-policy in Claude Code?

Run npx skills add jeremylongshore/tons-of-skills-marketplace --skill gcs-lifecycle-policy -a claude-code. The skill lands at ~/.claude/skills/gcs-lifecycle-policy/SKILL.md.

What does gcs-lifecycle-policy do?

It generates lifecycle policy configs for Google Cloud Storage, suggests steps, and validates output. It activates automatically when you mention gcs lifecycle policy.

What tools can the skill use?

Only Read, Write, Edit, and Bash(gcloud:*). You need gcloud installed and access to a GCP project for it to work.

Source text

SKILL.md · MIT
---
name: gcs-lifecycle-policy
description: 'Manage gcs lifecycle policy operations. Auto-activating skill for GCP
  Skills.

  Triggers on: gcs lifecycle policy, gcs lifecycle policy

  Part of the GCP Skills skill category. Use when working with gcs lifecycle policy
  functionality. Trigger with phrases like "gcs lifecycle policy", "gcs policy", "gcs".

  '
allowed-tools: Read, Write, Edit, Bash(gcloud:*)
version: 1.0.0
license: MIT
author: Jeremy Longshore <[email protected]>
tags:
- gcp
- cloud
compatibility: Designed for Claude Code
---
# Gcs Lifecycle Policy

## Overview

This skill provides automated assistance for gcs lifecycle policy tasks within the GCP Skills domain.

## When to Use

This skill activates automatically when you:
- Mention "gcs lifecycle policy" in your request
- Ask about gcs lifecycle policy patterns or best practices
- Need help with google cloud platform skills covering compute, storage, bigquery, vertex ai, and gcp-specific services.

## Instructions

1. Provides step-by-step guidance for gcs lifecycle policy
2. Follows industry best practices and patterns
3. Generates production-ready code and configurations
4. Validates outputs against common standards

## Examples

**Example: Basic Usage**
Request: "Help me with gcs lifecycle policy"
Result: Provides step-by-step guidance and generates appropriate configurations


## Prerequisites

- Relevant development environment configured
- Access to necessary tools and services
- Basic understanding of gcp skills concepts


## Output

- Generated configurations and code
- Best practice recommendations
- Validation results


## Error Handling

| Error | Cause | Solution |
|-------|-------|----------|
| Configuration invalid | Missing required fields | Check documentation for required parameters |
| Tool not found | Dependency not installed | Install required tools per prerequisites |
| Permission denied | Insufficient access | Verify credentials and permissions |


## Resources

- Official documentation for related tools
- Best practices guides
- Community examples and tutorials

## Related Skills

Part of the **GCP Skills** skill category.
Tags: gcp, bigquery, vertex-ai, cloud-run, firebase

© Jeremy Longshore · MIT · jeremylongshore/tons-of-skills-marketplace

Similar skills

All skills for Cloud: AWS, Azure, GCP →

From the same set139

The whole set →
firecrawl-migration-deep-dive The firecrawl-migration-deep-dive skill guides a move from Puppeteer, Playwright, Cheerio, or another scraper to Firecrawl v2, with checks for parity, policy, spend, and rollback. CX Codex +1 1installs vercel-webhooks-events vercel-webhooks-events — a skill for Claude Code, Codex, Cursor and other platforms that processes Vercel deployment events with HMAC signature verification. CX Codex +1 1installs vercel-reference-architecture vercel-reference-architecture sets up a layered Vercel architecture for Next.js applications. Helps structure edge middleware, serverless API routes, and environment validation. CX Codex +1 1installs vercel-policy-guardrails The vercel-policy-guardrails skill adds Vercel project checks for secret exposure, CI policy violations, Edge Runtime imports, and protected routes. CX Codex +1 1installs gcs-bucket-config gcs-bucket-config automates Google Cloud Storage bucket configuration in Claude Code. Generates configs and gcloud commands for your storage setups. CX Codex +1 1installs s3-bucket-policy-generator The s3-bucket-policy-generator skill guides S3 bucket policy work, generates configurations, and checks results against common standards when AWS tasks call for it. CX Codex +1 1installs sqs-queue-setup Guides you through Amazon SQS queue setup and generates configurations. It activates on its own when SQS comes up in a request. CX Codex +1 1installs route53-record-manager route53-record-manager automates Amazon Route 53 DNS record management, writes configuration files, and runs AWS CLI commands directly in your coding agent. CX Codex +1 1installs

Project sponsors

Companies that keep this analytics open