nlweb-schema-org-grounding
Installation
SKILL.md
NLWeb Schema.org Grounding
Config layout changed upstream. NLWeb replaced the single
site_types.xmlwith two files inconfig/:sites.xml(site name →itemTypelist + description) andtools.xml(per-site / per-type tool definitions, prompts and examples, scoped by<Site id="…">/<Item>blocks). Older guidance — including anysite_type/extendsinheritance syntax — describes the retired file. Fetchconfig/sites.xmlandconfig/tools.xmlfrom the live repo before editing anything.
Before writing code
Fetch live references:
- Fetch https://schema.org/ for the canonical Schema.org vocabulary.
- 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.
- Fetch https://github.com/nlweb-ai/NLWeb/blob/main/docs/nlweb-prompts.md for how per-type prompts and
<returnStruc>shapes work. - Web-search
schema.org JSON-LD validator— Google's Rich Results Test is a quick way to validate before ingest. - Check
AskAgent/python/methods/recipe_substitution.py,accompaniment.py,compare_items.pyfor examples of how type-specific tools consume theschema_object.