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 geoserver-rest-apigit 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/geoserver-rest-api)<a href="https://agentmods.dev/skills/znlgis/opengis-skills/geoserver-rest-api"><img src="https://agentmods.dev/badge/skills/znlgis/opengis-skills/geoserver-rest-api/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/geoserver-rest-api"><img src="https://agentmods.dev/badge/skills/znlgis/opengis-skills/geoserver-rest-api.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 1 finding, up to medium
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- medium Data Exfiltration · line 214 Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
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.00053 | $0.05657 |
| Opus 5 | $0.00026 | $0.02828 |
| Sonnet 5 | $0.00011 | $0.01131 |
| Haiku 4.5 | $0.00005 | $0.00566 |
Grade A, and why
geoserver-rest-api scanned grade A with 1 finding 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 8d 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
description: "Use when automating GeoServer management — programmatic workspace, datastore, and layer creation, style upload, service configuration via REST API. GeoServer REST API: manage GeoServer without GUI using cur How it starts
The opening of the file, as written. The whole thing — 469 lines — stays where its author put it; the contents beside it link to each section on GitHub.
项目地址: https://github.com/geoserver/geoserver
REST API 文档: https://docs.geoserver.org/latest/en/user/rest/index.html
API 参考: https://docs.geoserver.org/stable/en/user/rest/api/index.html
许可证: GPL-2.0
概述
GeoServer 是一个基于 Java 的开源地理空间数据服务器,实现了 OGC WMS、WFS、WCS、WMTS 等标准协议。GeoServer REST API 提供了完整的 RESTful 配置管理接口,可通过标准 HTTP 方法(GET / POST / PUT / DELETE)对 GeoServer 的各类资源进行编程式管理。
REST API 的典型用途包括:
- 自动化部署:批量创建工作空间、数据存储、发布图层
- CI/CD 集成:在持续集成流水线中自动配置 GeoServer
- AI 智能体:通过 HTTP 接口让 AI 自主管理地图服务
- 运维脚本:批量修改样式、更新数据源连接参数
基础 URL 格式: http://{host}:{port}/geoserver/rest
默认认证: 用户名 admin,密码 geoserver(HTTP Basic Auth)
数据格式: 支持 JSON 和 XML,通过 Accept / Content-Type 请求头或 URL 后缀(.json / .xml)指定。
认证方式
所有写操作(POST / PUT / DELETE)均需认证。GeoServer 默认使用 HTTP Basic Auth:
# curl 方式
curl -u admin:geoserver ...
# HTTP Header 方式
Authorization: Basic YWRtaW46Z2Vvc2VydmVy
API 端点一览
系统管理
| 操作 | 方法 | 端点 | 说明 |
|---|---|---|---|
| 获取版本信息 | GET | /rest/about/version.json |
返回 GeoServer 版本与组件信息 |
| 获取系统状态 | GET | /rest/about/system-status.json |
返回系统运行状态 |
| 获取清单 | GET | /rest/about/manifest.json |
返回已加载模块清单 |
| 重新加载配置 | POST | /rest/reload |
从磁盘重新加载配置 |
| 重置缓存 | POST | /rest/reset |
重置内存中的资源缓存 |
工作空间 (Workspaces)
| 操作 | 方法 | 端点 | 说明 |
|---|---|---|---|
| 列出所有工作空间 | GET | /rest/workspaces.json |
返回工作空间列表 |
| 创建工作空间 | POST | /rest/workspaces |
创建新工作空间 |
| 获取工作空间详情 | GET | /rest/workspaces/{ws}.json |
获取指定工作空间信息 |
| 修改工作空间 | PUT | /rest/workspaces/{ws} |
更新工作空间配置 |
| 删除工作空间 | DELETE | /rest/workspaces/{ws}?recurse=true |
删除工作空间(recurse=true 级联删除) |
| 获取默认工作空间 | GET | /rest/workspaces/default.json |
获取默认工作空间 |
| 设置默认工作空间 | PUT | /rest/workspaces/default |
设置默认工作空间 |
命名空间 (Namespaces)
| 操作 | 方法 | 端点 | 说明 |
|---|---|---|---|
| 列出所有命名空间 | GET | /rest/namespaces.json |
返回命名空间列表 |
| 创建命名空间 | POST | /rest/namespaces |
创建新命名空间 |
| 获取命名空间详情 | GET | /rest/namespaces/{ns}.json |
获取指定命名空间 |
| 修改命名空间 | PUT | /rest/namespaces/{ns} |
更新命名空间 |
| 删除命名空间 | DELETE | /rest/namespaces/{ns} |
删除命名空间 |
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.
- 8d ago Changed c75198aff46d
- 12d ago First seen · 469 lines · 53 tokens per session scan A 2ad0bd96e562
geoserver-rest-api is a skill published in the GitHub repository znlgis/opengis-skills (60 stars, last pushed 2d ago), licensed MIT. It adds 53 tokens to every session and 5,657 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
api-design
Design and implement RESTful APIs with proper routing, validation, error handling, and documentation. Use when building new API endpoints, designing API architecture, or improving existing APIs.
api-gateway
Universal API gateway - connect to 100+ APIs with a unified interface, manage API keys, and chain API calls.
http-client
An HTTP client for sending requests to web services. It supports common request methods, custom headers, authentication, and formatted responses.
nodejs-development
Comprehensive Node.js development skill covering event loop, async patterns, streams, file system, HTTP servers, process management, and modern Node.js best practices.
ask-curl
AI-assisted cURL requests. Describe what you want in natural language and get a well-formed cURL command. Supports secret injection via 1Password (op://), request history, response parsing, and chained requests.
api-testing
REST/GraphQL API testing with automated validation — test endpoints, validate responses, check status codes, and ensure API contracts.