Claude Code Plugins

Community-maintained marketplace

Feedback
0
0

Explore Danmarks Statistik’s subject hierarchy and related tables

Install Skill

1Download skill
2Enable skills in Claude

Open claude.ai/settings/capabilities and find the "Skills" section

3Upload to Claude

Click "Upload skill" and select the downloaded ZIP file

Note: Please verify skill by going through its instructions before using it.

SKILL.md

name subjects
description Explore Danmarks Statistik’s subject hierarchy and related tables

subjects CLI

This CLI lets you explore Danmarks Statistik’s subject hierarchy and related tables. Only fact tables are included in the subject hierarchy

python scripts/subjects.py  

Browsing subjects

python scripts/subjects.py          # children of the root subject (DST)
python scripts/subjects.py browse   # same as above
python scripts/subjects.py browse "Borgere"

Slash paths

Use slash-separated names to jump multiple levels in one command:

python scripts/subjects.py browse "Borgere/Befolkning/Befolkningstal"

Each segment matches the description, label, or raw node id of a child under the previous segment.

Depth control

--depth controls how many layers of descendants to show. -1 means “all descendants”.

python scripts/subjects.py browse "Borgere" --depth 2
python scripts/subjects.py browse "Borgere/Befolkning" --depth -1

Indented children are subject nodes; when a leaf is reached, its subjects print with descriptions.

Breadcrumbs

--parents (or --no-parents to suppress) prints the resolved path from the root before the listing:

python scripts/subjects.py browse "Befolkningstal" --parents

Table metadata

Use tables-info to output XML metadata for one or more table IDs.

python scripts/subjects.py tables-info FOLK1A FOLK1AM

Use table-info to get all metadata for a table id. Much more verbose than tables-info. Usually prefer tables-info that gives you a curated subset of metadata, whereas table-info gives you all the metadata.

python scripts/subjects.py table-info FOLK1A