forwardnetworks/fwdctl/edit-jobs

Claude Code and agent skill by forwardnetworks/fwdctl

Trust tier 3
  • community
Source check pending

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

Cancels active backend jobs running past a threshold instead of restarting the worker running them. Dry run unless apply is true. Use when a job looks stuck.

Install

npx vskill@latest install forwardnetworks/fwdctl/edit-jobs

SKILL.md

The same SKILL.md was published earlier as forwardnetworks/forward-skills/edit-jobs.

edit-jobs

Intent

A job that has run past Forward's own NQE_JOB_TIMEOUT_MINUTES (default 20) is doomed by Forward's own definition: its orchestration layer has already given up on it even if the worker thread computing it has not stopped, and nothing upstream will clear it on its own. The alternative to this skill is restarting the worker pod running the job, which kills every OTHER job that worker happens to be running too. This skill finds the specific job and cancels it (DELETE /api/jobs/{cancelLink}, the same action Forward's own GUI and Forward support use), leaving the rest of the worker's work alone.

It is meant to run unattended on a schedule as the first response to a wedged job, before anyone reaches for a pod restart.

Inputs

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

Dry run

Lists every job past the threshold as a planned cancel_job change (job type, network, snapshot if any, how long it has run, its cancel_link). Nothing is sent to Forward. Always run the dry run first when driving this by hand; a scheduled/unattended caller may go straight to apply: true -- that is exactly the case this skill exists for.

Apply

Cancels each matched job (Jobs.Cancel in the SDK terms). Not reversible: canceling ends the job; nothing restores it, and rerunning the same NQE query or operation is a new job, not an undo. A job already finished or already canceled by the time this runs is reported as a failed cancellation for that one row, not a crash of the whole run -- status is failed only if at least one matched job could not be canceled; jobs that did cancel are still reported as canceled.

Refusals

network_id that is not a number; older_than_minutes negative.

Procedure

  1. GET /api/jobs/active. Filter to network_id (if given) and jobs whose longest_running_time_seconds >= older_than_minutes*60, or, for a job at running: 0 (queued the whole time), whose duration_seconds is at least that.
  2. Nothing matched: ok, "nothing is stuck".
  3. More than limit matched: cancel (or plan) only the first limit, and say so in the omission.
  4. Dry run: return the plan. apply: true: DELETE /api/jobs/{cancelLink} for each, per-job success or failure.

Evidence

One state item: the threshold, how many matched, and the canceled/failed lists with what each row was.

Next actions

inspect-jobs to confirm nothing past the threshold remains, or to see what is still running if some cancellations failed.

Running this skill

Run fwdctl run edit-jobs --help for the inputs and an example, then give them as one JSON object on stdin: fwdctl run edit-jobs < 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 '{}' | fwdctl run edit-jobs
echo '{"apply": true}' | fwdctl run edit-jobs
echo '{"network_id": "4610", "older_than_minutes": 20, "apply": true}' | fwdctl run edit-jobs

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

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/fwdctl/edit-jobs/badge)](https://verified-skill.com/skills/forwardnetworks/fwdctl/edit-jobs)

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