opengis-daf

opengis-daf is a skill for Claude Code, Codex from znlgis/opengis-skills. It costs 95 tokens per session (3,970 once invoked), scanned A, original, MIT.

A plan-driven GIS framework for analysing and checking geographic data with JSON files. GIS means geographic information system: software that works with map features, coordinates, shapes, and location-based attributes.

In plain words
What is it for?
Use it to buffer, clip, intersect, transform coordinates, calculate fields, validate geometries and attributes, and send results to files, memory, or PostGIS.
Why use it?
It makes spatial processing and data-quality checks repeatable and versionable, rather than embedding each workflow in custom code.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to buffer, clip, intersect, transform coordinates, calculate fields, validate geometries and attributes, and send results to files, memory, or PostGIS.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/znlgis/opengis-skills/opengis-daf
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add znlgis/opengis-skills --skill opengis-daf
Clone the repo
git clone --depth 1 https://github.com/znlgis/opengis-skills

Made for: Claude Code, Codex.

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 opengis-daf

README.md
[![agentmods](https://agentmods.dev/badge/skills/znlgis/opengis-skills/opengis-daf/github.svg)](https://agentmods.dev/skills/znlgis/opengis-skills/opengis-daf)
Your own site
<a href="https://agentmods.dev/skills/znlgis/opengis-skills/opengis-daf"><img src="https://agentmods.dev/badge/skills/znlgis/opengis-skills/opengis-daf/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 opengis-daf

Your own site · 80×15
<a href="https://agentmods.dev/skills/znlgis/opengis-skills/opengis-daf"><img src="https://agentmods.dev/badge/skills/znlgis/opengis-skills/opengis-daf.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 95 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,970 The whole file, excluding the scripts and references it only reads on demand.
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.00095 $0.03970
Opus 5 $0.00048 $0.01985
Sonnet 5 $0.00019 $0.00794
Haiku 4.5 $0.00010 $0.00397

Measured today against content hash f81e30db7200, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

opengis-daf 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 today.

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.

gis/opengis-daf/SKILL.md · 237 lines

How it starts

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

项目地址: https://github.com/znlgis/opengis-daf

许可证: MIT License

文档: https://github.com/znlgis/opengis-daf/tree/main/docs(快速入门、方案配置指南、算子参考、CLI 参考)

底层依赖: GDAL/OGR 3.x、NetTopologySuite 2.6、Npgsql 10、Serilog 4.3

概述

OpenGIS Data Analysis Framework(简称 OpenGisDAF / daf)是一个方案驱动、纯配置定义的 GIS 数据分析与数据质检框架:用一个 JSON 方案(AnalysisPlan)描述"输入数据 → 算子处理 → 输出目标"的完整流程,可复用、可版本化。核心能力:

  • 方案驱动:纯 JSON 定义分析流程,内置 21 条方案校验规则(参数存在性/类型/范围、绑定完整性、DAG 环检测)
  • 空间分析:缓冲区、裁剪、相交检查、包含检查、坐标系转换(CRS 全链路传播,Z 值保留)
  • 属性操作:字段计算器(表达式 + 算术解析器)、空值填充
  • 数据质检:几何有效性、属性完整性检查,QC 模式自动生成质量评分报告
  • DAG 调度:Kahn 拓扑排序,upstream 绑定串联算子,超时/重试/失败策略控制
  • 多数据源/多输出IFeatureSource(GeoJSON、Shapefile、PostGIS、内存)× IFeatureSink(控制台、GeoJSON、Shapefile、PostGIS)
  • 插件扩展AssemblyLoadContext 动态加载算子 DLL,插件算子与内置算子在同一 DAG 中无区别
  • 方案管理:list/create/copy/export、版本回退、跨版本 Diff、原子写入

环境要求: .NET SDK 10.0(仓库 global.json 已锁定版本)、Git(克隆时需 --recurse-submodules,子模块 opengis-utils-for-net 提供 GDAL 绑定)。Windows x64 / Linux x64 / macOS。


快速上手

# 克隆(必须带子模块)
git clone --recurse-submodules https://github.com/znlgis/opengis-daf.git
cd opengis-daf
dotnet build            # 或 .\build.ps1 / ./build.sh

# 验证安装
dotnet run --project src/OpenGisDAF.Cli -- help

# 校验方案(不执行)
daf validate --plan plans/my-analysis.json
# 执行分析/质检
daf run --plan plans/my-analysis.json

测试须分两步(.NET 10 SDK + xunit.v3 工具链下 dotnet test 同命令构建会报"运行了零个测试"并退出码 5):

dotnet build OpenGisDAF.slnx --configuration Release
dotnet test OpenGisDAF.slnx --configuration Release --no-build

仓库自带完全自包含的学习 Demodemo/,虚构"新星市"合成数据,一键脚本 demo/run-demo.ps1 / run-demo.sh 依次执行构建 → 算子清单 → 校验 → 4 个方案 → 插件演示,并对退出码断言)。


方案配置(核心)

顶层结构

字段 类型 必填 说明
id string 方案唯一标识
name string 方案名称
version string 语义化版本(如 "1.0.0"
group string 分组名(方案管理分类用)
items array 分析项列表(至少 1 个)
executionPolicy object failurePolicy: stopOnAny(默认,遇错即停)/ continueIndependent(继续独立项);maxParallelism 默认 4

Read the full file on GitHub · 237 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. today Changed · +2 lines f81e30db7200
  2. 2d ago First seen · 235 lines · 95 tokens per session scan A b79780029ec9

Subscribe to this mod's changes

opengis-daf is a skill published in the GitHub repository znlgis/opengis-skills (61 stars, last pushed today), licensed MIT. It adds 95 tokens to every session and 3,970 once invoked, about $0.0005 per session on Opus 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-09-10.

Related

Other skills, from other repositories

geopandas-gis

Vector GIS analysis with GeoPandas: spatial joins, overlays, buffer/dissolve, choropleth maps, and rasterio integration for raster-vector workflows.

xjtulyc/awesome-rosetta-skills · 38 tokens

archaeological-gis

Use this Skill for archaeological GIS: site catchment analysis, viewshed computation, kernel density estimation, and spatial statistics with GeoPandas.

xjtulyc/awesome-rosetta-skills · 34 tokens

drug-design

End-to-end drug discovery pipeline orchestration. Deterministic Python script that auto-chains structure prediction, pocket detection, de novo design, docking, scoring, and ADMET filtering into reproducible workflows.

synthetic-sciences/openscience · 44 tokens

opentelemetry-net-instrumentation

Provides guidance for implementing OpenTelemetry instrumentation in .NET codebases, covering tracing (Activities/Spans), metrics, logs, naming conventions, error handling, performance, SDK setup, resources, context propagation, and API design best practices.

Aaronontheweb/dotnet-skills · 56 tokens

wpf

Build and modernize WPF applications on .NET with correct XAML, data binding, commands, threading, styling, and Windows desktop migration decisions. USE FOR: working on WPF UI, MVVM, binding, commands, or desktop modernization; migrating WPF from .NET Framework to .NET; integrating newer Windows capabilities into a…

managedcode/dotnet-skills · 122 tokens

mcp

Build or consume Model Context Protocol (MCP) servers and clients in .NET using the official MCP C# SDK, including stdio, Streamable HTTP, tools, prompts, resources, and capability negotiation. USE FOR: .NET MCP servers or clients; stdio versus HTTP transport choices; tools, resources, prompts, completions, and…

managedcode/dotnet-skills · 123 tokens