narrative-io/narrative-skills-marketplace · plugins/narrative-common/skills/write-nql/SKILL.md

write-nql skillA

write-nql is agent-read markdown (skill) from narrative-io/narrative-skills-marketplace: Write, validate, and (optionally) execute an NQL query against a Narrative dataset. Drafts the query from the user's question, runs `narrative_nql_validate` until it compiles, explains the query in plain English, and only runs it on explicit approval (or when invoked with `--run`). Use when: "write an NQL query for X", "query this dataset", "validate this NQL", "run NQL against dataset <id>", "how many rows match Y", "show me the top N records from <dataset>". (narrative-common).

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.

How to install

Latest version
mdr add narrative-io/narrative-skills-marketplace/write-nql@v0.5.9
Exact content
mdr add narrative-io/narrative-skills-marketplace/write-nql@sha256:143ec08ef1347993

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

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_hy6ijzjtegdhnsqf.svg)](https://markdownregistry.com/a/art_hy6ijzjtegdhnsqf)

0 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
v0.5.9 latest2026-08-15 0c90b52 38,076 BA view · diff
v0.5.62026-07-13 436d949 35,679 BA view · diff
v0.5.52026-07-11 13be26e 35,201 BA view · diff
v0.5.42026-05-29 40de34e 32,581 BA view · diff
v0.5.32026-05-29 272c542 32,527 BA view

Audit of the latest version

A  17 of 17 checks passed. Deterministic, no model, same answer every run.

Source

GitHub

narrative-io/narrative-skills-marketplace · 8 stars · license MIT · pushed 2026-09-04 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_hy6ijzjtegdhnsqf
GET https://markdownregistry.com/api/v1/resolve?ref=narrative-io/narrative-skills-marketplace/write-nql
GET https://markdownregistry.com/api/v1/blob/143ec08ef13479933212cb251316f1571355409c63b0cba4b456bc5ee543ff8e