Skip to main content

Vados

@gklijs/vadosv2026.11.02.1· MIT· 26d agoBEHAVIORSSKILLSACCEPTED WARNINGS
01README

Wraps the Vados static site generator CLI (check, generate, link checks, pages, feeds, events, agendas, noindex, search, images, social links, menu, footer, navbar, spare tile, Luma events) for use in swamp workflows, with a skill on using them together. Needs vados 0.5.0 or later for the newest methods.

02Behaviors1
@gklijs/vadosv2026.11.02.1vados.ts

Global Arguments

ArgumentTypeDescription
vadosBin?stringPath to the vados binary on the worker (defaults to 'vados' on PATH)
source?stringPath to the source tree directory (main.json, menu.json, page.json files)
imgSource?stringPath to the image source tree directory (images.json files)
destination?stringPath to the output directory (used by generate)
timeout?numberCommand execution timeout in milliseconds
fn check(output?: string, external?: boolean)
Run vados check — validate the source and image trees without writing anything, and optionally the links of a site already generated
ArgumentTypeDescription
output?stringAlso check the links of a site already generated in this directory (no network access)
external?booleanWith output, also ask other sites whether linked pages exist (only ever warnings)
fn generate(checkLinks?: boolean, external?: boolean)
Run vados generate — publish a complete site from the source tree into the destination directory, optionally failing on broken links
ArgumentTypeDescription
checkLinks?booleanCheck the links of the generated site, and fail if any are broken (no network access)
external?booleanWith checkLinks, also ask other sites whether linked pages exist (only ever warnings)
fn page_new(path: string, title: string, content?: string, imageRef?: string, subTitle?: string, icon?: string, summary?: string, order?: number, date?: string, childOrder?: enum)
Create a new page.json for a path not yet in the source tree (with optional content and hero image)
ArgumentTypeDescription
pathstringURL path for the new page (e.g. '/blog/my-post')
titlestringPage title (rendered as the <h1> heading)
content?stringContent file path (.md/.html) or inline HTML for the page body
imageRef?stringExisting image reference (e.g. '/team/alice') to attach as the page hero image
subTitle?stringOptional page sub-title
icon?stringOptional page icon (Material Design Icons name)
summary?stringOptional page summary
order?numberOptional ordering hint among sibling pages
date?stringPublication date, YYYY-MM-DD or YYYY-MM-DDTHH:MM (defaults to today when the parent page orders its children by date)
childOrder?enumHow the new page orders its own children (e.g. 'date-desc' for a blog)
fn page_add_image(path: string, dir?: string, fileName?: string, existingReference?: string, as?: enum, altText?: string, caption?: string, side?: enum)
Attach an image to an existing page as its hero or as a notification — freshly registered or already declared
ArgumentTypeDescription
pathstringPage to attach the image to (e.g. '/blog/my-post')
dir?stringImage directory name, relative to the image source (omit for the image root)
fileName?stringImage file name to register as a new image (mutually exclusive with existingReference)
existingReference?stringAlready-declared image reference key (e.g. '/team/alice'), instead of registering a new one
as?enumOverride the automatic role choice: 'hero' or 'notification' (default: first attached image is hero)
altText?stringAlt text for a newly registered image (required with fileName; not accepted with existingReference)
caption?stringCaption shown for the attachment (notification images only)
side?enumWhich side a notification is added to (default: right)
fn image_add(dir?: string, fileName: string, altText: string, title?: string)
Register one image in an images.json, creating the file if the directory has none yet
ArgumentTypeDescription
dir?stringImage directory name to register under (e.g. 'team'; omit for the image root)
fileNamestringImage file name (e.g. 'alice.jpg')
altTextstringAlt text describing the image (required by vados check)
title?stringOptional human-readable image title
fn social_add()
Add a social link — use provider+handle for recognized providers (github, linkedin, facebook, youtube, twitter) or url for unrecognized ones
fn social_update(match: string, index?: number)
Replace an existing social link (matched by url substring) with a new provider+handle or url link
ArgumentTypeDescription
matchstringSubstring of the existing link's url to match
index?numberDisambiguate when more than one link matches (ranked among the matches)
fn social_remove(match: string, index?: number)
Remove an existing social link (matched by url substring)
ArgumentTypeDescription
matchstringSubstring of the existing link's url to match
index?numberDisambiguate when more than one link matches (ranked among the matches)
fn menu_add_item(url: string, title?: string, icon?: string)
Append one entry to the main menu (title required for external URLs)
ArgumentTypeDescription
urlstringMenu item URL (external 'https://...' requires title; internal '/path' uses the page's own title)
title?stringMenu item title (required for external URLs, optional for internal)
icon?stringOptional menu item icon (Material Design Icons name)
fn footer_set(content: string)
Replace the site-wide footer content reference
ArgumentTypeDescription
contentstringFooter content file path (e.g. 'footer.md') or inline HTML
fn page_luma_event(path: string, eventId: string, title: string, display?: enum, buttonLabel?: string, start?: string, end?: string, timeZone?: string)
Link a Luma event (eventId like 'evt-...') to a page, with display mode, button label and optional times for agendas
ArgumentTypeDescription
pathstringPage path to attach the Luma event to (e.g. '/events')
eventIdstringLuma event ID (must be of the form 'evt-...')
titlestringEvent title (shown as link text and accessible name)
display?enumHow to display the Luma event on the page
buttonLabel?stringText for the register button (defaults to 'Register')
start?stringWhen it starts, with a UTC offset; lists it in agendas and calendars. Needs timeZone (vados 0.5.0)
end?stringWhen it ends, with a UTC offset. Needs start (vados 0.5.0)
timeZone?stringThe IANA zone it happens in (e.g. 'Europe/Amsterdam'). Needs start (vados 0.5.0)
fn page_enable_feed(path: string, title?: string, limit?: number, siteUrl?: string, summariesOnly?: boolean)
Publish an Atom feed of a page's dated children (siteUrl required when main.json has none)
ArgumentTypeDescription
pathstringThe page whose children the feed lists (e.g. '/blog')
title?stringFeed title (defaults to the site title plus the page's)
limit?numberHow many of the newest pages the feed holds (defaults to 20)
siteUrl?stringWhere the site is published (e.g. 'https://example.com'), written to main.json. Required when main.json has no siteUrl yet
summariesOnly?booleanEntries carry their summary instead of their full content
fn page_set_event(path: string, start: string, timeZone: string, end?: string, attendance?: enum, status?: enum, organiser?: string, venue?: string, address?: string, cost?: string, registrationUrl?: string, virtualUrl?: string, sequence?: number)
Make a page an event, replacing any event it has as a whole. Details left out show as not confirmed; a change raises the calendar sequence (vados 0.5.0)
ArgumentTypeDescription
pathstringThe event page's path. Keep it when rescheduling or cancelling: it is the event's identity
startstringStart with the UTC offset timeZone really shows on that date (e.g. '2026-11-05T14:00:00-05:00')
timeZonestringThe IANA zone the event happens in (e.g. 'America/New_York')
end?stringEnd with the UTC offset timeZone really shows on that date
attendance?enumHow people attend; shown as not confirmed when left out
status?enumThe event's status
organiser?stringWho organises it; shown as not confirmed when left out
venue?stringWhere it happens; shown as not confirmed when left out
address?stringThe venue's address; shown as not confirmed when left out
cost?stringWhat it costs; shown as not confirmed when left out, which never means free
registrationUrl?stringWhere to register
virtualUrl?stringWhere to attend online; never taken from registrationUrl
sequence?numberOverride the calendar sequence, which vados otherwise raises when the event changes
fn page_enable_agenda(path: string)
List events on a page, soonest first (vados 0.5.0)
ArgumentTypeDescription
pathstringThe page that shows the agenda (e.g. '/agenda')
fn page_set_noindex(path: string, off?: boolean)
Keep a page out of search results and the sitemap, or undo that with off (vados 0.5.0)
ArgumentTypeDescription
pathstringThe page to keep out of search results and the sitemap
off?booleanLet search engines index the page again
fn search_enable(noMenu?: boolean)
Publish a site search at /search, with an entry in the main menu unless noMenu is set (vados 0.5.0)
ArgumentTypeDescription
noMenu?booleanLeave the search out of the main menu
fn spare_tile_set(title?: string, links: array)
Replace the block of links shown in the cells child tiles leave over (vados 0.5.0)
ArgumentTypeDescription
title?stringThe block's title
linksarrayThe links, each as '/url=Title'
fn spare_tile_remove()
Remove the spare tile (vados 0.5.0)
fn navbar_set(theme?: enum, dropdownLimit?: number)
Change the navbar theme and dropdown limit, leaving anything not given as it is (vados 0.5.0)
ArgumentTypeDescription
theme?enumWhat sits on the navbar, for a colour your stylesheet recolours to the opposite brightness
dropdownLimit?numberHow many children a dropdown lists before a 'more' link

Resources

result(4h)— Structured output from a vados CLI subcommand — exit code, stdout/stderr, duration, and success flag
03Skills1
vados-site1 file
04Previous Versions10
2026.10.14.10MIT

Modified 1 behaviors

2026.10.14.9MIT
2026.10.14.8MIT
2026.10.14.7MIT
2026.10.14.6MIT
2026.10.14.5MIT
2026.10.14.4MIT
2026.10.14.3MIT
2026.10.14.2MIT
2026.10.14.1MIT
05Stats
A
100 / 100
Downloads
19
Archive size
22.8 KB
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types (deprecated)1/1earned
  • Dependencies pass trust audit2/2earned
  • Docs keep secrets in a vault1/1earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License2/2earned
  • Verified public repository2/2earned

07Platforms
08Labels