<< All versions

Skill v1.0.1

Automated scan100/100
forwardnetworks/forward-skills/compare-nqe-results

+3 new

──Details
PublishedNovember 6, 2026 at 01:09 AM
Content Hashsha256:d2ca5a3206feeea8...
Git SHA70a5bbb3df2e
Bump Typepatch
Compare with v1.0.0
──Files
Files (1 file, 2.3 KB)
SKILL.md2.3 KBactive
SKILL.md · 52 lines · 2.3 KB

name: compare-nqe-results description: Shows which rows a saved NQE query gains, loses or changes between two snapshots. Use when asked what changed between two snapshots for one kind of data, or to diff a query before and after. compatibility: Reading the skill needs nothing. To run its analyses against Forward: the fwdctl binary on PATH and FORWARD_URL, FORWARD_USERNAME and FORWARD_PASSWORD in the environment. metadata: version: "1.0.1" cluster: "nqe" summary: "query rows changed" maturity: "3" tools: "snapshots, query"


compare-nqe-results

Intent

Answer "what changed in X between these two snapshots" as exact added, deleted and modified rows, for any data an NQE query can express. verify-change (view impact) counts differences by area; this skill shows the rows.

Inputs

What each input means, and the fields per object and action: fwdctl run compare-nqe-results --help, or reference/inputs.md.

Procedure

  1. Both snapshots must be processed. Otherwise unknown.
  2. Diff the query's results across the snapshots.
  3. Decide:
  • Rows differ: ok, with the total, the counts by type, and the first limit rows (before and after).
  • No differences: the skill runs the query once on the after snapshot. If it returns rows, ok with zero

differences; if it returns nothing, unknown, because an empty result on both sides says nothing about the network.

  • Unknown query id: unknown.
  1. A prediction on either side is stated as a limit.
  2. A list inside a row (next hops, interfaces, tags) has no fixed order in NQE. If a query shows many changed rows that differ only in the order of such a list, order the list inside the query and run again (a field session saw about 15,000 false differences on forwarding entries; not checked against this skill's diff).

Evidence

One nqe item: the query id, both snapshot ids, the total, counts by type, and the rows.

Output

The envelope in schema/skill-result.schema.json.

Next actions

verify-change (view impact), verify-change, validate-nqe-query.

Running this skill

Run fwdctl run compare-nqe-results --help for the inputs and an example, then give them as one JSON object on stdin: fwdctl run compare-nqe-results < input.json. Read status (ok, failed, unknown, error) and the limits; unknown is never a pass.

← v1.0.0All versionsv1.0.2 →