Vados
@gklijs/vadosv2026.11.02.1
Security Notice
This extension includes AI agent skills that can modify AI assistant behavior. Review the skill files before installing.
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.
02Behaviors
@gklijs/vadosv2026.11.02.1vados.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| vadosBin? | string | Path to the vados binary on the worker (defaults to 'vados' on PATH) |
| source? | string | Path to the source tree directory (main.json, menu.json, page.json files) |
| imgSource? | string | Path to the image source tree directory (images.json files) |
| destination? | string | Path to the output directory (used by generate) |
| timeout? | number | Command 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
| Argument | Type | Description |
|---|---|---|
| output? | string | Also check the links of a site already generated in this directory (no network access) |
| external? | boolean | With 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
| Argument | Type | Description |
|---|---|---|
| checkLinks? | boolean | Check the links of the generated site, and fail if any are broken (no network access) |
| external? | boolean | With 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)
| Argument | Type | Description |
|---|---|---|
| path | string | URL path for the new page (e.g. '/blog/my-post') |
| title | string | Page title (rendered as the <h1> heading) |
| content? | string | Content file path (.md/.html) or inline HTML for the page body |
| imageRef? | string | Existing image reference (e.g. '/team/alice') to attach as the page hero image |
| subTitle? | string | Optional page sub-title |
| icon? | string | Optional page icon (Material Design Icons name) |
| summary? | string | Optional page summary |
| order? | number | Optional ordering hint among sibling pages |
| date? | string | Publication date, YYYY-MM-DD or YYYY-MM-DDTHH:MM (defaults to today when the parent page orders its children by date) |
| childOrder? | enum | How 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
| Argument | Type | Description |
|---|---|---|
| path | string | Page to attach the image to (e.g. '/blog/my-post') |
| dir? | string | Image directory name, relative to the image source (omit for the image root) |
| fileName? | string | Image file name to register as a new image (mutually exclusive with existingReference) |
| existingReference? | string | Already-declared image reference key (e.g. '/team/alice'), instead of registering a new one |
| as? | enum | Override the automatic role choice: 'hero' or 'notification' (default: first attached image is hero) |
| altText? | string | Alt text for a newly registered image (required with fileName; not accepted with existingReference) |
| caption? | string | Caption shown for the attachment (notification images only) |
| side? | enum | Which 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
| Argument | Type | Description |
|---|---|---|
| dir? | string | Image directory name to register under (e.g. 'team'; omit for the image root) |
| fileName | string | Image file name (e.g. 'alice.jpg') |
| altText | string | Alt text describing the image (required by vados check) |
| title? | string | Optional 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
| Argument | Type | Description |
|---|---|---|
| match | string | Substring of the existing link's url to match |
| index? | number | Disambiguate 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)
| Argument | Type | Description |
|---|---|---|
| match | string | Substring of the existing link's url to match |
| index? | number | Disambiguate 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)
| Argument | Type | Description |
|---|---|---|
| url | string | Menu item URL (external 'https://...' requires title; internal '/path' uses the page's own title) |
| title? | string | Menu item title (required for external URLs, optional for internal) |
| icon? | string | Optional menu item icon (Material Design Icons name) |
fn footer_set(content: string)
Replace the site-wide footer content reference
| Argument | Type | Description |
|---|---|---|
| content | string | Footer 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
| Argument | Type | Description |
|---|---|---|
| path | string | Page path to attach the Luma event to (e.g. '/events') |
| eventId | string | Luma event ID (must be of the form 'evt-...') |
| title | string | Event title (shown as link text and accessible name) |
| display? | enum | How to display the Luma event on the page |
| buttonLabel? | string | Text for the register button (defaults to 'Register') |
| start? | string | When it starts, with a UTC offset; lists it in agendas and calendars. Needs timeZone (vados 0.5.0) |
| end? | string | When it ends, with a UTC offset. Needs start (vados 0.5.0) |
| timeZone? | string | The 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)
| Argument | Type | Description |
|---|---|---|
| path | string | The page whose children the feed lists (e.g. '/blog') |
| title? | string | Feed title (defaults to the site title plus the page's) |
| limit? | number | How many of the newest pages the feed holds (defaults to 20) |
| siteUrl? | string | Where the site is published (e.g. 'https://example.com'), written to main.json. Required when main.json has no siteUrl yet |
| summariesOnly? | boolean | Entries 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)
| Argument | Type | Description |
|---|---|---|
| path | string | The event page's path. Keep it when rescheduling or cancelling: it is the event's identity |
| start | string | Start with the UTC offset timeZone really shows on that date (e.g. '2026-11-05T14:00:00-05:00') |
| timeZone | string | The IANA zone the event happens in (e.g. 'America/New_York') |
| end? | string | End with the UTC offset timeZone really shows on that date |
| attendance? | enum | How people attend; shown as not confirmed when left out |
| status? | enum | The event's status |
| organiser? | string | Who organises it; shown as not confirmed when left out |
| venue? | string | Where it happens; shown as not confirmed when left out |
| address? | string | The venue's address; shown as not confirmed when left out |
| cost? | string | What it costs; shown as not confirmed when left out, which never means free |
| registrationUrl? | string | Where to register |
| virtualUrl? | string | Where to attend online; never taken from registrationUrl |
| sequence? | number | Override 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)
| Argument | Type | Description |
|---|---|---|
| path | string | The 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)
| Argument | Type | Description |
|---|---|---|
| path | string | The page to keep out of search results and the sitemap |
| off? | boolean | Let 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)
| Argument | Type | Description |
|---|---|---|
| noMenu? | boolean | Leave 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)
| Argument | Type | Description |
|---|---|---|
| title? | string | The block's title |
| links | array | The 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)
| Argument | Type | Description |
|---|---|---|
| theme? | enum | What sits on the navbar, for a colour your stylesheet recolours to the opposite brightness |
| dropdownLimit? | number | How 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
03Skills
vados-site1 file
04Previous Versions
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
Repository
https://github.com/gklijs/vados-swampbehavior-spelling1 accepted
- (extension) — All swamp clients and workers install this release; the behavior spelling is correct.
07Platforms
08Labels