nlweb-ask-endpoint skillA
nlweb-ask-endpoint is agent-read markdown (skill) from orcaqubits/agentic-commerce-skills-plugins: Implement and consume the NLWeb /ask REST endpoint — request shape (GET/POST, query-string and v0.55 structured body), SSE streaming response, modes (list/summarize/generate), in-stream "message_type" headers, error envelopes, and client-side parsing. Use when building an NLWeb server route, calling /ask from a custom agent, or debugging /ask responses..
Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.
What the file says
# NLWeb /ask Endpoint ## Before writing code **Fetch live spec**: 1. Fetch https://github.com/nlweb-ai/NLWeb/blob/main/docs/nlweb-rest-api.md for the canonical `/ask` contract — request params, response shape, and streaming format. 2. Fetch https://github.com/nlweb-ai/NLWeb/blob/main/docs/life-of-a-chat-query.md to trace a request end-to-end. 3. Fetch https://github.com/nlweb-ai/NLWeb/blob/main/docs/nlweb-headers.md for the **in-stream "headers"** mechanism (license, data-retention, rate-limit messages are NOT HTTP headers). 4. Web-search the latest release notes for the **v0.55+ structured POST body** shape (`query.text`, `prefer.mode`, `prefer.streaming`, `meta.version`) — this is newer than the GET-only legacy contract. 5. Check `webserver/routes/api.py` in the live repo to confirm exact param names. ## Conceptual Architecture ### Routes | Route | Method | Purpose | |-------|--------|---------| | `/ask` | GET, POST | Main NL query | | `/who` | GET | Site relevance for a query (federated) | | `/sites` | GET | List configured sites | | `/config` | GET | Public config (safe subset) | ### Request Parameters Verify exact names against the live `routes/api.py`. Stable subset: …
Read the whole file at its exact version.
How to install
mdr add orcaqubits/agentic-commerce-skills-plugins/nlweb-ask-endpoint@git:20260513.4751044mdr add orcaqubits/agentic-commerce-skills-plugins/nlweb-ask-endpoint@sha256:d33113d15eda7163Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.
[](https://markdownregistry.com/a/art_gamh3fyrb6rewojq)
1 badge views in 30 days
Versions
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (7482 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
orcaqubits/agentic-commerce-skills-plugins · 39 stars · license MIT · pushed 2026-09-14 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_gamh3fyrb6rewojq GET https://markdownregistry.com/api/v1/resolve?ref=orcaqubits/agentic-commerce-skills-plugins/nlweb-ask-endpoint GET https://markdownregistry.com/api/v1/blob/d33113d15eda716332d3dc56a72d94e4d6bb269d92dc2fdcce488bf132ceccd0
Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.