Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

Mijn HTM

БесплатноБез исполняемых скриптовНе проверен

Fetch passes, products, and trips, and order new products from https://www.htm.nl 🇳🇱 "Mijn HTM" portal (Den Haag public transport)

ghuronот ghuron820 установок в других каталогах

Об этом скилле

Commands

node htm.mjs passes                                     # list passes (bank cards and OV-passen)
node htm.mjs products <tokenId>                          # products for a pass (active + inactive)
node htm.mjs reizen <tokenId> <from> <to>                            # trips for a pass, dates YYYY-MM-DD
node htm.mjs regio-advies <tokenId>[,<tokenId>...] <from> <to> [age] # is a Regio Vrij area pass worth it?
node htm.mjs reorder <tokenId> <productId> [validFrom]               # configure+cart a product, date YYYY-MM-DD

Flow

Run passes first to get each pass's id. Use that id as <tokenId> for products, reizen, regio-advies, and reorder.

reizen dates are local (Europe/Amsterdam) calendar dates, inclusive on both ends.

regio-advies checks, for each predefined "Regio Vrij" flat-rate area, whether a pass's actual trip history in <from>..<to> would have covered enough fare per month to beat that area's subscription price. A trip only counts as "covered" by an area if both its checkin and checkout stop are members of that area. age is the age profile for pricing (Adult by default; Senior/Teenager/Child also accepted) — it doesn't filter trips, only which price tier is used. Pass multiple comma-separated tokenIds (e.g. to check every family member at once) and it returns one result object per tokenId, in the same order.

reorder configures the given product (e.g. 5 = "HTM 20% Korting") for the pass and adds it to the cart — it does not pay. It prints a checkoutUrl (https://www.htm.nl/winkelwagen/) to open in a browser and finish payment manually (iDEAL etc. needs interactive bank authorization, which can't be scripted). validFrom defaults to today; HTM rejects a start date more than ~30 days out with a clear error. Re-running reorder for the same pass+product reuses the same draft line instead of creating a duplicate, so it's safe to call again to change the date; a line for the same product on a different pass is left alone, so family members each get their own line.

Age-based products (e.g. Regio Vrij "Reductie", productIds from regio-advies) require the pass owner's birthdate on every order — HTM checks it against the one registered on the card but can't read it back itself. Set HTM_BIRTHDATE_<tokenId>=YYYY-MM-DD per pass and reorder fills it in automatically; without it, reorder fails with "The birthdate of the added OVpay-token his owner is required for this product".

Полный SKILL.md на ClawHub

Установить Mijn HTM в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл Mijn HTM?

Fetch passes, products, and trips, and order new products from https://www.htm.nl 🇳🇱 "Mijn HTM" portal (Den Haag public transport)

Как установить скилл Mijn HTM?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл Mijn HTM запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить Mijn HTM с