Exit
Executes shell commands to terminate a process or script, providing immediate control and troubleshooting capabilities.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add exit npx -- -y @trustedskills/exit
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"exit": {
"command": "npx",
"args": [
"-y",
"@trustedskills/exit"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
The exit skill allows an AI agent to gracefully terminate its current task or conversation. It provides a clean and controlled way for the agent to stop processing, preventing unexpected behavior or resource consumption. This is particularly useful when the agent has reached a natural conclusion or receives a specific instruction to cease operation.
When to use it
- When a user explicitly requests the AI agent to stop its current task (e.g., "Stop," "Cancel").
- After the agent completes a defined workflow, such as generating a report or answering a series of questions.
- If an error occurs during processing that prevents the agent from continuing.
- To reset the agent's context and prepare it for a new interaction.
Key capabilities
- Graceful termination of ongoing tasks.
- Clears current context.
- Provides a clean exit state.
Example prompts
- "Please exit."
- "Stop processing, thank you."
- "Cancel the operation."
Tips & gotchas
The exit skill is foundational for reliable agent behavior; ensure it's available and properly integrated into your agent’s workflow to handle termination requests effectively.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.