Skip to main content

Doublecheck

Status: Active

An OVOS skill that asks before a risky request runs. It works with Switchboard.

Some requests shouldn't run on a misheard word: unlocking a door, opening the garage, shutting down, clearing data. Switchboard never runs these directly. With Doublecheck installed and Switchboard's high_risk set to "confirm", it hands them to Doublecheck, which:

  • repeats what it heard and asks: "I think you said: unlock the front door. Should I do that?"
  • on a clear yes, runs exactly that request, as if it had gone straight to the skill;
  • on anything else (no, silence, an unclear answer) says "OK, I won't" and runs nothing.

Repeating the user's own words means no special wording is needed for each request, and if the assistant misheard, the user hears the mistake before anything happens.

The request is kept only for that one question. A "yes" said later runs nothing.

Install

pip install ovos-skill-doublecheck

Then set "high_risk": "confirm" under intents.switchboard in mycroft.conf.

Python 3.11-3.14. Works with ovos-workshop 0.x (Neon) and current OVOS.

Languages

Basque, Catalan, Danish, Dutch, English, French, Galician, German, Italian, Persian, Polish, Portuguese (European and Brazilian), Russian, Spanish and Swedish: the languages most OVOS skills ship. Regional variants use their language's version (en-GB uses en-US).

Doublecheck only asks a question that can be answered. If it has no question in the user's language, or OVOS can't understand a "yes" in it, Doublecheck asks nothing and runs nothing (the request is simply held) and logs a warning. Today that applies to Galician and Italian, until fixes to OVOS's yes/no parser are released (#8, #9); then they start asking on their own.

The translations were written by a non-native speaker, so corrections are welcome. Kabyle is missing and needs a native speaker. A language is three short files in ovos_skill_doublecheck/locale/<lang>/: dialog/confirm.dialog (with {utterance}), dialog/cancelled.dialog and vocab/yes.voc.

For developers

Doublecheck registers no intents; only Switchboard sends to it (ovos-skill-doublecheck.oscillatelabsllc:confirm). It announces doublecheck.confirmed or doublecheck.cancelled on the bus.

License

Apache-2.0

Metadata

Release files for ovos-skill-doublecheck 1.0.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 ovos-skill-doublecheck 1.0.0
File Size Uploaded Provenance Actions
ovos_skill_doublecheck-1.0.0.tar.gz 97.5 kB Without provenance Details for ovos_skill_doublecheck-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ovos-skill-doublecheck 1.0.0
File Interpreter ABI Platform Actions
ovos_skill_doublecheck-1.0.0-py3-none-any.whl Python 3 none any Details for ovos_skill_doublecheck-1.0.0-py3-none-any.whl

Total release size: 119.2 kB

Release files / ovos_skill_doublecheck-1.0.0.tar.gz

Download URL ovos_skill_doublecheck-1.0.0.tar.gz
Size 97.5 kB
Tags Source
SHA-256 checksum
How to use checksums
2a9d8815eff453392eabc6530364e12e8424aecb6080567e428625007ddd858c
BLAKE2b-256 checksum
How to use checksums
bae3c1a9e66e8d6327dcfaecef5b4138acc4049690423e59d12bd766791063a1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / ovos_skill_doublecheck-1.0.0-py3-none-any.whl

Download URL ovos_skill_doublecheck-1.0.0-py3-none-any.whl
Size 21.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f2b2de3130826edc89d229af7653ad32bac45879bcafc384091c8a4debb920ba
BLAKE2b-256 checksum
How to use checksums
355bf159cac4f7fae286b5271efbfb537408b68e8b7bf42d6607b73f5813b068
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Security for ovos-skill-doublecheck 1.0.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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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

1.0.0 This release

2 release files No 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