nlweb-prompts-customization

Installation
SKILL.md

NLWeb Prompts Customization

Before writing code

Fetch live docs:

  1. Fetch https://github.com/nlweb-ai/NLWeb/blob/main/docs/nlweb-prompts.md for the prompts framework reference.
  2. Fetch https://github.com/nlweb-ai/NLWeb/blob/main/config/prompts.xml for the canonical prompt templates currently shipped — these change between releases.
  3. Fetch https://github.com/nlweb-ai/NLWeb/blob/main/config/site_types.xml for per-type prompt inheritance.
  4. Inspect AskAgent/python/core/prompts.py to see how prompts are loaded and parameterized.
  5. Cross-reference with handlers in methods/ to see which prompt each LLM call site uses.

Conceptual Architecture

Two XML Files Drive Prompt Behavior

File Purpose
prompts.xml Defines <promptString> templates and their <returnStruc> JSON output contracts
site_types.xml Maps Schema.org @type → tool list + per-type prompt overrides, with inheritance
Installs
1
GitHub Stars
33
First Seen
9 days ago
nlweb-prompts-customization — orcaqubits/agentic-commerce-claude-plugins