13. Making skills

The idea

Making a skill for a voice assistant used to mean setting up a Linux machine, a Python environment and a lot of patience. Emkay Dev makes it something a kid, a school class or a curious parent can start on in a minute – and then leads them on, step by step, into the real developer tools and the whole OpenVoiceOS world.

No installation, no account, no cloud, no subscription – it all runs in your own browser, with a real OpenVoiceOS next to what you are making.

There are two ways in, to the same kind of skill:

Emkay Blocks Emkay Code
Emkay Blocks Emkay Code
For anyone who would never open VS Code anyone ready for real code
What skills from blocks, like Scratch VS Code in the browser with Emkay next to the code
Where blocks.emkay.ai code.emkay.ai
Makes intent, answer, fallback, media and reading skills every kind of skill and plugin
Repo blocks code

Both start at dev.emkay.ai (dev).

Emkay Blocks

Put blocks together – when someone says … say … – and hear Emkay answer a second later. The blocks make plain Python, a real OVOS skill.

When it gets complicated, Blocks nudges you on: this is easier in Emkay Code.

Emkay Code

The real VS Code in the browser, with the Emkay Code extension (emkay-voice.emkay-code, on the VS Code Marketplace and Open VSX). Write a skill, save, and talk to it in the Emkay next to your code. Emkay: New skill starts from a template – the example skills, among them every Blocks example – and the view of what was heard, who answered and what was said is right there.

Emkay Dev deliberately uses the standard VS Code: it introduces newcomers to the real developer universe rather than a toy of our own.

Where a finished skill goes

To How
This Emkay it runs next to the blocks or the code already
Another of your Emkays Install on… through My Emkay – choose the bedroom one
The house 🏠 To the house, from Blocks served by Emkay Home
GitHub your own repo – the way to share it with others
dev.emkay.ai/gallery See my skill: show it to others, if you choose to (a button – never by itself)

The store

Nobody publishes to the Emkay store. A skill gets there by being well made:

  1. it is released on GitHub and published on PyPI,
  2. Klondike finds it (its GitHub topics!) and calls it Looks Complete,
  3. the store's nightly test loads it – in Emkay, and on a real OpenVoiceOS like Emkay Home.

The store then shows whether it is for Emkay, Emkay Home or both. Providers and plugins without example sentences are tested by loading without errors and without network calls a browser refuses.

The Emkay store

The house rules

emkay-voice's skills and plugins look and feel alike – in the store, on GitHub and on PyPI – because they follow a short handbook, emkay-voice/design. The essentials:

Names OpenVoiceOS' own: ovos-skill-…, ovos-PHAL-plugin-… – one per repo
Icons a 512 px tile with rounded corners, one clear symbol; four families: Emkay (the face, for Emkay itself), Tile (for any OVOS), Teacher (navy), Example (blue, dashed); brands use their own logo
README the icon and name first, what it does, what to say, settings, languages, Category and Tags, License last with Made by emkay-voice
Languages all twelve of Emkay's, for everything a user hears or reads
Control panel controlpanel.json for a page, else settingsmeta.json (chapter 5)
License Apache-2.0, everywhere
Versions 0.1.0a1, 0.1.0a2 … while alpha; a tag vX.Y.Z publishes to PyPI
Topics emkay, openvoiceos, ovos, ovos-skill or ovos-plugin – right away, or Klondike can't find it
Code that isn't used is removed, not left behind

python tools/audit.py in the design repo checks every repo against the handbook; it runs every day and keeps one issue up to date.

The reference skill – the one to look at when in doubt – is ovos-skill-exercise-coach.

Giving back

What turns out well goes to OpenVoiceOS as pull requests: templates, fixes, pages for the control panel, whole repos (relicensed Apache-2.0 first). Emkay is built on OpenVoiceOS, and it should leave OpenVoiceOS better than it found it.