automated-catalog-updates
БесплатноБез исполняемых скриптовНе проверенSet up automated updates for a Portolan catalog that mirrors a source that changes regularly. CI or cron runs the scripts on a schedule, and no agent takes…
от portolan-sdi★ 15 звёзд на GitHubОб этом скилле
Automated catalog updates
This skill is a work in progress. Each source type in this skill has exactly one reference catalog behind it, and a new source can break any step. Report a step that fails for your source, a source behavior this page omits, a place you ran the job, or a better signal. A pull request against this skill is the most useful report. An issue in portolan-skills also helps.
A mirror matches its source on the day of the extract, and the source changes after that. This skill sets up automated updates: a set of scripts plus a scheduled job that runs them. You write both once. After that, CI or cron runs the job, and no agent or person takes part. Each run re-extracts only the collections whose source changed. Each change becomes a new version, and the earlier versions remain in the bucket unchanged.
Build the catalog first. The portolan-bootstrap skill builds it, and the git-backed-catalog skill puts its metadata in a repository with CI. The scheduled job runs in that repository and commits each new version to git.
Reference implementations
phl-housing-demo and pergamino-ide-catalog mirror layers that the publisher edits in place. They built the same design independently, and each has a docs/refresh.md that explains every step and every failure. firms-catalog mirrors a stream that only grows. See Append-only streams. Read the catalog closest to your source before you write code.
| Catalog | Source | Schedule |
|---|---|---|
| phl-housing-demo | ArcGIS FeatureServer layers | Daily |
| pergamino-ide-catalog | GeoNode, with features from its WFS | Weekly |
| firms-catalog | NASA FIRMS fire detections, an append-only stream | Hourly window, daily merge |
The tools in both are plain Python scripts under tools/. Copy what fits. The parts that differ by source are the probe and the cadence lookup. The rest is shared.
Compute for the job
This is the open question. phl-housing-demo, pergamino-ide-catalog, and firms-catalog each run on a free GitHub-hosted runner. That works while the largest unit of work fits on one runner in one job.
| Option | Status | Fits |
|---|---|---|
| GitHub-hosted runner, public repository | Used by all three reference catalogs | One collection's source download, GeoParquet, PMTiles, and archived version fit in 14 GB of disk and 16 GB of memory, within the job time limit. A private repository gets 2 CPUs and 8 GB of memory |
| Larger GitHub runner | Not tried | More disk, memory, and CPU on the same workflow. Paid |
| Self-hosted runner | Not tried | The same workflow on a machine you control. You maintain the machine |
| Cloud batch job, started by a cloud scheduler | Not tried | Large extracts. The job can run in the bucket's region and avoid egress charges. The workflow logic moves out of GitHub Actions |
firms-catalog splits large work into small units that each fit on a free runner:
- One year of detections is about 1 GB of GeoParquet and 1.3 GB of PMTiles. The year build peaks at about 3 GB of disk and has a 300-minute timeout.
- The historical backfill is about 24 hours of API calls. A matrix runs one sensor-year per job, and each job averages 26 minutes, inside the 6-hour job limit. The jobs run one at a time, because the API rate limit applies to the key across all jobs.
- The backfill jobs get no cloud credentials. They pass their output to a short publish job as workflow artifacts. A Source Cooperative session token expires long before a 24-hour run ends.
- Later jobs read the published data back from the bucket, one year at a time. The full archive is 9 GB, and a runner has 14 GB of disk.
Measure before you choose. Run the extract of the largest collection by hand, and record the time, the peak disk use, and the peak memory. Tippecanoe and the archive download often need more disk than the extract itself.
A source with millions of rows may be too slow to extract in full on every change. Some ArcGIS layers have a per-row edit date field, and a query on that field returns only the changed rows. No reference catalog does incremental extraction yet. A merge of changed rows into the current GeoParquet needs a stable row key from the source.
GitHub disables a scheduled workflow in a public repository after 60 days with no repository activity. The job commits only when a source changes. A quiet source can let the schedule lapse. Watch for it, or give the job a reason to commit.
Steps in each run
For a layer that the publisher edits in place, the script walks every collection in a source list (`tools/sources.
Установить automated-catalog-updates в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл automated-catalog-updates?
Set up automated updates for a Portolan catalog that mirrors a source that changes regularly. CI or cron runs the scripts on a schedule, and no agent takes part after setup. Each run re-extracts only the collections whose source changed and publishes each change as a new version. Work in progress, and the place to run large extracts is still open. Use when someone wants a mirror of an ArcGIS, GeoNode, WFS, or similar service to update itself.
Как установить скилл automated-catalog-updates?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл automated-catalog-updates запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
ci-review
The scan that the plugin's GitHub Action runs.
от Anthropicazure-static-web-apps
Helps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
от GitHubai-ready
Make any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
от GitHubaws-cdk-python-setup
Setup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…
от GitHub