From arc
Kills orphaned Claude Code subagent processes detached from terminals (TTY ??). Run after Task tool usage or on prune/cleanup requests to free memory/CPU safely.
npx claudepluginhub howells/arc --plugin arcThis skill uses the workspace's default tool permissions.
<arc_runtime>
Provides Ktor server patterns for routing DSL, plugins (auth, CORS, serialization), Koin DI, WebSockets, services, and testApplication testing.
Conducts multi-source web research with firecrawl and exa MCPs: searches, scrapes pages, synthesizes cited reports. For deep dives, competitive analysis, tech evaluations, or due diligence.
Provides demand forecasting, safety stock optimization, replenishment planning, and promotional lift estimation for multi-location retailers managing 300-800 SKUs.
<arc_runtime> Arc-owned files live under the Arc install root for full-runtime installs.
Set ${ARC_ROOT} to that root and use ${ARC_ROOT}/... for Arc bundle files such as
references/, disciplines/, agents/, templates/, scripts/, and rules/.
Project-local files stay relative to the user's repository. </arc_runtime>
Run the cleanup script to kill orphaned Claude agent processes.
${ARC_ROOT}/scripts/cleanup-orphaned-agents.sh
This kills Claude Code processes that have become detached from their terminal (TTY shows "??"). These accumulate when the Task tool spawns subagents that don't cleanly exit after completion.
Safe to run anytime — only kills orphaned processes. Active terminal sessions are preserved.
After running, report the result to the user including how many processes were cleaned up.