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 agentmods add skills/znlgis/opengis-skills/geometry-api-javanpx skills add znlgis/opengis-skills --skill geometry-api-javagit 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/geometry-api-java)<a href="https://agentmods.dev/skills/znlgis/opengis-skills/geometry-api-java"><img src="https://agentmods.dev/badge/skills/znlgis/opengis-skills/geometry-api-java.svg" alt="Measured on agentmods" height="20"></a>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 | $0.00049 | $0.03247 |
| Opus 5 | $0.00024 | $0.01623 |
| Sonnet 5 | $0.00010 | $0.00649 |
| Haiku 4.5 | $0.00005 | $0.00325 |
Grade A, and why
geometry-api-java 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.
How it starts
The opening of the file, as written. The whole thing — 374 lines — stays where its author put it; the contents beside it link to each section on GitHub.
项目地址: https://github.com/Esri/geometry-api-java
官方文档: https://github.com/Esri/geometry-api-java/wiki
Maven Central:
com.esri.geometry:esri-geometry-api许可证: Apache-2.0
概述
Esri Geometry API for Java 是一个自包含的空间几何计算库,提供对二维和三维几何对象的创建、解析、序列化以及空间关系运算能力。它无需任何外部 GIS 依赖,可直接嵌入 Java 应用、Hadoop MapReduce、Hive UDF、Spark 等大数据处理框架中。
快速集成
Maven
<dependency>
<groupId>com.esri.geometry</groupId>
<artifactId>esri-geometry-api</artifactId>
<version><!-- 请查看 Maven Central 获取最新版:https://central.sonatype.com/artifact/com.esri.geometry/esri-geometry-api --></version>
</dependency>
Gradle
implementation 'com.esri.geometry:esri-geometry-api:2.2.4'
环境要求: JDK 1.7+;运行时依赖 jackson-core(JSON 处理)。
维护状态提示:
esri-geometry-api最新版本仍为 2.2.4(2020-09),已多年未更新。若需活跃维护的几何库,新项目建议优先选用 JTS(Java)或 NetTopologySuite(.NET)。
核心类一览
| 类 | 包 | 用途 |
|---|---|---|
GeometryEngine |
com.esri.core.geometry |
推荐入口——提供几何操作的静态便捷方法 |
OperatorFactoryLocal |
com.esri.core.geometry |
算子工厂,适用于高性能批量处理 |
SpatialReference |
com.esri.core.geometry |
空间参考 / 坐标系(通过 WKID 或 WKT 创建) |
MapGeometry |
com.esri.core.geometry |
将 Geometry 与 SpatialReference 打包在一起 |
Point |
com.esri.core.geometry |
点(0 维) |
MultiPoint |
com.esri.core.geometry |
多点集合(0 维) |
Polyline |
com.esri.core.geometry |
折线 / 路径集合(1 维) |
Polygon |
com.esri.core.geometry |
面 / 环集合(2 维) |
Envelope |
com.esri.core.geometry |
外接矩形(2 维) |
几何对象创建
import com.esri.core.geometry.*;
// 点
Point pt = new Point(116.4, 39.9); // 2D
Point pt3d = new Point(116.4, 39.9, 50.0); // 3D
// 折线
Polyline line = new Polyline();
line.startPath(0, 0);
line.lineTo(10, 10);
line.lineTo(20, 0);
// 面
Polygon polygon = new Polygon();
polygon.startPath(0, 0);
polygon.lineTo(10, 0);
polygon.lineTo(10, 10);
polygon.lineTo(0, 10);
// 自动闭合
// 外接矩形
Envelope env = new Envelope(0, 0, 10, 10);
// 多点
MultiPoint mp = new MultiPoint();
mp.add(1, 2);
mp.add(3, 4);
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.
- today Changed 5315c626568e
- 4d ago First seen · 374 lines · 49 tokens per session scan A 19048e5a90d6
geometry-api-java is a skill published in the GitHub repository znlgis/opengis-skills (58 stars, last pushed yesterday), licensed MIT. It adds 49 tokens to every session and 3,247 once invoked, about $0.0002 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-08-30.
Other skills, from other repositories
wxjava-api-contributor
按 WxJava 的 Maven 多模块、Java 8、公共 API 兼容性和 TestNG 约定,为微信官方接口新增或维护 SDK 支持。适用于新增 Service API、请求响应 Bean、序列化、HTTP 实现、Starter 配置或回归测试时。.
union-type-wrappers
Add typed getters and setters over BinaryData properties that represent TypeSpec union types in generated Java models. Use when generated classes expose BinaryData for union-typed fields and you need ergonomic, type-safe accessors instead.
run-tests
Run project tests using Maven (mvn). Use when the user asks to run tests.
search-m2
Search for Java classes inside Maven dependencies in /.m2. Use when the user asks to locate classes or inspect JARs. Cross-reference pom.xml files in the current directory to resolve dependency names/versions.
dd-code-generation
Use pup CLI for immediate Datadog operations or generate code for integration into applications.
create-package-skill
Interactive wizard that walks service teams through creating a package-specific skill for their Azure SDK package. Scans the package, detects customization patterns, scaffolds a SKILL.md with references, and validates with vally lint. The skill is placed inside the package's .github/skills/ directory so…