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 itself supports Python 3.10 and newer; its
generated projects require 3.11. 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.22.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.22.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 once per hub process and by hash afterwards; 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".
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.29.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| thalovant_skillkit-0.29.0.tar.gz | 183.9 kB | With provenance | Details for thalovant_skillkit-0.29.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| thalovant_skillkit-0.29.0-py3-none-any.whl | Python 3 | none | any | Details for thalovant_skillkit-0.29.0-py3-none-any.whl |
Total release size: 308.8 kB
Release files / thalovant_skillkit-0.29.0.tar.gz
| Download URL | thalovant_skillkit-0.29.0.tar.gz |
|---|---|
| Size | 183.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fcb14d20c84addebc4e18dfcbee3dd4d3675aa4348f9eda60524891b8b552175
|
|
BLAKE2b-256 checksum How to use checksums |
85c999b712b692b6d23c6db8018dcdcd0c8ad60f28b4d625ce9826ac876b185e
|
| 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 5, 2026.
Transparency logRelease files / thalovant_skillkit-0.29.0-py3-none-any.whl
| Download URL | thalovant_skillkit-0.29.0-py3-none-any.whl |
|---|---|
| Size | 124.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
429659ad23b6ecc4978e49274352a6d42bf0c36240488b808200d030dab906fb
|
|
BLAKE2b-256 checksum How to use checksums |
65d9189542b09cb2deb56362adcba1fc0f7ec8a3081362acc60133ac56b1a2dc
|
| 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 5, 2026.
Transparency logSecurity for thalovant-skillkit 0.29.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.
Attestation for thalovant_skillkit-0.29.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 5, 2026.
Transparency logA 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.