Skip to main content

Thalovant

thalovant-skillkit

Build and test Thalovant skills for Open Voice OS (OVOS) with shared message, locale, conversation, and packaging helpers. SkillKit provides base classes, a project scaffold, and checks for skill resources and built packages. OVOS owns intent routing, speech, sessions, and scheduling.

Quickstart

You need Python 3.11 or newer with venv and pip, a terminal, and access to your Python package index. SkillKit and the projects it generates both require 3.11 (the kit's floor was 3.10 until 0.30.0). No running hub or speaker is needed here.

Start in a working directory where thalovant-skill-garden-watering does not already exist:

python3 -m venv .venv
. .venv/bin/activate
python -m pip install --pre "thalovant-skillkit==0.33.0"
thalovant-skillkit new garden-watering
cd thalovant-skill-garden-watering
python -m pip install --pre -e ".[test]" build
thalovant-skillkit check
python -m pytest -q

This example pins SkillKit 0.33.0. --pre allows the current OVOS prerelease stack; see the reference for legacy Workshop 8 compatibility.

You should have a fallback skill with five passing tests, English and French locale resources, package metadata, and a GitHub test workflow. The check reports ok: thalovant-skill-garden-watering keeps its contracts. This scaffold uses vocabulary files, so it has no intent examples for fleet comparison. The workflow tests and validates packages; it does not install your skill on a speaker.

The sample answers what is garden watering with a placeholder reply and declines ordinary room chatter. Edit thalovant_skill_garden_watering/__init__.py for its behavior and locale/ inside that package for vocabulary and replies. Both initial vocabularies use the same English keyword; translate them before calling the skill translated.

Regional tags such as en-CA, en-GB, and fr-CA reuse compatible translations while retaining the speaker's language. For regional wording, keep only the differences in locale/regional.json; thalovant-skillkit locales --write builds complete OVOS resources. See the regional guide.

Speech markup

A reply can carry SSML beside its plain words: a pause, a code read one character at a time, a word in another language. The Thalovant voice app reads the markup. Clients that only read the plain words, such as the Android app, say the same sentence without it. SkillKit never puts a tag in the plain words.

A pause before a punchline. Put a twin beside the dialog, one line for each line of the dialog, with the same {placeholders}. For locale/en-US/dialog/joke.dialog:

Why did the scarecrow win an award? Because he was outstanding in his field.

write locale/en-US/dialog/joke.ssml:

Why did the scarecrow win an award? <break time="700ms"/> Because he was outstanding in his field.

self.speak_dialog("joke") and self.dialog("joke", lang) pick a line and send both forms of that line. A language without a twin says its plain line.

Spelling a code. Mark up the value instead of the dialog. This works in every language the skill ships, with no locale file to change:

from thalovant_skillkit.ssml import spell

self.speak_dialog("code", {"code": spell("XK7")})

A word in another language. Build the sentence in Python:

from thalovant_skillkit.ssml import foreign, say

self.speak_to(message, say("One", foreign("café au lait", "fr-FR"), "coming up."))

A plain string passed to these helpers is escaped, so what a user said can never become markup. thalovant-skillkit check checks every twin, and so does check --fleet-only. The reference lists the helpers, the tags a voice renders and the rules.

What the screen shows

A satellite with a display (the Mark II) draws a card a skill puts on its reply, beside the words. A client without a screen ignores it, as one without alarms ignores the schedule the alarm skills send. The card is data, never code: four kinds the screen lays out itself, and a layout the skill draws.

from thalovant_skillkit import display

card = display.weather("Toronto", condition="Cloudy", icon="cloudy",
                       temperature=11, high=12, low=4, unit="°",
                       days=[display.item("Wed", "9°", icon="rain")],
                       actions=[display.action("tomorrow", "Tomorrow")])
with display.showing(card):
    self.speak_dialog("weather.answer", {"summary": summary})

display.text, display.list_card, display.weather and display.media build the four kinds; display.showing(card) attaches it to every reply spoken inside the block (speak and speak_dialog keep OVOS's signatures), and speak_to(message, text, display=card) to one. display.clear() takes the cards down. The sizes the satellite enforces are checked here first, so a card that will not be shown raises CardError with the reason.

A layout of your own. Ship gui/thalovant/<name>.rfwtxt, a Remote Flutter Widgets file composed from the screen's widget library (Title, Body, Figure, Tile, Pill, Symbol, Button...; the screen's README lists it), bind the card's data, and name the actions its buttons send:

layout = display.layout_file(self, "weather.day")
card = display.layout(layout, data={"place": "Toronto", "temperature": "11"},
                      body=summary, actions=[display.action("refresh", "Refresh")])

The file travels with every card, with its hash; a screen that cannot draw it shows body, the words that were said. display.layout(..., fullscreen=True) gives the layout the whole screen, with no frame and no time along the top: for a card that is a scene of its own, such as a thank-you mosaic; an ordinary card keeps its frame.

When a button is tapped, the satellite reports it as thalovant.display.action; self.add_display_action_handler(handler) delivers handler(tap, message) for this skill's cards (display.Tap: card, action, skill, at). Answer with speak_to(message, ..., display=...), so the reply reaches the screen that was tapped. The contract, with every size, is in thalovant-voice's README, "What the screen shows".

A date for ears and for a screen

A reminder read aloud says "tomorrow at nine forty a.m."; the same reminder in an app reads "tomorrow at 9:40 AM", and one further off "Monday, 28th at 9:40 AM". moments gives both forms, and speak_with_written sends both, so a speaker hears one and a screen shows the other:

from thalovant_skillkit.moments import date_text, speak_with_written, time_text, uses_24_hour_clock

clock = uses_24_hour_clock(lang)
spoken = f"Reminder set for {date_text(due, lang, now)} at {time_text(due, lang, clock)}."
written = (f"Reminder set for {date_text(due, lang, now, written=True)} "
           f"at {time_text(due, lang, clock, written=True)}.")
speak_with_written(self, spoken, message, lang, written=written)

duration_text(seconds, lang) says "five minutes" and writes "5:00". Nothing is imported until the first date is formatted, so a skill that never says one pays nothing at boot.

While the knowledge service looks

A question put to the knowledge service takes a few seconds, and the room is silent for all of it. Open a lookup_notice where you have the message to answer, and knowledge_reply says "From Wikipedia…" the moment the service names its source and a slow step follows, or "Looking it up…" when nothing has come back after 1.2 seconds. A quick answer says nothing first:

from thalovant_skillkit.knowledge import knowledge_reply, lookup_notice

with lookup_notice(lambda line: self.speak_to(message, line)):
    reply = knowledge_reply(service_url=url, prompt=question, lang=lang, mode="answer",
                            max_sources=3, augmentation="auto", age_policy_setting=None,
                            headers=headers, timeout=4.0)

The line exists in each of the eleven languages the public hubs serve. A skill that posts its own request calls ask_service(...) inside the block instead of requests.post, and gets the same notice.

Continue building

  • Writing a Skill — choose a base class and understand how a skill works with OVOS.
  • SkillKit tutorial — build a bilingual educational quiz with sounds, one working lesson at a time.
  • API and CLI reference — helper contracts, session state, native OVOS testing, resource lookup, and command options.
  • Changelog — releases and upgrade notes.

Contribute

From a SkillKit checkout, activate a virtual environment and run the same lint and unit checks as CI:

python -m pip install --pre -e . pytest ruff
python -m ruff check thalovant_skillkit test scripts
python -m pytest -q

For changes to native OVOS integration, also follow the integration job in the test workflow. Its optional dependencies and harness contracts are covered in the reference. Report reproducible problems or suggest improvements in GitHub issues.

Metadata

Release files for thalovant-skillkit 0.33.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for thalovant-skillkit 0.33.0
File Size Uploaded Provenance Actions
thalovant_skillkit-0.33.0.tar.gz 224.0 kB With provenance Details for thalovant_skillkit-0.33.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for thalovant-skillkit 0.33.0
File Interpreter ABI Platform Actions
thalovant_skillkit-0.33.0-py3-none-any.whl Python 3 none any Details for thalovant_skillkit-0.33.0-py3-none-any.whl

Total release size: 368.3 kB

Release files / thalovant_skillkit-0.33.0.tar.gz

Download URL thalovant_skillkit-0.33.0.tar.gz
Size 224.0 kB
Tags Source
SHA-256 checksum
How to use checksums
2be49fbcb4ee1a0c76c59c010b9b233431f7ec632927a84175c35abdc88d2bdd
BLAKE2b-256 checksum
How to use checksums
0a246f9afd6d4e78791e72cf67f3e6db83a9ff25a1d20f99d8bcb1abfba1d8af
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 8, 2026.

Transparency log

Release files / thalovant_skillkit-0.33.0-py3-none-any.whl

Download URL thalovant_skillkit-0.33.0-py3-none-any.whl
Size 144.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c6dfd5d854003514c6fa9eec403f770f74147091d7e1f648cec702e812edc1a4
BLAKE2b-256 checksum
How to use checksums
e5fcdab3874a4e8fdd3a554d49aa7b9ee7437ab0ac548499530daff4019fcbf6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 8, 2026.

Transparency log

Security for thalovant-skillkit 0.33.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for thalovant_skillkit-0.33.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 8, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.33.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page