geotessera: Instructions file for GitHub Copilot

.github/copilot-instructions.md

geotessera copilot-instructions.md is an instructions file for GitHub Copilot from ucam-eo/geotessera. It costs 2,194 tokens per session, scanned A, original, MIT.

Project guidance for GeoTessera, a Python library that downloads, processes, exports, and visualizes numerical representations of Sentinel-1 and Sentinel-2 satellite images.

In plain words
What is it for?
Use it when developing or testing GeoTessera features involving satellite embeddings, tile lookup, GeoTIFF or NPY export, GIS processing, or visualisation.
Why use it?
It explains how the library finds image tiles, handles downloads, checks file integrity, and works with geospatial data. This helps an agent follow the existing architecture and required Python version.

Instructions file for GitHub Copilot

Written for GitHub Copilot: a Copilot instructions file.

This is ucam-eo/geotessera's own configuration. It tells GitHub Copilot how to work on geotessera itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything geotessera configures →

Reuse

Borrowing it

Nothing to install: this file belongs to ucam-eo/geotessera. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/ucam-eo/geotessera/main/.github/copilot-instructions.md
Clone the repo
git clone --depth 1 https://github.com/ucam-eo/geotessera

Made for: GitHub Copilot.

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 geotessera copilot-instructions.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/ucam-eo/geotessera/copilot-instructions/github.svg)](https://agentmods.dev/instructions/ucam-eo/geotessera/copilot-instructions)
Your own site
<a href="https://agentmods.dev/instructions/ucam-eo/geotessera/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/ucam-eo/geotessera/copilot-instructions/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 geotessera copilot-instructions.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/ucam-eo/geotessera/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/ucam-eo/geotessera/copilot-instructions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,194 This file is loaded in full into every session.
When invoked 2,194 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.02194 $0.02194
Opus 5.5 $0.00878 $0.00878
Sonnet 5.5 $0.00439 $0.00439
Haiku 4.5 $0.00219 $0.00219

Measured 1mo ago against content hash 61e066a676d3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

geotessera copilot-instructions.md 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 1mo 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.

.github/copilot-instructions.md · 260 lines

How it starts

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

GitHub Copilot Instructions for GeoTessera

Project Overview

GeoTessera is a Python library for accessing and working with Tessera geospatial foundation model embeddings. The library provides tools to download, process, and visualize satellite imagery embeddings from Sentinel-1 and Sentinel-2 data at 10m resolution.

Core Architecture

  • Two-step workflow: Retrieve embeddings (numpy arrays) → Export to desired format (GeoTIFF/NPY)
  • Registry system: Parquet-based metadata registry for efficient tile lookup
  • 0.1-degree grid: Tiles cover ~11km × 11km, named by center coordinates
  • Direct HTTP downloads: On-demand tile fetching with automatic cleanup
  • Hash verification: SHA256 checksums ensure data integrity by default

Technology Stack

Core Dependencies

  • Python: 3.12 or 3.13 required (requires-python = ">=3.12")
  • CLI Framework: typer with rich for interactive output
  • Geospatial: rasterio, geopandas, rioxarray for GIS operations
  • Data Processing: numpy, pandas, pyarrow (for Parquet registry)
  • Visualization: matplotlib, scikit-learn (PCA), scikit-image
  • Storage: zarr, xarray, dask for chunked data handling

Build System

  • Package Manager: Uses uv for dependency management (preferred) or pip
  • Configuration: pyproject.toml with setuptools backend
  • Lock File: uv.lock for reproducible builds
  • Test Frameworks: pytest for Python APIs and cram for CLI behavior
  • Linting: ruff for code quality

Coding Standards

Python Style

  • Follow PEP 8 conventions
  • Use type hints for function signatures (e.g., Optional[str], Path, etc.)
  • Use typing_extensions.Annotated for CLI argument annotations with typer
  • Prefer pathlib Path over string paths
  • Use f-strings for string formatting

Code Organization

geotessera/
├── __init__.py          # Package exports and version
├── core.py              # Main GeoTessera class
├── registry.py          # Parquet registry management
├── cli.py               # Main CLI commands
├── registry_cli.py      # Registry-specific CLI
├── store.py             # Zarr v3 store access (GeoTesseraZarr)
├── tiles.py             # Tile abstraction (GeoTIFF + NPY)
├── visualization.py     # Visualization functions
├── web.py              # Web map generation
├── country.py          # Country bounding box utilities
└── progress.py         # Progress tracking utilities

Read the full file on GitHub · 260 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. 1mo ago Changed · +6 lines · +110 tokens per session 61e066a676d3
  2. 2mo ago First seen · 254 lines · 2,084 tokens per session scan A f6a35a3eb28d

Subscribe to this mod's changes

geotessera copilot-instructions.md is an instructions file published in the GitHub repository ucam-eo/geotessera (362 stars, last pushed 1mo ago), licensed MIT. It adds 2,194 tokens to every session, about $0.0088 per session on Opus 5.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-08-30.

Related

geotessera copilot-instructions.md compared with instructions from other repositories

geotessera copilot-instructions.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
geotessera copilot-instructions.mducam-eo/geotesseraInstructions file3621mo agoMITA2,194GitHub Copilot
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode