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.
npx skills add znlgis/opengis-skills --skill jtsgit clone --depth 1 https://github.com/znlgis/opengis-skillsWrote 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.
[](https://agentmods.dev/skills/znlgis/opengis-skills/jts)<a href="https://agentmods.dev/skills/znlgis/opengis-skills/jts"><img src="https://agentmods.dev/badge/skills/znlgis/opengis-skills/jts/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.
<a href="https://agentmods.dev/skills/znlgis/opengis-skills/jts"><img src="https://agentmods.dev/badge/skills/znlgis/opengis-skills/jts.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00077 | $0.04089 |
| Opus 5.5 | $0.00031 | $0.01636 |
| Sonnet 5.5 | $0.00015 | $0.00818 |
| Haiku 4.5 | $0.00008 | $0.00409 |
Grade A, and why
jts 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 21d 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.
How it starts
The opening of the file, as written. The whole thing — 280 lines — stays where its author put it; the contents beside it link to each section on GitHub.
项目地址: https://github.com/locationtech/jts
Maven Central:
org.locationtech.jts:jts-core最新版本: 1.20.0(截至 2026-11,Maven Central)
许可证: Eclipse Public License 2.0 / Eclipse Distribution License 1.0(BSD 风格)
概述
JTS Topology Suite(简称 JTS)是 LocationTech 项目组下的开源 Java 二维矢量几何库,是 GeoTools、GeoServer 等众多开源 GIS 项目的几何计算核心。它提供:
- 几何对象模型:Point、LineString、Polygon、MultiPoint、MultiLineString、MultiPolygon、GeometryCollection
- 空间关系判断:equals、contains、within、intersects、touches、crosses、overlaps、disjoint、relate(DE-9IM)
- 集合运算:intersection、union、difference、symDifference、buffer
- 几何分析:convexHull、centroid、area、length、distance、isValid、simplify
- 线性参考:沿线距离定位、线上插值
- 空间索引:STRtree、Quadtree,加速批量空间查询
- 格式读写:WKT、WKB、GeoJSON
环境要求: JDK 8+
环境准备与快速集成
Maven
<properties>
<jts.version>1.20.0</jts.version><!-- Maven Central 最新稳定版;列表见 https://central.sonatype.com/artifact/org.locationtech.jts/jts-core -->
</properties>
<dependency>
<groupId>org.locationtech.jts</groupId>
<artifactId>jts-core</artifactId>
<version>${jts.version}</version>
</dependency>
如需 GeoJSON 等 I/O 支持(注意 groupId 是 org.locationtech.jts.io,与 jts-core 的 org.locationtech.jts 不同):
<dependency>
<groupId>org.locationtech.jts.io</groupId>
<artifactId>jts-io-common</artifactId>
<version>${jts.version}</version>
</dependency>
jts-io-common 的 GeoJsonWriter 在运行期还依赖 com.googlecode.json-simple:json-simple(Maven/Gradle 会自动带入);手工拼 classpath 时漏掉它会在写出 GeoJSON 时抛 NoClassDefFoundError: org/json/simple/JSONAware。
Gradle
implementation 'org.locationtech.jts:jts-core:1.20.0'
implementation 'org.locationtech.jts.io:jts-io-common:1.20.0'
项目模块一览
| 模块 | artifactId | 用途 |
|---|---|---|
| jts-core | jts-core |
(推荐)核心——几何模型、算法、空间操作、索引 |
| jts-io-common | jts-io-common |
通用 I/O:WKT、WKB、GeoJSON 读写 |
| jts-io-ora | jts-io-ora |
Oracle Spatial SDO_GEOMETRY 读写——源码模块,需 -Pall(oracle profile)本地构建,未发布到 Maven Central |
| jts-io-sde | jts-io-sde |
ArcSDE 几何读写——源码保留,构建中已注释禁用,无发布产物 |
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 21d ago Changed · -7 lines c76377c6dead
- 1mo ago Changed · +3 lines f90756d84502
- 1mo ago Changed · -8 lines · +19 tokens per session ec27aa318d7d
- 1mo ago Changed a8b739bc67e6
- 1mo ago Changed · +28 lines f2bad71ce7b2
- 2mo ago Changed 61279d0fdb4c
- 2mo ago Changed d56218db5b45
- 2mo ago Changed · -295 lines 554ca240fdd2
- 3mo ago First seen · 559 lines · 58 tokens per session scan A 53616f0b0024
jts is a skill published in the GitHub repository znlgis/opengis-skills (87 stars, last pushed 20d ago), licensed MIT. It adds 77 tokens to every session and 4,089 once invoked, about $0.0003 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.
jts compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| jtsznlgis/opengis-skills | Skill | 87 | 20d ago | MIT | A | 77 | Claude Code, Codex |
| java-affected-testsopen-metadata/OpenMetadata | Skill | 16k | today | Apache-2.0 | A | 120 | Claude Code |
| azure-security-keyvault-secrets-javamicrosoft/skills | Skill | 3.3k | today | MIT | A | 40 | Claude Code |
| azure-ai-anomalydetector-javamicrosoft/skills | Skill | 3.3k | today | MIT | A | 43 | Claude Code |
| azure-communication-chat-javamicrosoft/skills | Skill | 3.3k | today | MIT | A | 41 | Claude Code |
| azure-communication-common-javamicrosoft/skills | Skill | 3.3k | today | MIT | A | 35 | Claude Code |
| azure-ai-agents-persistent-javamicrosoft/skills | Skill | 3.3k | today | MIT | A | 63 | Claude Code |