<< All versions

Skill v1.0.1

Automated scan100/100
forwardnetworks/forward-skills/find-nqe-query

~1 modified

──Details
PublishedNovember 5, 2026 at 09:17 AM
Content Hashsha256:e661c244731dc6f7...
Git SHAc2e25fe8addf
Bump Typepatch
Compare with v1.0.0
──Files
Files (1 file, 2.1 KB)
SKILL.md2.1 KBactive
SKILL.md · 52 lines · 2.1 KB

name: find-nqe-query description: Searches the saved NQE query library for queries relevant to a question and returns ids, paths and intent. Use before writing a query from scratch, or to get a query id for a check. 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: "search saved queries" maturity: "3" tools: "query"


find-nqe-query

Intent

Reuse before writing. Forward ships and organizations save NQE queries; a saved query is already reviewed and gives an id that check-network-compliance and compare-nqe-results accept.

Inputs

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

Procedure

  1. List the committed library.
  2. Rank each query by how many of the question's words appear in its path and stated intent.
  3. Decide:
  • Matches: ok, confidence inferred (a word match, not a read of the query's source), best first.
  • No match: unknown. It does not mean no such query exists; the wording may differ. Fall back to

author-nqe-query.

With query_id or path the skill instead reads that one saved query of the organization's library and returns its source in a nqe evidence item (ok, deterministic); a query that is not there is unknown. The built-in library (FQ_ ids) is searched by question but its source is not read.

Evidence

One nqe item listing the matches: id, path, intent, repository, words matched.

Output

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

Next actions

validate-nqe-query to run one, check-network-compliance to use one as a policy, compare-nqe-results to diff one.

Running this skill

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

← v1.0.0All versionsv1.0.2 →