Skip to main content

huxley-skill-search

Web search for Huxley via DuckDuckGo. Free, no API key, in-memory cache, circuit-breaker.

Status: bundled with the Huxley repo as a workspace member. The first first-party skill to adopt T1.14's config_schema convention — a useful reference for skill authors.

What it does

  • search_the_web — "search for..." / "look up..." / "what is..." — runs a DuckDuckGo query via the ddgs package and returns the top hits as structured JSON for the LLM to narrate.

In-memory TTL cache for repeated identical queries within a session. Consecutive-failure circuit breaker: opens for ~60s on N back-to-back failures so a DDG outage doesn't make every query hang for 4s.

Configure

skills:
  search:
    safesearch: "moderate" # off | moderate | strict
    sounds_path: "sounds"
    start_sound: search_start # opt-in chime

This skill is the canonical example of config_schema declared:

config_schema = {
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "type": "object",
    "properties": {
        "safesearch": {
            "type": "string",
            "enum": ["off", "moderate", "strict"],
            "default": "moderate",
            "title": "Safe search",
            "x-huxley:help": "How aggressively to filter explicit results...",
        }
    },
}

v2's PWA Skills panel will render that into a single dropdown with help text. The other config fields (start_sound, sounds_path) are persona-author / framework-shared plumbing and stay un-schemaed.

Requirements

  • Network access to duckduckgo.com.
  • No API key.

Development

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

License

MIT — see LICENSE.

Metadata

Release files for huxley-skill-search 0.1.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 huxley-skill-search 0.1.0
File Size Uploaded Provenance Actions
huxley_skill_search-0.1.0.tar.gz 17.0 kB Without provenance Details for huxley_skill_search-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for huxley-skill-search 0.1.0
File Interpreter ABI Platform Actions
huxley_skill_search-0.1.0-py3-none-any.whl Python 3 none any Details for huxley_skill_search-0.1.0-py3-none-any.whl

Total release size: 31.1 kB

Release files / huxley_skill_search-0.1.0.tar.gz

Download URL huxley_skill_search-0.1.0.tar.gz
Size 17.0 kB
Tags Source
SHA-256 checksum
How to use checksums
b4d39545f3c6e3af9f6f27979a96ba1854db4a8114da171c92e6fcec6937cf11
BLAKE2b-256 checksum
How to use checksums
8242a40179ec7adbfa5816a8907f519bd60478871e8ce6810242b1ae3a5115ef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.5

Release files / huxley_skill_search-0.1.0-py3-none-any.whl

Download URL huxley_skill_search-0.1.0-py3-none-any.whl
Size 14.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a0141367c338b5bb211756787ef916a0047dddcb7da33beb5b21e66d80ba0b74
BLAKE2b-256 checksum
How to use checksums
83b55f174def9bb06ea606f5f7c7de5021c40aa0481d3bc76298064b16561960
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.5

Security for huxley-skill-search 0.1.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

0.1.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