Skip to main content

System utilities for Huxley — current time, volume control. Stateless; the simplest first-party skill.

Project description

huxley-skill-system

System utilities for Huxley. Current time + volume control. The simplest first-party skill — a clean template for a stateless utility.

Status: bundled with the Huxley repo as a workspace member.

What it does

  • get_time — "what time is it" — formats the current time + date in the configured timezone, in the persona's UI language.
  • set_volume — "louder" / "lower the volume" / "set volume to 70" — emits a PlaySound side effect with a target-volume hint. The framework's audio plane applies it.

Both tools are stateless; nothing persists.

Configure

skills:
  system:
    timezone: "America/Bogota" # IANA TZ Database name

This skill declares the simplest possible config_schema — exactly one user-tunable field. v2's PWA renders it as a plain text input with the IANA-zone help text:

config_schema = {
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "type": "object",
    "properties": {
        "timezone": {
            "type": "string",
            "title": "Time zone",
            "default": "America/Bogota",
            "x-huxley:help": "IANA Time Zone Database name (e.g. America/Bogota, Europe/Madrid)...",
        }
    },
}

If you're writing your first Huxley skill and want a minimum-viable template, huxley-skill-system is the smallest example to copy.

Development

uv run --package huxley-skill-system pytest server/skills/system/tests
uv run ruff check server/skills/system
uv run mypy server/skills/system/src

License

MIT — see LICENSE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

huxley_skill_system-0.1.0.tar.gz (6.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

huxley_skill_system-0.1.0-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

Details for the file huxley_skill_system-0.1.0.tar.gz.

File metadata

  • Download URL: huxley_skill_system-0.1.0.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.5

File hashes

Hashes for huxley_skill_system-0.1.0.tar.gz
Algorithm Hash digest
SHA256 063afc78e7b9a1f46b6facc099f30a17f24166f36c3866ad7d3722b40712403b
MD5 aac4db770fe7b99757fe7e79935b633b
BLAKE2b-256 6e65206803f0dd5bdbf4e16a2e1e366bfab9b467ed90471602498876ec094e07

See more details on using hashes here.

File details

Details for the file huxley_skill_system-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for huxley_skill_system-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 14da784b1a7198706c26af34d166c1efbca25473a6924a4359d82bebaf42a53f
MD5 23dcc3eabe4006fc804c890beb86228b
BLAKE2b-256 94fca34fe2d2f96ca1679740e96e77d5de14976609a311d5825f80f6dcc03b98

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page