Safe Kill — AI skill for Claude Code
Safe process termination for AI agents with ancestry-based access control.
How to install Safe Kill
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open owayo/safe-kill and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Safe Kill does
Safe process termination for AI agents with ancestry-based access control.
Alternatives in AI
- Gem Team — Turn AI coding into an engineering process 210 ★
- Svelte Markdown — 📝 Markdown and HTML renderer for Svelte 5 — built for streaming AI agent output from Claude Code, ChatGPT, an 131 ★
- SwiftAgent — A type-safe, declarative AI agent framework for Swift 100 ★
README
safe-kill
Safe process termination for AI agents with ancestry-based access control
Supported Platforms
`safe-kill` is a CLI tool that prevents AI agents from accidentally killing system processes or unrelated applications. It enforces **ancestry-based access control** — only processes that are descendants of the agent's session can be terminated.
It takes the place of `kill` / `pkill` / `killall` for agents such as Claude Code. Every target is checked against the session's process tree and a denylist of system processes, and its identity is checked again right before the signal is sent.
Features
- Ancestry Verification: Only kill processes spawned by your session
- Suicide Prevention: Cannot kill self or parent processes; the current parent PID is re-resolved from the OS immediately before signaling, failing closed even if the process was re-parented between the policy decision and the kill
- PID 1 Protection: PID 1 (init/launchd, or a custom container entrypoint) is never killable — even via allowlist match or
--portbypass — so containerized age
Related Skills
Ainstain2025 Star
AI agent pipelines, Claude/MCP integrations, LLM evaluation frameworks, prompting systems and AInstAIn platfor
Franken Alignment
Evidence-carrying control system for powerful AI agents, featuring epistemic MVCC, authority graphs, progressi
Local Agent Workbench
A local-first macOS control plane for Claude Code, Codex and local AI with durable tasks, safe worktrees, huma
OmniPilot
Cross-platform LLM computer-use agent — OpenAI, Anthropic, Gemini, NVIDIA NIM and more control your PC behind
Falaq Cockpit OSS
Mission control for Claude Code & Codex — a local dashboard to monitor, multitask, and drive all your AI codin
Conductor OSS
Local-first control surface for AI coding agents, workspaces, worktrees, terminals, diffs, previews, and paire
Related Agents
Vercel AI SDK Expert
Use for Vercel AI SDK v5 implementation work: chat interfaces, tool calling, streaming, agentic loop control,
Engine QA Review Security Governance
After a change you've asked for is built, checks whether it is safe to release — how it could be attacked or m
Access Control
PostHog access control system implementation expert - use when adding access controls to new products, debuggi