Installs into .claude/skills of the current project.
Are you the author of Close Cmux Tab?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/pawel-kica-close-cmux-tab)
---
name: close-cmux-tab
description: Close the cmux tab this session runs in.
---
Close the tab this session lives in. The session dies with it, so the close is the turn's final act — anything printed after it never reaches the user.
If `$CMUX_SURFACE_ID` is empty, report "not inside cmux" and stop. Otherwise run exactly:
```bash
cmux close-surface --surface "$CMUX_SURFACE_ID"
```