Skip to content
Back to skills

Code Execution Tool Terminal Session Hung

ASecurity

Use before calling code_execution_tool in a context that previously failed with 'terminal_session_hung'. A previous command is still running or hung in this terminal session. New commands cannot execute until the session is reset.

  • 2 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 19, 2026
ai-agents

Works with

  • terminal

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 19, 2026

npx -y skills add Stranglehold/Exocortex --skill code-execution-tool-terminal-session-hung --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Code Execution Tool Terminal Session Hung?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Code Execution Tool Terminal Session Hung
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/stranglehold-code-execution-tool-terminal-session-hung/badge)](https://www.skillsdirectory.com/skills/stranglehold-code-execution-tool-terminal-session-hung)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: code-execution-tool-terminal-session-hung
description: "Use before calling code_execution_tool in a context that previously failed with 'terminal_session_hung'. A previous command is still running or hung in this terminal session. New commands cannot execute until the session is reset."
triggers: ["code_execution_tool", "code_execution_tool terminal_session_hung", "terminal session hung"]
success_criterion: "Agent resets the terminal session (or opens a new session ID) instead of re-checking or replanning the same command"
confidence: probable
---

# Failure lesson: code_execution_tool — terminal_session_hung

Captured automatically from a classified tool failure (Cycle-to-Skill Pipeline, Path A). Check this before repeating the operation.

## What happens
A previous command is still running or hung in this terminal session. New commands cannot execute until the session is reset.

Evidence (matched pattern): `Terminal session \d+ might be still running`

## Avoid
- Do NOT keep checking the session — it will not resolve itself
- Do NOT replan the same command — execute the reset first

## Do instead
- Reset the terminal session (kill the hung process)
- Open a new terminal session with a different session ID

Files in this skill

  • .memory.md4.2 KB
  • SKILL.md1.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.