/panic
Emergency kill switch — halts all agents via lockfile gate. Triggers: panic, stop everything, kill switch, halt agents, agents looping.
$ npx -y skills add softspark/ai-toolkit --skill panic --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/panic
Context preview
The summary Claude sees to decide when to auto-load this skill.
Emergency kill switch — halts all agents via lockfile gate. Triggers: panic, stop everything, kill switch, halt agents, agents looping.
SKILL.md
panic.SKILL.mdname: panic
description: "Emergency kill switch — halts all agents via lockfile gate. Triggers: panic, stop everything, kill switch, halt agents, agents looping."
effort: low
disable-model-invocation: true
agent: system-governor
context: fork
allowed-tools: Bash
Panic Command (The Kill Switch)
Stops the system dead in its tracks.
Usage
/panic [reason]
# Example: /panic "Agents are looping infinitely"
Protocol
1. **Create Lockfile**: `touch .claude/HALT` 2. **Notify User**: "System Halted. Delete .claude/HALT to resume."
Resume
To resume operations:
rm .claude/HALT
Rules
- **MUST** create the lockfile at `.claude/HALT` — agents check this path to gate execution
- **NEVER** bypass the lockfile silently once it exists
- **CRITICAL**: emit a clear, single-line notification so the user knows the system is halted
- **MANDATORY**: include the provided reason (if any) in the notification
Gotchas
- The lockfile is **project-local** (`./.claude/HALT`). Agents running in a different working directory, or globally-invoked tools, will not see it and will keep running. `/panic` is not a system-wide kill switch.
- The lockfile check relies on the `PreToolUse` hook from `ai-toolkit`; if the user disabled hooks in `settings.json` or ejected without keeping hooks, `touch .claude/HALT` does nothing. Verify the hook is present after invocation.
- Removing `.claude/HALT` mid-task resumes agents that were blocked, but they resume with potentially **stale context** (conversation moved on, tool results orphaned). Prefer restarting the session cleanly if possible.
When NOT to Use
- For cancelling a single agent — use the task's own stop mechanism
- For a production incident — use `/workflow incident-response`
- As a rollback tool — use `/rollback`
- To pause for a short clarification — just ask the question, do not halt the system
Read more
name: panic description: "Emergency kill switch — halts all agents via lockfile gate. Triggers: panic, stop everything, kill switch, halt agents, agents looping." effort: low disable-model-invocation: true agent: system-governor context: fork allowed-tools: Bash
Panic Command (The Kill Switch)
Stops the system dead in its tracks.
Usage
/panic [reason] # Example: /panic "Agents are looping infinitely"
Protocol
1. **Create Lockfile**: `touch .claude/HALT` 2. **Notify User**: "System Halted. Delete .claude/HALT to resume."
Resume
To resume operations:
rm .claude/HALT
Rules
- **MUST** create the lockfile at `.claude/HALT` — agents check this path to gate execution
- **NEVER** bypass the lockfile silently once it exists
- **CRITICAL**: emit a clear, single-line notification so the user knows the system is halted
- **MANDATORY**: include the provided reason (if any) in the notification
Gotchas
- The lockfile is **project-local** (`./.claude/HALT`). Agents running in a different working directory, or globally-invoked tools, will not see it and will keep running. `/panic` is not a system-wide kill switch.
- The lockfile check relies on the `PreToolUse` hook from `ai-toolkit`; if the user disabled hooks in `settings.json` or ejected without keeping hooks, `touch .claude/HALT` does nothing. Verify the hook is present after invocation.
- Removing `.claude/HALT` mid-task resumes agents that were blocked, but they resume with potentially **stale context** (conversation moved on, tool results orphaned). Prefer restarting the session cleanly if possible.
When NOT to Use
- For cancelling a single agent — use the task's own stop mechanism
- For a production incident — use `/workflow incident-response`
- As a rollback tool — use `/rollback`
- To pause for a short clarification — just ask the question, do not halt the system
Professional-grade AI coding toolkit with multi-platform support. Machine-enforced safety, 109 skills, 44 agents, expanded lifecycle hooks, persona presets, experimental opt-in plugin packs, and benchmark tooling — works with Claude Code, Claude Chat/Cowork,
Repo: softspark/ai-toolkit
Other skills on ai-toolkit.
- /ai-toolkit-rules
Mandatory engineering, security, testing, git, performance, quality, and response rules. Claude MUST load this skill for every technical, coding, debugging, review, architecture, DevOps, data, or file-editing task in Chat or Cowork.
Open skill - /mem-search
Search past coding sessions using natural language. Finds relevant observations, decisions, and context from previous work.
Open skill - /a11y-validate
Accessibility validator: WCAG 2.1 AA, EN 301 549, EAA. Triggers: a11y, accessibility, WCAG, EAA, ARIA, contrast, keyboard, screen reader.
Open skill - /agent-creator
Creates new specialized agents with frontmatter, tools, delegation. Triggers: new agent, create agent, agent scaffold, specialized agent.
Open skill - /analyze
Analyzes code quality, complexity, patterns across codebase. Triggers: quality report, hotspot scan, code analysis, architecture signal.
Open skill - /api-patterns
REST/GraphQL API design: naming, versioning, pagination, idempotency, OpenAPI. Triggers: API design, REST, GraphQL, OpenAPI, Swagger, idempotency, rate limit.
Open skill

