register-catalog
Skill8 starsChanged 4 months agoApache-2.0View on GitHub
Register a Portolan catalog in the Portolan registry by opening a pull request that adds a catalog entry file.
- Commits and pushes
1 other project uses a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- isaaccorley/geospatial-skillsedited, first seen Mar 19, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 1
- isaaccorley/geospatial-skills★ 7826% same
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository10 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- git-backed-catalogSkill
- portolan-bootstrapSkill
- portolan-cliSkill
- portolan-migrateSkill
- portolan-thumbnailsSkill
- reading-portolanSkill
- report-catalog-issueSkill
- sourcecoopSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 43
Check that the slug is free.
- Distinctive: line 53
Ask the user which address to record, and wait for an answer.
- Very specific: line 117
If the user prefers not to use GitHub, the web form at portolan-sdi.org takes the same two values: the catalog.json URL and an email …
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
<!-- drift: depends-on: portolan-registry, rashid -->Register a Catalog in the Portolan Registry
You are helping a user add their Portolan catalog to the portolan-registry by opening a pull request. The registry crawls and validates submitted catalogs, then exports their metadata. A Portolan catalog is a STAC catalog that follows the Portolan specification.
Key fact: submitters provide a URL and an address
A registry entry is one YAML file with two fields, both required:
url: https://example.com/stac/catalog.json
submitter_email: you@example.orgCI extracts everything else by crawling the catalog: title, description, bbox, license, counts, the schema URI, the agents and describedby links, the icon link, and providers. Never add other fields or invent metadata. The schema sets additionalProperties: false, so CI rejects an extra field. An entry that lacks either required field fails the registry check.
Step 1: Validate the catalog
The URL must end in catalog.json and point to a reachable Portolan catalog root. Run the validator on the local tree before you register the published copy. rashid check takes a directory rather than a URL.
uvx --from 'rashid>=0.1.8,<0.2.0' rashid check ./catalog --summary
curl -fsSL "$CATALOG_URL" | jq '{type, id, stac_extensions}'Stop and tell the user when the URL fails any of these checks. It must end in catalog.json. It must be reachable. It must return "type": "Catalog". If rashid reports errors, show them to the user and let them decide whether to fix the catalog first. The registry mails the submitter when a registered catalog stops validating.
Step 2: Choose the slug
The slug is the stem of the entry file, catalogs/$SLUG.yaml, and becomes the registry id. The registry has no naming rule. Pick a short, lower-case, hyphenated name that identifies the catalog. The directory that holds catalog.json is a good default.
# .../nlebovits/pergamino-ide/catalog.json -> pergamino-ide
SLUG=$(basename "$(dirname "$CATALOG_URL")")Check that the slug is free. The registry rejects a duplicate URL, but it does not detect a reused stem. A colliding stem overwrites another entry.
if curl -fsSL "https://raw.githubusercontent.com/portolan-sdi/portolan-registry/main/catalogs/$SLUG.yaml" >/dev/null 2>&1; then
echo "catalogs/$SLUG.yaml exists. Choose another slug."
fiStep 3: Ask the user for the submitter address
Ask the user which address to record, and wait for an answer. Never guess one, and never read it out of git config. The person answerable for a registration is not always the person who runs the command.
Tell them what the address is for. The registry mails it when the catalog stops validating, and when someone files feedback against it. It stays in catalogs/ and never reaches exports/catalogs.json.
SUBMITTER_EMAIL="you@example.org" # supplied by the userStep 4: Open the PR
Fork, clone into a temporary directory, add the file, and open the PR. Write the PR body first, in Simplified Technical English. The registry runs lint_body.py --kind pr, which requires the three sections and the waiver line below.
<!-- drift-sample: pr -->## What changed
Adds `catalogs/pergamino-ide.yaml`. The registry crawls
`https://data.source.coop/nlebovits/pergamino-ide/catalog.json` on the next run.
## Why
The catalog is public and passes `rashid check`. Registration lists it in
the registry export and on the website.
## Verification
```
$ uvx --from 'rashid>=0.1.8,<0.2.0' rashid check ./catalog --summary
OK: 14 files checked, no findings.
$ curl -fsSL https://data.source.coop/nlebovits/pergamino-ide/catalog.json | jq -c '{type, id}'
{"type":"Catalog","id":"pergamino-ide"}
```
- [x] This change does not alter behavior (docs, chore, or CI only).Then run the commands. CATALOG_URL, SLUG, and SUBMITTER_EMAIL carry over from the steps above. Save the body as body.md in the working directory.
TMP=$(mktemp -d)
gh repo fork portolan-sdi/portolan-registry --clone "$TMP/portolan-registry"
cd "$TMP/portolan-registry"
git checkout -b "feat/register-$SLUG"
printf 'url: %s\nsubmitter_email: %s\n' \
"$CATALOG_URL" "$SUBMITTER_EMAIL" > "catalogs/$SLUG.yaml"
git add "catalogs/$SLUG.yaml"
git commit -m "feat: register $SLUG"
git push -u origin "feat/register-$SLUG"
gh pr create \
--repo portolan-sdi/portolan-registry \
--title "feat: register $SLUG" \
--body-file "$OLDPWD/body.md"The title is in conventional-commit form because squash-merge makes it the commit message.
Step 5: Report
Give the user the PR URL. The Validate Catalogs workflow crawls the catalog. An entries-only PR merges on its own when that workflow passes. After the merge, publish.yml opens a bot PR that updates exports/catalogs.json.
Alternative: web submission
If the user prefers not to use GitHub, the web form at portolan-sdi.org takes the same two values: the catalog.json URL and an email address.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

