forwardnetworks/forward-skills/edit-synthetic-query

Claude Code and agent skill by forwardnetworks/forward-skills

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Attaches a saved NQE query to a synthetic node so Forward generates its connections from the rows, or detaches it. Dry run unless apply is true. Use when driving a node from a query.

Install

npx vskill@latest install forwardnetworks/forward-skills/edit-synthetic-query

SKILL.md

The same SKILL.md was published earlier as forwardnetworks/fwdctl/edit-synthetic-query.

edit-synthetic-query

Intent

Forward can build a synthetic node's connections from a saved NQE query instead of a hand-written list: the node holds a query id, and Forward runs the query's last commit on the latest processed snapshot, one row per connection, merged with any manual connections. This skill points a node at such a query, swaps it, or removes it. It never writes the connections themselves, and it creates no node (the node must exist). This is a preview feature of Forward (not in its published API spec).

Inputs

Every input, what it means and what to read before applying: fwdctl run edit-synthetic-query --help (from reference/inputs.md). Read before applying: Backdate, Limits to state.

A backdate invalidates that snapshot and every later one (UNPROCESSED, not reprocessed for you) and cannot be undone: get approval of the backdate separately from the change.

Dry run

Without apply: true nothing is changed. The skill reads the node, then asks Forward to compute the query as if it were attached (this changes nothing) and returns mode: dry_run with one change (before and after query id) and the preview: the connection count, the first rows and any error. Show it to the person before applying.

Procedure

  1. Read the node. A missing node is unknown (nothing changed).
  2. With no query_id and no detach: list the saved queries whose rows fit the kind, and stop (ok, nothing changed).
  3. If the node already uses that query, say so (nothing to change).
  4. Preview the query with Forward's own compute. An error (COLUMN_DATATYPE_MISMATCH, MISSING_REQUIRED_COLUMNS, QUERY_RUN_ERROR, QUERY_MISSING, NO_LATEST_SNAPSHOT, INVALID_IDENTIFIER) is failed and the query is not attached.

Offline, fwdctl nqe lint --synthetic <kind> finds the row problems first (and fwdctl nqe template <kind> gives the starter query).

  1. Dry run: return the plan. With apply: true: set the query (or detach), then read the node back. The new query id must be there and its result error-free; anything else is failed, never ok.

Undo

The change's undo says what to run: this skill again with the previous query_id (or detach: true if there was none). A zero-row result is not an error and attaches fine, but it means the node has no dynamic connections: check the query before relying on it.

Evidence

One topology item with kind, node, query_before, mode, query_requested, the preview (or, listing, compatible_queries) and, once applied, result_after.

Output

The envelope in schema/skill-result.schema.json, with mode and changes.

Next actions

inspect-topology (kind external) to see the node with its query and generated connections; investigate-reachability to test a path through it.

Running this skill

Run fwdctl run edit-synthetic-query --help for the inputs and an example, then give them as one JSON object on stdin: fwdctl run edit-synthetic-query < input.json. It is a dry run unless the input has "apply": true; add that only after the dry run was accepted. Read status (ok, failed, unknown, error), mode and the limits; unknown is never a pass.

Examples

bash
echo '{"network_id": "<id>", "kind": "l3vpn", "name": "dir", "query_id": "Q_..."}' | fwdctl run edit-synthetic-query

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/forwardnetworks/forward-skills/edit-synthetic-query/badge)](https://verified-skill.com/skills/forwardnetworks/forward-skills/edit-synthetic-query)

Something wrong with this skill or its page? Tell us.