smithery/neversight

bgproc

Manage background processes like dev servers. Use when you need to start, stop, or check status of long-running processes.

Installation

$ npx skills add smithery/neversight --skill bgproc

Also in this package

Other skills from smithery/neversight · top by installs.

npx skills add smithery/neversight

Browse all from smithery/neversight

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,554 B
  • docs SUMMARY.md 136 B

History

  1. First recorded snapshot · 0 installs

SKILL.md

bgproc

A CLI for managing background processes. All commands output JSON to stdout.

When to Use

Use bgproc when you need to:

  • Start a dev server or other long-running process in the background
  • Check if a process is running and what port it's listening on
  • View logs from a background process
  • Stop a background process

Commands

# Start a process
bgproc start -n <name> -- <command...>
bgproc start -n devserver -- npm run dev
bgproc start -n devserver -t 300 -- npm run dev  # auto-kill after 5 min

# Check status (returns JSON with pid, running state, port)
bgproc status <name>

# View logs
bgproc logs <name>
bgproc logs <name> --tail 50
bgproc logs <name> --errors  # stderr only

# List all processes
bgproc list
bgproc list --cwd  # filter to current directory

# Stop a process
bgproc stop <name>
bgproc stop <name> --force  # SIGKILL

# Clean up dead processes
bgproc clean <name>
bgproc clean --all

Workflow

  1. Start a process: bgproc start -n devserver -- npm run dev
  2. Check status and get port: bgproc status devserver
  3. If something's wrong, check logs: bgproc logs devserver
  4. When done: bgproc stop devserver

Notes

  • All commands output JSON to stdout, errors to stderr
  • Port detection works via lsof (macOS/Linux only)
  • Starting a process with the same name as a dead one auto-cleans it
  • Logs are capped at 1MB per process