nlweb-schema-org-grounding

Installation
SKILL.md

NLWeb Schema.org Grounding

Config layout changed upstream. NLWeb replaced the single site_types.xml with two files in config/: sites.xml (site name → itemType list + description) and tools.xml (per-site / per-type tool definitions, prompts and examples, scoped by <Site id="…"> / <Item> blocks). Older guidance — including any site_type / extends inheritance syntax — describes the retired file. Fetch config/sites.xml and config/tools.xml from the live repo before editing anything.

Before writing code

Fetch live references:

  1. Fetch https://schema.org/ for the canonical Schema.org vocabulary.
  2. Fetch https://github.com/nlweb-ai/NLWeb/blob/main/config/sites.xml in the live repo for the exact list of supported Schema.org types and the tool inheritance tree per type.
  3. Fetch https://github.com/nlweb-ai/NLWeb/blob/main/docs/nlweb-prompts.md for how per-type prompts and <returnStruc> shapes work.
  4. Web-search schema.org JSON-LD validator — Google's Rich Results Test is a quick way to validate before ingest.
  5. Check AskAgent/python/methods/recipe_substitution.py, accompaniment.py, compare_items.py for examples of how type-specific tools consume the schema_object.

Conceptual Architecture

Installs
9
GitHub Stars
39
First Seen
May 21, 2026