Logo Static Map

Static Map

Cộng đồng
danmaps
static-map

Assess and publish relatively static, read-only ArcGIS maps as hosted vector tile layers when feature-service capabilities are unnecessary

Tổng quan

Nhà phát hànhdanmaps
Kho mãgis-agent-skills
Tên kỹ năngstatic-map
Sao
30
Bản fork
2
Tệp đi kèm
5
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI là Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 5 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được danmaps công bố trên GitHub. Hãy đọc nội dung nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Static Map trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL thư mục kỹ năng bên dưới và xác nhận.
    https://github.com/danmaps/gis-agent-skills/tree/main/skills/static-map
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/danmaps/gis-agent-skills.git /tmp/gis-agent-skills
mkdir -p .claude/skills
cp -r /tmp/gis-agent-skills/skills/static-map .claude/skills/static-map
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Static Map trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự tải Static Map ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên Static Map không bị giới hạn ở mô hình mà kỹ năng này được viết cho. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên kỹ năng chưa dùng không tốn chi phí.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Static Map

Help a GIS practitioner choose and, when explicitly requested, execute the least capable ArcGIS Online publication architecture that fully satisfies a map's requirements.

Intent

Use a hosted vector tile layer for maps whose primary job is fast, read-only visualization. Do not optimize for conversion volume: the correct outcome may be a recommendation to use a hosted feature layer or another service.

The workflow is:

  1. classify the map and interaction requirements
  2. stop and recommend a feature service when critical feature behavior is required
  3. inspect map layers, scale ranges, labels, symbology, metadata, and popup fields
  4. report supported, approximated, and unsupported cartography before packaging
  5. minimize retained attributes
  6. prepare a .vtpk with ArcGIS Pro's Create Vector Tile Package workflow
  7. inspect the package before publication
  8. publish with SharePackage(publish_web_layer=True) without an associated feature layer
  9. optionally create a lightweight web map
  10. return a publishing receipt with warnings, limitations, and replacement instructions

Default to prepare mode. Execution is allowed only in an ArcGIS Pro-authenticated environment with arcpy available and explicit target sharing details.

Decision gate

Recommend a hosted vector tile layer when most of these are true

  • read-only visualization
  • static or periodically republished data
  • many features draw simultaneously
  • users primarily pan and zoom
  • cartography matters more than feature interaction
  • no editing, live updates, arbitrary queries, attachments, related records, or transactional behavior
  • simple identify is optional and needs only a small set of fields
  • the data can tolerate scale-appropriate generalization

Stop and recommend a feature layer or another architecture when any critical requirement includes

  • editing
  • frequent, real-time, or near-real-time updates
  • arbitrary attribute or spatial queries
  • complex filtering or selections driving application behavior
  • attachments, related records, or rich popup experiences
  • downstream feature analysis or feature-level APIs
  • complete feature geometry at arbitrary scales
  • transactional behavior

Explain the architectural reason; do not merely refuse the workflow.

Interaction levels

  • Level 0 — display only: retain only fields needed for drawing, styling, and labeling.
  • Level 1 — simple identify: retain a small, explicitly requested set of popup fields and ObjectID when feature identity is needed.
  • Level 2 — rich feature interaction: recommend a feature layer. Rich popups, charts, attachments, related information, editing, querying, and application-level feature behavior do not fit the static simplification.

Inputs

Use information available in the current Copilot session, repository, and ArcGIS Pro context:

  • project_path — .aprx path
  • map_name
  • layer_names — optional subset
  • output_name
  • portal_url and existing ArcGIS Pro portal authentication
  • folder
  • sharing — owner by default; organization, groups, or public only when explicitly requested
  • groups
  • summary and tags
  • minimum_scale and maximum_scale
  • popup_mode — none or simple
  • popup_fields
  • execute — false by default
  • create_web_map
  • replace_item_id — explicit replacement intent only

Ask only for information needed to prevent an unsafe, destructive, or incorrectly shared publication. Never infer public, organization, or group sharing from an ambiguous request.

Preflight output

Before packaging, produce a report with:

text
STATIC MAP PREFLIGHT
Map: <name>
Layers: <count>
Vector layers: <count>
Raster layers: <count>
Editing required: <yes/no>
Live updates required: <yes/no>
Rich queries required: <yes/no>
Interaction: <display only/simple identify/rich feature interaction>
Candidate: <VECTOR TILE/FEATURE LAYER/OTHER>
Warnings:
- <specific compatibility, metadata, scale, or attribute warning>
Recommendation:
<architecture and why>

Classify cartography as Supported, Approximated, or Unsupported. Never silently remove or materially simplify important symbology. Common warning areas include gradients, hatches, marker effects, markers along lines or polygon outlines, and unsupported symbol effects.

Warn when many popup fields are requested. Retain only fields demonstrated to be needed for drawing, labels, styles, or simple identify. Include ObjectID only when identity is required.

Publishing workflow

Prepare mode

Prepare a reviewable ArcPy script and parameter summary. Validate the project path, map selection, output location, scale settings, sharing target, and replacement intent. Do not publish.

Execute mode

Require all of the following:

  • arcpy is available in the ArcGIS Pro Python environment
  • the target portal is already authenticated in ArcGIS Pro
  • the target sharing level and folder are explicit
  • replacement is explicit when an existing item is involved
  • no credentials are present in generated code or arguments

Use the package route:

text
ArcGISProject -> Map -> CreateVectorTilePackage -> SharePackage(publish_web_layer=True)

Do not use VectorTileSharingDraft as the default route because it is designed around a vector tile layer with an associated feature layer. Do not create an associated feature layer for this workflow.

Use the standard online tiling scheme unless a justified alternative is required. Inspect and report the .vtpk path, file size, layer count, retained fields, scale range, and warnings before publication.

For replacement, create a new package and use ArcGIS Pro's replacement workflow so the production item identity remains stable when supported. Never overwrite an existing production layer without an explicit replace_item_id.

Automatic web-map creation is optional and must not block package publication. If requested, include only an approved basemap, the vector tile layer, initial extent, title, summary, and explicit sharing.

Outputs

Return the preflight report, compatibility findings, package path and size, retained popup fields, publication item IDs/URLs when available, warnings, and a publishing receipt suitable for saving as Markdown.

For a rejected candidate, return the blocking requirements and the recommended architecture instead of generating misleading vector-tile steps.

Example request

Assess the read-only "County Boundaries" map in my ArcGIS Pro project for hosted vector tile publishing. Users only need to pan, zoom, and see county names; do not publish yet. Report compatibility warnings and prepare the packaging steps.

Cost and storage language

Explain that vector tile layers use ArcGIS Online's tile-storage model rather than hosted feature storage and may be materially cheaper for this use case. Do not hard-code credit rates because they change. Label any organization-specific comparison as an estimate and identify its source and date.

Safety

  • Never request, store, print, or embed ArcGIS credentials.
  • Never publish publicly unless explicitly requested.
  • Default sharing to owner.
  • Never retain all source fields by default.
  • Never silently remove unsupported symbology.
  • Never describe a vector tile layer as editable or query-equivalent to a feature layer.
  • Never publish sensitive data merely because it is technically possible.
  • Never replace an existing production item without explicit replacement intent.
  • Surface validation and publishing errors; do not return success-shaped fallbacks.

Read next

  • references/decision-guide.md
  • references/vector-tile-limitations.md
  • references/publishing-patterns.md
  • scripts/publish_static_map.py

Tệp đi kèm

Mô hình đọc các tệp này khi cần trong lúc kỹ năng được tải. Các tệp được cung cấp ở dạng có thể đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Static Map làm được gì?

Assess and publish relatively static, read-only ArcGIS maps as hosted vector tile layers when feature-service capabilities are unnecessary

Vì sao nên dùng Static Map trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Static Map là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Static Map trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/danmaps/gis-agent-skills/tree/main/skills/static-map. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm và cài đặt thành một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Static Map?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Bạn có thể dùng Static Map với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Static Map với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Static Map có miễn phí không?

Kỹ năng này được danmaps phát hành trên GitHub. Hãy xem điều khoản giấy phép trong kho mã. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp cho mô hình các công cụ mới để gọi — mã được chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và tiêu chí của đầu ra tốt. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇