General skillProductivity and office

bg-janitor-skill

Cleans up orphaned AI-tool processes and handles background agents that respawn.

Stars
0
Forks
0
License
MIT
Updated
Updated Jun 28, 2026

Checking live repository facts…

Project overview

bg-janitor targets macOS leftovers after AI tools close: orphaned children, sandbox-protected processes, port-holding gateways, and KeepAlive LaunchAgents. Its playbook distinguishes unsandboxed signal delivery, safe multi-PID handling in zsh, and launchctl unload -w for agents that immediately return after kill. Because the commands can terminate processes or disable startup services, confirm the target before applying them.

Repository facts

Primary language
Shell
License
MIT
Repository updated
Jun 28, 2026
Default branch
main

Resource types

General skill

Use cases

Productivity and office

Platforms

Claude Code, Codex, and more

Runtime

Command lineDesktop

Capabilities

Tool use

Related projects

Browse more similar projects