pxwebapi-skills / ssb-pxwebapi-v2-skill
CLAUDE.md18 starsChanged 6 days agoMITView on GitHub
This is not an application codebase. It is a Claude Code Skill package that teaches Claude how to query Statistics Norway (SSB) via the public PxWebApi v2 at https://data.ssb.no/api/pxwebapi/v2. There is no application runtime — changes here are documentation/prompt edits that get loaded when the ssb-pxwebapi-v2 skill triggers. There is a build step and a test suite, but they are unusual: scripts/build_zip.sh packages the distributable, and the Python checkers under scripts/ treat every example URL, POST body and table ID…
In this repository11 other files it gives its agents.
- pxwebapi-v1-generic-skill/CLAUDE.mdCLAUDE.md
- pxwebapi-v2-generic-skill/CLAUDE.mdCLAUDE.md
- scb-pxwebapi-v2-skill/CLAUDE.mdCLAUDE.md
- ssb-chart-skill/CLAUDE.mdCLAUDE.md
- ssb-histstat-skill/CLAUDE.mdCLAUDE.md
- generic-pxweb-v1-skillSkill
- generic-pxweb-v2-skillSkill
- scb-pxwebapi-v2Skill
- ssb-chartSkill
- ssb-histstatSkill
- ssb-pxwebapi-v2Skill
The file
We split this CLAUDE.md into the rules it gives an agent
4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 77
Use valueCodes (camelCase) consistently in GET examples — matches the OpenAPI spec and the POST body shape, even though the API is …
- Very specific: line 78
Keep references/*.md focused.
- Very specific: line 88
If you added a file to references/ or assets/, update the file tree in README.md too (it's hand-maintained.
- Distinctive: line 90
Update the version column for this skill in the root README.md (both the Norwegian and the English table).
≈ “Common” is an estimate: at least 1 in 5 of the 29,248 CLAUDE.md 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
CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
What this repo is
This is not an application codebase. It is a Claude Code Skill package that teaches Claude how to query Statistics Norway (SSB) via the public PxWebApi v2 at https://data.ssb.no/api/pxwebapi/v2. There is no application runtime — changes here are documentation/prompt edits that get loaded when the ssb-pxwebapi-v2 skill triggers.
There is a build step and a test suite, but they are unusual: scripts/build_zip.sh packages the distributable, and the Python checkers under scripts/ treat every example URL, POST body and table ID written in the markdown as an assertion to verify against the live SSB API, and run the code template in assets/code/ with its default selection. Prose is the fixture set; drift upstream at SSB fails the build.
Upstream source of truth: https://github.com/janbrus/pxwebapi-skills/tree/main/ssb-pxwebapi-v2-skill (the repo was renamed from ssb-api-v2-examples; old URLs redirect)
Commands
Requires Python 3.12+ and zip/unzip. The checkers are stdlib only, with one exception: check_examples.py imports and runs the code template assets/code/hent_uttrekk.py, which needs requests and pandas. Without them the template is skipped with a warning and the rest runs; with the environment variable CI set (GitHub Actions, which installs both) a missing package is an error.
# Verify every example URL, GET/POST query and table ID in SKILL.md + references/ + docs/,
# and run the code template in assets/code/
python3 scripts/check_examples.py # add --quiet to hide OK lines
# Verify references/common-tables.md rows against /tables/{id}
python3 scripts/check_common_tables.py --quiet
python3 scripts/check_common_tables.py --md references/common-tables.md # check a single file
python3 scripts/check_common_tables.py --workers 4 # parallel; the threads share one window
# Both in one go: two processes don't share a window, so run them 61 s apart
python3 scripts/check_common_tables.py --quiet && sleep 61 && python3 scripts/check_examples.py --quiet
# Rebuild the distribution zip (required before committing content changes)
scripts/build_zip.sh # writes ./ssb-pxwebapi-v2-skill.zip
scripts/build_zip.sh /tmp/fresh.zip # write elsewhere, e.g. to diff against the committed zipAt most half the rate limit, for tests too (maintainer's rule). Every request either checker sends, retries and Klass included, takes a slot in scripts/ratewindow.py's sliding window: 20 per 60 s, a slot held 61 s. A fixed pause can't keep that, which is why --delay was removed in 1.7.0. Each run ends with «N kall, høyst K per 60 s (budsjett 20)», and check_examples.py warns once if x-ratelimit-policy in the responses it already gets isn't 40;w=60s. The pair takes about 8 min. A curl check or sweep sent to data.ssb.no meanwhile shares the same per-IP quota.
There is no single-test flag; scope a run by pointing check_common_tables.py --md at one file, and use --quiet to hide OK lines. Both checkers exit non-zero on errors; check_common_tables.py warnings (title drift, stale lastPeriod) do not fail CI.
.github/workflows/check-tables.yaml runs two jobs — check (both Python scripts) and zip-sync (rebuilds the zip and diff -rs it against the committed one) — on push/PR touching SKILL.md, README.md, CHANGELOG.md, references/**, assets/**, docs/**, scripts/** or the zip, and by hand via workflow_dispatch (Actions tab → Run workflow). There is no scheduled run: the Monday cron was removed on 2026-10-13 (maintainer's call), so SSB-side drift with no local change surfaces only on the next push or manual run. Run both checkers locally before a release.
The /savedqueries safety rule
check_examples.py deliberately never issues POST /savedqueries — that would create persistent state on SSB's servers. Such examples are JSON-syntax-validated only. Keep this exemption if you extend the checker, and never "verify" a saved-query example by actually posting it. Since 1.6.2 the one POST /savedqueries example lives in references/saved-queries.md; the GET /savedqueries/10119120 lines beside it are real GETs and are checked.
Layout
SKILL.md— the skill entrypoint. Frontmatter (name,description,license,metadata.version) controls when the skill auto-triggers; the body is the operational guide Claude follows. Keep triggers (Norwegian + English keywords for Norwegian official statistics) in thedescription. Structure: data-integrity rule → routing to sibling skills/tools → endpoint table → tool selection → language → 6-step workflow (Steg 1–6) → pitfalls → worked examples → fallback (which also carries the pointer totroubleshooting.md).
Since 1.5.0 the file is deliberately deduplicated: each rule has one primary occurrence in SKILL.md plus pointers, and detail lives in references/. Before adding a paragraph, grep for the term — if it already appears, extend the existing occurrence or the reference file instead of writing a second one. Terms worth grepping: elimination, noteMandatory, top(), Lagre, rate limit, KOSTRA, KOK. Since 1.6.5 the Dataintegritet bullets state the rule only. The detail behind them lives in common-tables.md (14746 alternatives, when not to use SSB's ready-made per-capita figures) and troubleshooting.md (discontinued and removed tables, successor via the table note or SSB's endringsside). That was the maintainer's call on 2026-10-23, so don't move it back.
references/— deeper reference material loaded on demand. Every file except the three shortest (search-syntax.md,mcp-tools.md,saved-queries.md) opens with an Innhold list that mirrors its H2 headings; update it when you add or rename a section:json-stat2.md— table of contents, then «Slik leser du et uttrekk» (seven numbered rules, actions only, row-major indexing in rule 2), then the format: Dataset structure and indexing, a field table,extensionat dimension and dataset level,status/note/link, what json-stat2 does not carry, tools. Since 1.6.2 rules come first and the format sections only describe; keep that split. Every field that comes from the PX file names its PX keyword in parentheses (measuringType←STOCKFA,noteMandatory←NOTEX,status←DATASYMBOL…/DATANOTECELL; source:PxTools/PCAxis.Serializers,JsonStat2Serializer.cs), and theextension.pxkeys are PX keywords in lower case. SSB never setsnoteMandatoryorcategoryNoteMandatoryat dimension level (0 of 89, 2026-10-11) although the PxWebApi spec has them — notes per variable and per value are never mandatory at SSB, so don't reintroduce them as rulesapi-details.md— SSB-specific operational info (publishing times, rate-limit headers, license)codelists-and-filters.md— codelist/filter syntax:codelist[Var]=agg_…,top(n)/from(x)/range(a,b), wildcards, plus theoutputValues[Var]parameter and the finding that it is not load-bearing at SSB (identical data foraggregated,singleand omitted; an invalid value returns HTTP 200 unvalidated — verified 2026-08-30). Don't reintroduce it as a requirement. Note prefixes:agg_KommFylkerusesF-,agg_KommSummerusesK-, the age groups useF00-04; such codes give 400 withoutcodelist[Var], andvalueMap(not theagg_prefix) tells whether a list sums. Includes KPI/COICOP groupings (vs_CoiCop2018Kpi01,agg_CoiCop2018Kpi011) — COICOP 2018 is UNSD's international classification, the codelists are SSB's own. Since 1.6.2 the order is: table of contents → general codelist rules → filter expressions (both within the first ~100 lines, because some agents only read the head of a file) → SSB-specific sections. Keep the headings «Regionale nivåer under kommune: bydel, delområde, grunnkrets» and «Næringskoder: SN2007 → SN2025» verbatim —SKILL.md,troubleshooting.mdandklass-vardok.mdpoint to them by namesaved-queries.md— saved queries: SSB's recommendation (a plain API URL withtop()/from()for automation) first, then thePOST /savedqueriesbody (outputFormatandoutputFormatParamsboth mandatory), the GET endpoints, and old v1-erassb.no/statbank/sq/{id}IDs still served via the API. Moved out ofSKILL.mdSteg 6 in 1.6.2 because saved queries are of marginal interest to users (maintainer's call, 2026-10-10); Steg 6 keeps the recommendation and a pointer. Don't move the detail backsearch-syntax.md— pure Lucene query parser reference for/tables?query=(PxWebApi uses Lucene.Net under the hood). Non-Lucene search parameters (pastDays,includeDiscontinued) and Norwegian term choice belong inSKILL.mdSteg 2, not hereklass-vardok.md— SSB's Klass (classifications) and VarDok (variable definitions) via URNs inlink.describedbyand ready-madelink.relatedlinks, plus deriving the statistics shortname frompathsbefore metadata is fetched. That derivation only holds when every path shares the third node; for the 504 cross-listed tables (KOSTRA plus e.g. 10484, 14662)extension.metaidis the answer andpaths[0]is wrong for 76 of 450 active ones (sweep 2026-10-03).subjectCodenarrows the candidates but leaves 178 of 504 ambiguous, and theisPrimaerPlasseringflag from ssb.no's subject tree adds nothing on top (same 178), so don't build a heuristic on either. Since 1.6.5 it also has the date lookupschanges,codesAtandcorrespondsAt(131 → 112 replaces knowing the yearly KOSTRA table ID). Inchangesthe change date must fall strictly betweenfromandto(frominclusive,toexclusive, and a change needs the day before in range too), or the answer is 0 rows with no error. Klass URLs carry no.jsonsuffix — SSB deprecated it (API guide §1.7.1, 2026) — and Klass picks the format fromAccept(text/htmlalone gives 500).check_examples.pyGETs Klass URLs too since 1.6.5kostra.md— KOSTRA (municipal reporting, 385 active tables identified by thekostrahovednode inpaths, not by search):KOK…/KOS…variable IDs instead ofRegion, special region codes (EAK,EAKUO,EKG01–17,EAFK…,EAB), codelists chosen by label becauseagg_KOGkommuneregion…IDs vary per table, all dimensions mandatory,aggregallowed: false, estimated/weighted national figures, unrevised figures 15 March → revised 15 June with nostatusflag, KOSTRA groups in Klass 112. Facts verified 2026-09-20. KOSTRA tables andKOS…codes churn with reporting requirements, so re-sweep every March/June and expect example URLs here to break more often than elsewhere; never hard-codeagg_KOG…IDs in examples. 13526 and 12134 are the checker's KOSTRA fixtures. Since 1.6.6 the file opens with a table of contents and then «Sjekkliste før du svarer» (rules before description, as injson-stat2.md); the successor lookup points to «Avsluttet tabell» introubleshooting.mdinstead of restating itoutput-formats.md—json-stat2,csv,xlsx,html,px,parquetand parameters (UseCodesAndTexts,IncludeTitle,heading/stubpivoting). Holds the full parquet column contract (value/ContentsCode_{code}plus the_symbolcolumns that carrystatus), and since 1.6.3 the recommendation to usexlsxwhen data goes into Excel (numeric cells; Excel picks the decimal mark, whateverlang).SKILL.mdonly points here. Since 1.6.6 the order is: table of contents → the formats → xlsx → CSV →outputFormatParams→heading/stub→ Power Query → parquet last, because the format is beta (maintainer, 2026-10-27). The parquet section keeps only what changes the agent's behaviour; closed bugs and their verification live inDEVLOG.mdcommon-tables.md— well-known table IDs (KPI, befolkning, etc.); the machine-checked table (| id | title | frekvens | … |) is parsed bycheck_common_tables.py, so keep the column order. The Innhold list at the top names every##topic with keywords; add a line there when you add a topictroubleshooting.md— common errors and fixes; also the canonical list of SSB's standardtegn (.,..,:plus the pre-2021 symbols) under «NULL-verdier i data» —json-stat2.mdpoints here rather than repeating them. The short footnote texts, in Norwegian and English, are inassets/standardtegn.json(seeassets/below). It is the lookup from an error to its cause: it may repeat a rule in one line with a pointer, but the rule lives in the topic file. When you change a rule, grep for the other copy — in 1.6.5 the successor lookup changed here whilekostra.mdkept the old order until 1.6.6. Keep the headings «NULL-verdier i data», «Data ser "feil ut" over tid» and «Avsluttet tabell» —json-stat2.mdandkostra.mdpoint to them by namemcp-tools.md— mapping betweenpxweb-mcpMCP tools (@jarib/pxweb-mcp) and API endpoints, plus limitations (lossysearch_tables, nocodelist[Var]infetch_metadata, nooutputFormatParams) and the--urlconfig caveat. Facts are version-bound — re-verify against the package source when it ships a new major version.
CHANGELOG.mdandDEVLOG.md— two logs for two readers, both in Norwegian.CHANGELOG.mdships in the zip and tells users what is different in the answers: a few bullets per version, no sweep counts, no sibling checks.DEVLOG.mdis the maintainer's record and is not shipped: what changed, what was verified live and when, and every sibling-check outcome. It is the oldCHANGELOG.md, split off on 2026-10-05, when it had grown to nearly twice the size ofSKILL.md. Every version appears in both. TheCHANGELOG.mdheader links toDEVLOG.mdby full GitHub URL, because a relative link is dead inside the zip.evals/eval-scenarios.md— maintainer-internal behavioral fixtures: typical user questions with the expected table ID and endpoint sequence. Run via theskill-creatorskill after larger edits toSKILL.mdorreferences/. This layer catches routing regressions (picking discontinued 03013 instead of 14700); the Python checkers catch factual regressions. When an eval fails, runcheck_examples.pyfirst — the table may have changed, not the skill.evals/trigger-eval.json— trigger fixtures for the frontmatterdescription: 20 queries in skill-creator'srun_eval.pyformat (query,should_trigger, plusidand the expectedroute), 10 that should trigger and 10 near-misses that belong to a sibling skill or to none. The behavioral evals hand the agent the skill and the checkers test URLs, so only this layer notices a skill that stops triggering. Unpatchedrun_eval.pyundercounts here: it counts calls to its temporary copy, but the installed skill (a symlink to this folder, same description) takes them — detect the installed skill by name instead, and runclaude -pin a neutral directory, because the model sees its cwd and a path that names the skill biases it. Run it with apxweb-mcpserver connected — that is the condition that discriminates, because with MCP tools available a model can go straight to them without loading the skill. A server name without «pxweb» or «ssb» is untested. Results, with model and date, go inDEVLOG.md(1.6.4 holds the current baseline).docs/— user-facing but deliberately outside the zip:brukerveiledning.md(how to use the skill: prerequisites, the*.ssb.noallowlist, example questions, troubleshooting, MCP setup) andinstruks-kort.md(for users without a paid plan, since 1.7.0: a plain-text kjerne in a code block, at most 1 450 characters so it fits ChatGPT's custom-instructions field, plus an utvidelse below the---line for project instructions and Gems. It assumes GET only, and a model that cannot fetch sends the user to Statistikkbanken to pick values, press «Lagre», open the address shown under «GET URL» (button and label confirmed by the maintainer, 2026-11-11) and paste the response — never a search result or metadata, which are too large to paste and not realistic use (maintainer, 2026-11-11). POST, curl, MCP and saved queries were cut on purpose — maintainer's call 2026-11-11 — so it no longer serves as an API system prompt; don't add them back, and count the kjerne after every edit). They are for platforms and readers that never load the zip, and keeping them out also stops a model from loading the condensed copy as if it were the skill.skillkart-arbeidsflyt.svg(the Steg 1–6 workflow: endpoints per step, routing to sibling skills, the/dataresponse as the only source of numbers) andskillkart-sjekk-og-pakking.svg(the check/zip pipeline) are hand-drawn and are the only copy of each drawing:skillkart.htmlwraps them with<img>and prose, andbrukerveiledning.mdembeds the workflow SVG so GitHub renders it. Each SVG carries its own<style>and an opaque background, since GitHub serves it as an image and no page CSS or web font reaches it — size text for wide fallback fonts like DejaVu Sans. Both name the version they were drawn from; no checker reads.svgor.html.llms.txtis a draft proposal to SSB fordata.ssb.no/llms.txt(llmstxt.org v2, English): it links to SSB's own docs, not to this repo's files, so keep it standalone. v2 rules to keep: free-text rules go before the first H2 with no heading of their own, every H2 section is a pure- [name](url): notelist, and links should point to LLM-friendly content (raw GitHub, JSON,.mdversions where they exist).check_examples.pyscansdocs/*.mdanddocs/*.txt, so their example URLs stay live-checked.assets/svarmal.no.md,assets/svarmal.en.mdandassets/standardtegn.json— the layout of an answer with figures, and the status-symbol texts. They ship in the zip (since 1.7.0); the opening line ofSKILL.mdSteg 5 tells the agent to read the template before writing an answer, and thestatusbullet points to the JSON. The templates have placeholders only, no table IDs or numbers, so nothing in them can be reused «from memory» or leak into evals (maintainer, 2026-11-19).check_examples.pydoesn't scan them, and would skip the{lines anyway. Their source lines have the wording from «Språk» inSKILL.mdand, for several tables, fromssb-chart, but each table number is a markdown link tohttps://www.ssb.no/statbank/table/{id}(/en/statbank/in English), which replaced a table-and-link bullet under «Slik ble tallene hentet» (maintainer, 2026-11-22). «Språk» stays plain text, because the same line iskilde()inhent_uttrekk.py, which prints to a terminal and is checked verbatim. Change the wording in all three together. They use the passive voice («Slik ble tallene hentet»), not the first person (maintainer). The footnote line is a placeholder on purpose: the symbol texts live only instandardtegn.json, keyed by the status code as json-stat2 sends it, because a hard-coded line had already drifted from the JSON. The texts are SSB's short ones from both standardtegn pages (read 2026-11-19), except:, which is the maintainer's wording («Vises ikke av hensyn til konfidensialitet», SSB says «… av konfidensialitetshensyn») — don't change it backassets/code/— code templates the agent copies and fills in; shipped in the zip, pointed to fromSKILL.mdSteg 5 (since 1.7.0).hent_uttrekk.pyis requests + pandas: a json-stat2 POST, its own row-major decoder giving a code column and a_tekstcolumn per variable plusvalue(null stays NaN) andstatus, the notes withnoteMandatorymarked, the source line,kan_summeres()(readsextension.px.aggregallowed;main()warns when it is false, and the module docstring tells the agent to check it before summing — added after a Sonnet eval on 2026-11-18 lost the warning because agents using the template stopped readingjson-stat2.md), and a call window at half the limit (20 slots, each held 61 s; the check uses_kall.maxlen, so settingBUDSJETTafter import cannot switch the window off). Not pyjstat, which the notebooks in the repo root use: it dropsstatusand gives codes or texts, not both (maintainer's choice, 2026-11-18).check_examples.pyruns it (check_template()): offline against a made-up dataset —category.indexout of position order, a null with status, a number with a flag,statusas object and as list — and then one POST with the template's ownTABELLandUTVALG, whose table also joins the discontinued check. Row positions are worked out from each row's codes (index × stride), not in the template's product order, so the check is not the decoder agreeing with itself; keep it that way. The live call takes a slot in the checker's window (mod._ta_plass = WINDOW.take), which works becausehent()looks_ta_plassup at call time — don't bind it as a default argument. The check catches drift at SSB and breakage in pandas; whether an agent keepsstatus, notes and source when it adapts the template is still a job for the evals. Importing it locally creates__pycache__/; it is git-ignored, andbuild_zip.shskips it so the zip matches the CI build.scripts/,.github/— repo-internal tooling, deliberately excluded from the distribution.
Editing guidance
- The Dataintegritet section at the top of
SKILL.mdoutranks everything else in the skill: never state a number not fetched from the API in that conversation, never blend other sources, never interpolate. Don't weaken or relocate it — the rest of the workflow assumes it. - Preserve the bilingual (Norwegian primary, English secondary) trigger surface in
SKILL.mdfrontmatter — removing keywords will cause the skill to stop firing for real user queries. - The API base URL and endpoint table in
SKILL.mdare the canonical contract; if an endpoint is added/changed upstream, updateSKILL.mdfirst, then cross-checkreferences/api-details.md. - Examples should use real, currently-published SSB table IDs.
check_examples.pyfails on any table withdiscontinued: true, so replace rather than annotate dead IDs. - For example URLs/queries, hit the live API and confirm HTTP 200 (or just run
check_examples.py). Codelist prefixes are easy to forget:agg_KommFylkerrequiresF-codes,agg_KommSummerrequiresK-codes. A 400 response usually means a missing prefix or a missing required variable (Tid/ContentsCodeare never eliminable) — read thetitlefield, which is the diagnostic;detailis set only forToo many cells selected,Unsupported output formatandSaved query not found, and then repeats the title (2026-10-28). - Use
valueCodes(camelCase) consistently in GET examples — matches the OpenAPI spec and the POST body shape, even though the API is case-insensitive. - Keep
references/*.mdfocused;SKILL.mdshould stay the overview and defer detail to references rather than duplicating it. - Keep SKILL.md lean: add only what helps many users or tables. One-table quirks and discrepancies SSB already explains in a note go to references, DEVLOG or chat (maintainer, 2026-10-13). But a line that repeats a rule can stay where the agent acts — beside an example or in the step it is about — and a line may only be cut if its content stands elsewhere (maintainer, 2026-10-14, when trimming for 1.6.3).
- Dates in the skill files go on snapshot facts only, written on the fact itself («per 2026-10-24», «0 av 89 (2026-10-11)»): counts, «gjeldende» IDs, observed SSB behaviour — they tell the agent the number may be stale and the API wins. The record of what was verified when belongs in
DEVLOG.md. Don't add new «Verifisert …:» lead-ins before URL lists;check_examples.pychecks every example URL, Klass included, on each run. Existing lead-ins mostly also date numbers in the same paragraph, so leave them (maintainer, 2026-10-24). check_examples.pyextracts POST bodies by brace-counting, so a JSON body in the docs must not contain{or}inside string values, and must not be interrupted by a closing code fence.
Release checklist (every content change)
- Bump
metadata.versioninSKILL.mdfrontmatter (semver: PATCH for fact fixes, MINOR for new content). A version that isn't bumped lies about copies being current.SKILL.mdalso states the version in prose ("Denne kopien er v…") — update both. - Add a
DEVLOG.mdentry. Existing entries record the verification date and whether the sibling SCB skill was affected; follow that pattern. Then add the user entry inCHANGELOG.md, derived from it: what is different in the answers, in a few bullets, with corrections marked Rettet:. Same version and date in both files. - Rebuild the zip with
scripts/build_zip.sh— thezip-syncCI job fails otherwise. - If you added a file to
references/orassets/, update the file tree inREADME.mdtoo (it's hand-maintained;build_zip.shglobsreferences/*.mdand every file underassets/except__pycache__/, so the file ships either way). - If you changed a rule in
SKILL.md, check whetherdocs/instruks-kort.mdstill says the same thing — it repeats the rules in short form and names the version it builds on (docs/brukerveiledning.mdnames a version too). If you changed a step, an endpoint or a routing target, redrawdocs/skillkart-arbeidsflyt.svgas well. Neither is in the zip, sozip-syncwill not catch them drifting. - Update the version column for this skill in the root
README.md(both the Norwegian and the English table). It is outside the skill folder and outside the zip, so nothing checks it.
The zip and the README file tree contain user-facing files only: SKILL.md, README.md, CHANGELOG.md, references/, assets/, plus LICENSE in the zip. Never add scripts/, .github/, CLAUDE.md, DEVLOG.md or evals/ to either; docs/ is user-facing but stays out of the zip (see Layout).
LICENSE (MIT) lives in the repo root and covers the whole repo; build_zip.sh copies it into the package because MIT requires the notice to travel with every copy, and the zip is the copy that gets handed out. Don't add a per-skill LICENSE — edit the root one, and rebuild all six zips when it changes (every zip-sync workflow has LICENSE in its paths: filter). SKILL.md frontmatter carries license: MIT. LICENSE has complete terms (the optional Agent Skills field — keep it short, it names the file beside SKILL.md in the zip); never put licence text in the body, which is loaded on every trigger.
Related sibling skills
A parallel scb-pxwebapi-v2 skill exists for Sweden's SCB. The two APIs share the PxWebApi v2 shape — when fixing a bug in one, check whether the other needs the same fix, and record the outcome of that check in DEVLOG.md (including "does not apply", with the date). It stays out of CHANGELOG.md, which is about this skill's answers.
A third-party norges-bank-api skill (github.com/avocodetoast/norges-bank-api-skill, SDMX — not PxWebApi) covers Norges Bank data, and ssb-histstat covers digitised historical statistics from before the Statistikkbank era. SKILL.md Steg 1 routes such questions there; Steg 5 and Fallgruver require answers to comment only on the fetched SSB numbers — cross-references are routing, never data blending from other sources. Keep these references when editing.
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.

