forwardnetworks/forward-skills/edit-data-file
Claude Code and agent skill by forwardnetworks/forward-skills
- community
Checking that the SKILL.md file is still in the repository.
Uploads a CSV/JSON/XML/YAML/TEXT dataset for NQE to join, attaches or detaches it on a network, or deletes it. Dry run unless apply is true. Use when a query needs data Forward lacks.
Install
npx vskill@latest install forwardnetworks/forward-skills/edit-data-fileSKILL.md
The same SKILL.md was published earlier as forwardnetworks/forward-skills/edit-data-file.
edit-data-file
Intent
A data file is a dataset you upload (site ownership, a custom asset list, anything NQE does not collect on its own) so a query can join it. Once a network carries it, a query reads it as network.extensions.<nqe_name>, a record {status: OK | MISSING | INVALID_DATA, value}. This skill uploads a file, and attaches or detaches an existing one on a network. inspect-collection (view config) lists what exists and previews an existing file's inferred schema; this skill only writes.
Actions
action | Inputs | Undo | |
|---|---|---|---|
upload | name, file_type (CSV, JSON, XML, YAML or TEXT), content or file_path, optional nqe_name, description, headers (CSV only) | delete the same name (clean while no network has attached it) | |
replace | name (existing), content or file_path (local file, up to 50 MB), optional headers (CSV) | replace again with the old content (Forward keeps no copy) | |
attach | name, network_id | detach the same file and network | |
detach | name, network_id | attach the same file and network | |
delete | name, confirm (must equal name) | none: Forward keeps the content nowhere else; read or download it first |
A file is organization-wide: upload is visible to every network once it exists, independent of any attachment. attach/detach change only one network. Forward lower-cases the uploaded name; an empty nqe_name defaults to the name without its extension. XLSX is a binary format and is not accepted here (upload it through Forward's UI); the STIG policy file has a fixed name and its own template and is refused by both upload and attach/detach.
What is refused, with the reason
A name that already exists (refused, not overwritten: attach the existing one instead); headers on a non-CSV type; network_id given with upload (it is organization-wide); nqe_name/description/file_type/headers/content given with attach or detach; the STIG policy file by either action; attach on a file already attached, or detach on one not attached (reported ok, nothing to change, not an error).
Procedure
- Read the organization's data files (
inspect-collectionhas already shown them; this skill re-reads to check for a name clash or confirm
the file exists before attach/detach).
- Dry run: show the plan, the before and after, and the undo (or say there is none, for
delete). - Apply: send the one call, then read back (the organization's file list for
upload, the network's attached names forattach/detach) and
report failed if the state does not match what was asked.
Effect on snapshots
Attaching or detaching takes effect on the network's next snapshot onward: a query reads status: MISSING until one is collected after the change. Uploading a file does not itself start a collection.
Evidence
One state item (upload) or two (attach/detach: before and read-back).
Next actions
inspect-collection to see the file (its nqe_name, who uploaded it and when) and, once attached and a snapshot runs, author-nqe-query to read every row with foreach r in network.extensions.<nqe_name>.value select r.
Running this skill
Run fwdctl run edit-data-file --help for the inputs and an example, then give them as one JSON object on stdin: fwdctl run edit-data-file < 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
Large files and nightly replacement
content carries up to 500 KB inline; file_path reads a local file up to Forward's 50 MB cap, for upload and replace. replace overwrites an existing file's content (a refresh job's normal operation): Forward assesses first whether the new content parses and keeps queries that read the file working, the plan shows old and new line counts, identical content is reported as nothing to change, and an incompatible file is refused. upload of a name that exists is refused and points at replace. Unattended: FORWARD_URL/FORWARD_USERNAME/FORWARD_PASSWORD log in without a prompt.
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
- SKILL.md in the repositoryCheckingskills/edit-data-file/SKILL.md
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
[](https://verified-skill.com/skills/forwardnetworks/forward-skills/edit-data-file)