google/earthengine-community/alphaearth-foundations-change-detection

Claude Code and agent skill by google/earthengine-community

Trust tier 4
  • vendor
Source check pending

Checking that the SKILL.md file is still in the repository.

Use AlphaEarth Foundations Satellite Embeddings in Google Earth Engine (GEE) for change detection.

Install

npx vskill@latest install google/earthengine-community/alphaearth-foundations-change-detection

SKILL.md

The same SKILL.md was published earlier as google/earthengine-community/alphaearth-foundations-change-detection.

See introduction in alphaearth_foundations_core.


1. Basic Dot Product (Cosine Similarity) & Visualization

Because the bands in GOOGLE/SATELLITE_EMBEDDING/V1/ANNUAL are already unit vectors, their cosine similarity (dot product) is calculated simply by element-wise multiplication followed by a band sum.

To select input, use .first() for point-based queries or .mosaic() for larger geographic regions.

python
dataset = ee.ImageCollection('GOOGLE/SATELLITE_EMBEDDING/V1/ANNUAL')
# --- OPTION A: For a Point of Interest (POI) ---
point = ee.Geometry.Point([-121.8036, 39.0372])
image1 = dataset.filterDate('2023-01-01', '2024-01-01') \
.filterBounds(point) \
.first()
image2 = dataset.filterDate('2024-01-01', '2025-01-01') \
.filterBounds(point) \
.first()
# --- OPTION B: For a Large Area of Interest (AOI) ---
# image1 = dataset.filterDate('2023-01-01', '2024-01-01').mosaic()
# image2 = dataset.filterDate('2024-01-01', '2025-01-01').mosaic()
# 1. Qualitative Visualization (Pseudo-RGB parameters)
# Three specific axes of the 64D embedding space provide qualitative surface context.
vis_params = {'min': -0.3, 'max': 0.3, 'bands': ['A01', 'A16', 'A09']}
# 2. Quantitative Similarity (Dot Product)
# Calculates a single-band similarity map from -1.0 to 1.0.
dot_product = image1.multiply(image2).reduce(ee.Reducer.sum())

2. Vectorizing and Filtering Change Polygons

To extract change polygons:

python
similarity_threshold = 0.8
area_threshold = 20000
scale = 100
# Mask out pixels that did not undergo change (similarity above threshold)
change_mask = dot_product.lt(similarity_threshold).selfMask()
# Convert changed pixels to polygons
# aoi: User-supplied ee.Geometry Area of Interest
change_vectors = change_mask.reduceToVectors(
reducer=ee.Reducer.countEvery(),
geometry=aoi,
scale=scale,
maxPixels=1e13
)
# Filter by minimum area threshold
filtered_vectors = change_vectors.map(
lambda feature: ee.Feature(feature).set('area', ee.Feature(feature).geometry().area(1))
).filter(ee.Filter.gt('area', area_threshold))

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files. Certified 5 Nov 2026.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
803
Repository forks
894
7-day trend score
0

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill CERTIFIED badge
[![vskill CERTIFIED](https://verified-skill.com/api/v1/skills/google/earthengine-community/alphaearth-foundations-change-detection/badge)](https://verified-skill.com/skills/google/earthengine-community/alphaearth-foundations-change-detection)

Something wrong with this skill or its page? Tell us.